|
70 | 70 | <!-- Disallow --> |
71 | 71 | <rule ref="Generic.Arrays.DisallowLongArraySyntax"/> |
72 | 72 | <rule ref="Generic.CodeAnalysis.EmptyPHPStatement"/> |
| 73 | + <rule ref="Generic.CodeAnalysis.EmptyStatement"/> |
| 74 | + <rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/> |
| 75 | + <rule ref="Generic.PHP.BacktickOperator"/> |
73 | 76 | <rule ref="Generic.PHP.DisallowShortOpenTag"/> |
74 | 77 | <rule ref="Generic.PHP.ForbiddenFunctions"/> |
75 | 78 | <rule ref="PEAR.Commenting.InlineComment"/> |
| 79 | + <rule ref="Squiz.PHP.CommentedOutCode"/> |
| 80 | + <rule ref="Squiz.PHP.DisallowMultipleAssignments"/> |
| 81 | + <rule ref="Squiz.PHP.DisallowSizeFunctionsInLoops"/> |
76 | 82 | <rule ref="Squiz.PHP.DiscouragedFunctions"/> |
| 83 | + <rule ref="Squiz.PHP.Eval"/> |
| 84 | + <rule ref="Squiz.PHP.NonExecutableCode"/> |
77 | 85 | <rule ref="Squiz.Operators.ValidLogicalOperators"/> |
78 | 86 |
|
79 | 87 | <!-- Others --> |
| 88 | + <rule ref="Generic.Strings.UnnecessaryStringConcat"> |
| 89 | + <properties> |
| 90 | + <property name="allowMultiline" value="true"/> |
| 91 | + </properties> |
| 92 | + </rule> |
80 | 93 | <rule ref="Squiz.Classes.ClassFileName"/> |
81 | 94 | <rule ref="Squiz.Commenting.DocCommentAlignment"> |
82 | 95 | <exclude name="Squiz.Commenting.DocCommentAlignment.SpaceAfterStar"/> |
83 | 96 | </rule> |
| 97 | + <rule ref="Squiz.Commenting.EmptyCatchComment"/> |
84 | 98 | <rule ref="Squiz.NamingConventions.ValidVariableName"> |
85 | 99 | <exclude name="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore"/> |
86 | 100 | <exclude name="Squiz.NamingConventions.ValidVariableName.ContainsNumbers"/> |
|
90 | 104 | <rule ref="Squiz.Strings.DoubleQuoteUsage"> |
91 | 105 | <exclude name="Squiz.Strings.DoubleQuoteUsage.ContainsVar"/> |
92 | 106 | </rule> |
| 107 | + <rule ref="Squiz.Strings.EchoedStrings"/> |
93 | 108 |
|
94 | 109 | <!-- Custom --> |
95 | 110 | <rule ref="SymfonyCustom.Commenting.FunctionComment"> |
|
0 commit comments