File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 8181 </rule >
8282 <rule ref =" Squiz.WhiteSpace.SemicolonSpacing" />
8383 <rule ref =" Generic.Arrays.DisallowLongArraySyntax" />
84+ <rule ref =" Generic.CodeAnalysis.EmptyPHPStatement" />
85+ <rule ref =" Squiz.WhiteSpace.LogicalOperatorSpacing" />
86+ <rule ref =" Squiz.WhiteSpace.CastSpacing" />
8487</ruleset >
Original file line number Diff line number Diff line change @@ -53,6 +53,12 @@ we do not respect this rule:
5353<rule ref="Generic.Formatting.SpaceAfterCast"/>
5454```
5555
56+ - Do not use space inside type casting
57+
58+ ```
59+ <rule ref="Squiz.WhiteSpace.CastSpacing"/>
60+ ```
61+
5662- Use lowercase for PHP functions
5763
5864```
@@ -104,6 +110,18 @@ we do not respect this rule:
104110<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
105111```
106112
113+ - Do not use empty php statement
114+
115+ ```
116+ <rule ref="Generic.CodeAnalysis.EmptyPHPStatement"/>
117+ ```
118+
119+ - Add a single space before and after logical operator
120+
121+ ```
122+ <rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/>
123+ ```
124+
107125### Custom
108126- Some others checks are made about array (` => ` alignments and indentation)
109127
You can’t perform that action at this time.
0 commit comments