|
| 1 | +<?xml version="1.0"?> |
| 2 | +<ruleset name="Drip"> |
| 3 | + <description>The coding standard for Drip.</description> |
| 4 | + |
| 5 | + <file>src/</file> |
| 6 | + <file>tests/</file> |
| 7 | + |
| 8 | + <exclude-pattern>*/Standards/*/Tests/*\.(inc|css|js)</exclude-pattern> |
| 9 | + |
| 10 | + <arg name="basepath" value="."/> |
| 11 | + <arg name="colors" /> |
| 12 | + <arg name="parallel" value="75" /> |
| 13 | + <arg value="np"/> |
| 14 | + |
| 15 | + <rule ref="PSR2"> |
| 16 | + <exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" /> |
| 17 | + </rule> |
| 18 | + |
| 19 | + <rule ref="Generic.PHP.ClosingPHPTag.Found"/> |
| 20 | + <rule ref="Generic.Files.EndFileNoNewline.NotFound"/> |
| 21 | + <rule ref="Generic.WhiteSpace.DisallowSpaceIndent.TabsUsed"/> |
| 22 | + <rule ref="Generic.PHP.DeprecatedFunctions"/> |
| 23 | + <rule ref="Generic.PHP.LowerCaseKeyword"/> |
| 24 | + <rule ref="Generic.Strings.UnnecessaryStringConcat"/> |
| 25 | + <rule ref="Generic.Commenting.Todo"/> |
| 26 | + <rule ref="Generic.ControlStructures.InlineControlStructure"/> |
| 27 | + <rule ref="Generic.Formatting.DisallowMultipleStatements"/> |
| 28 | + <rule ref="Generic.Formatting.SpaceAfterCast"/> |
| 29 | + <rule ref="Generic.NamingConventions.ConstructorName"/> |
| 30 | + <rule ref="Squiz.Arrays.ArrayBracketSpacing" /> |
| 31 | + <rule ref="Squiz.ControlStructures.ControlSignature" /> |
| 32 | + <rule ref="Squiz.ControlStructures.ElseIfDeclaration" /> |
| 33 | + <rule ref="Squiz.Commenting.BlockComment" /> |
| 34 | + <rule ref="Squiz.Commenting.DocCommentAlignment" /> |
| 35 | + <rule ref="Squiz.Commenting.EmptyCatchComment" /> |
| 36 | + <rule ref="Squiz.Commenting.LongConditionClosingComment" /> |
| 37 | + <rule ref="Squiz.Commenting.VariableComment" /> |
| 38 | + <rule ref="Squiz.Formatting.OperatorBracket" /> |
| 39 | + <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing" /> |
| 40 | + <rule ref="Squiz.Scope.MethodScope" /> |
| 41 | + <rule ref="Squiz.WhiteSpace.ControlStructureSpacing" /> |
| 42 | + <rule ref="Squiz.WhiteSpace.OperatorSpacing" /> |
| 43 | + <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace" /> |
| 44 | +</ruleset> |
0 commit comments