|
16 | 16 | <!-- *** PSR2 *** --> |
17 | 17 | <!-- ************** --> |
18 | 18 |
|
19 | | - <!-- Include the whole PSR-2 (so PSR-1) standard --> |
20 | | - <rule ref="PSR2"/> |
| 19 | + <!-- Include the whole PSR-2 (so PSR-1) standard --> |
| 20 | + <rule ref="PSR2"/> |
21 | 21 |
|
22 | | - <!-- Override SuperfluousWhitespace to not ignore blank lines --> |
23 | | - <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"> |
24 | | - <properties> |
25 | | - <property name="ignoreBlankLines" value="false"/> |
26 | | - </properties> |
27 | | - </rule> |
| 22 | + <!-- Override SuperfluousWhitespace to not ignore blank lines --> |
| 23 | + <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"> |
| 24 | + <properties> |
| 25 | + <property name="ignoreBlankLines" value="false"/> |
| 26 | + </properties> |
| 27 | + </rule> |
28 | 28 |
|
29 | | - <!-- Override FunctionDeclaration to check space after type hinting --> |
30 | | - <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint"> |
31 | | - <severity>5</severity> |
32 | | - </rule> |
| 29 | + <!-- Override FunctionDeclaration to check space after type hinting --> |
| 30 | + <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint"> |
| 31 | + <severity>5</severity> |
| 32 | + </rule> |
33 | 33 |
|
34 | 34 | <!-- **************** --> |
35 | 35 | <!-- *** OTHERS *** --> |
36 | 36 | <!-- **************** --> |
37 | 37 |
|
38 | | - <!-- From djoos repo --> |
39 | | - <rule ref="Generic.PHP.DisallowShortOpenTag"/> |
40 | | - <rule ref="Squiz.NamingConventions.ValidVariableName"> |
41 | | - <exclude name="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore"/> |
42 | | - <exclude name="Squiz.NamingConventions.ValidVariableName.ContainsNumbers"/> |
43 | | - </rule> |
44 | | - <rule ref="Generic.Formatting.SpaceAfterCast"/> |
45 | | - <rule ref="Squiz.Arrays.ArrayBracketSpacing"/> |
46 | | - <rule ref="Squiz.PHP.LowercasePHPFunctions"/> |
47 | | - <rule ref="Squiz.Scope.MemberVarScope"/> |
48 | | - <rule ref="PEAR.Commenting.InlineComment"/> |
| 38 | + <!-- From djoos repo --> |
| 39 | + <rule ref="Generic.PHP.DisallowShortOpenTag"/> |
| 40 | + <rule ref="Squiz.NamingConventions.ValidVariableName"> |
| 41 | + <exclude name="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore"/> |
| 42 | + <exclude name="Squiz.NamingConventions.ValidVariableName.ContainsNumbers"/> |
| 43 | + </rule> |
| 44 | + <rule ref="Generic.Formatting.SpaceAfterCast"/> |
| 45 | + <rule ref="Squiz.Arrays.ArrayBracketSpacing"/> |
| 46 | + <rule ref="Squiz.PHP.LowercasePHPFunctions"/> |
| 47 | + <rule ref="Squiz.Scope.MemberVarScope"/> |
| 48 | + <rule ref="PEAR.Commenting.InlineComment"/> |
49 | 49 |
|
50 | | - <!-- From endouble repo --> |
51 | | - <rule ref="Squiz.Strings.ConcatenationSpacing"> |
52 | | - <properties> |
53 | | - <property name="ignoreNewlines" value="true" /> |
54 | | - </properties> |
55 | | - </rule> |
56 | | - <rule ref="SymfonyCustom.Commenting.FunctionComment"> |
57 | | - <exclude name="SymfonyCustom.Commenting.FunctionComment.MissingParamComment"/> |
58 | | - </rule> |
| 50 | + <!-- From endouble repo --> |
| 51 | + <rule ref="Squiz.Strings.ConcatenationSpacing"> |
| 52 | + <properties> |
| 53 | + <property name="ignoreNewlines" value="true" /> |
| 54 | + </properties> |
| 55 | + </rule> |
| 56 | + <rule ref="SymfonyCustom.Commenting.FunctionComment"> |
| 57 | + <exclude name="SymfonyCustom.Commenting.FunctionComment.MissingParamComment"/> |
| 58 | + </rule> |
59 | 59 |
|
60 | | - <!-- Added by VincentLanglet repo --> |
61 | | - <rule ref="Squiz.PHP.DiscouragedFunctions"/> |
62 | | - <rule ref="Squiz.PHP.ForbiddenFunctions"/> |
63 | | - <rule ref="Squiz.Strings.DoubleQuoteUsage"> |
64 | | - <exclude name="Squiz.Strings.DoubleQuoteUsage.ContainsVar"/> |
65 | | - </rule> |
66 | | - <rule ref="Squiz.WhiteSpace.FunctionOpeningBraceSpace"/> |
67 | | - <rule ref="Squiz.WhiteSpace.OperatorSpacing"> |
68 | | - <properties> |
69 | | - <property name="ignoreNewlines" value="true"/> |
70 | | - </properties> |
71 | | - </rule> |
72 | | - <rule ref="Squiz.WhiteSpace.SemicolonSpacing"/> |
| 60 | + <!-- Added by VincentLanglet repo --> |
| 61 | + <rule ref="Generic.PHP.ForbiddenFunctions"/> |
| 62 | + <rule ref="Squiz.PHP.DiscouragedFunctions"/> |
| 63 | + <rule ref="Squiz.Strings.DoubleQuoteUsage"> |
| 64 | + <exclude name="Squiz.Strings.DoubleQuoteUsage.ContainsVar"/> |
| 65 | + </rule> |
| 66 | + <rule ref="Squiz.WhiteSpace.FunctionOpeningBraceSpace"/> |
| 67 | + <rule ref="Squiz.WhiteSpace.OperatorSpacing"> |
| 68 | + <properties> |
| 69 | + <property name="ignoreNewlines" value="true"/> |
| 70 | + </properties> |
| 71 | + </rule> |
| 72 | + <rule ref="Squiz.WhiteSpace.SemicolonSpacing"/> |
73 | 73 | </ruleset> |
0 commit comments