File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1313 <!-- Include the PSR-12 (so PSR-1) standard without the file length limit -->
1414 <rule ref =" PSR12" >
1515 <exclude name =" Generic.Files.LineLength" />
16-
17- <!-- TODO -->
1816 <exclude name =" PSR12.ControlStructures.ControlStructureSpacing" />
1917 <exclude name =" PSR12.Operators.OperatorSpacing" />
20- <exclude name =" Squiz.ControlStructures.ControlSignature" />
2118 </rule >
19+ <!-- Instead of PSR12.ControlStructures.ControlStructureSpacing -->
20+ <rule ref =" PSR2.ControlStructures.ControlStructureSpacing" />
21+ <!-- Instead of PSR12.Operators.OperatorSpacing-->
22+ <rule ref =" Squiz.WhiteSpace.OperatorSpacing" >
23+ <properties >
24+ <property name =" ignoreNewlines" value =" true" />
25+ </properties >
26+ </rule >
27+ <rule ref =" Squiz.WhiteSpace.LogicalOperatorSpacing" />
28+
29+ <!-- Change warning to error -->
2230 <rule ref =" PSR2.ControlStructures.ElseIfDeclaration.NotAllowed" >
2331 <type >error</type >
2432 </rule >
6573 <property name =" spacingAfterLast" value =" 0" />
6674 </properties >
6775 </rule >
68- <rule ref =" Squiz.WhiteSpace.LogicalOperatorSpacing" />
6976 <rule ref =" Squiz.WhiteSpace.MemberVarSpacing" >
7077 <properties >
7178 <property name =" spacingBeforeFirst" value =" 0" />
7279 </properties >
7380 </rule >
74- <rule ref =" Squiz.WhiteSpace.OperatorSpacing" >
75- <properties >
76- <property name =" ignoreNewlines" value =" true" />
77- </properties >
78- </rule >
7981 <rule ref =" Squiz.WhiteSpace.ObjectOperatorSpacing" >
8082 <properties >
8183 <property name =" ignoreNewlines" value =" true" />
You can’t perform that action at this time.
0 commit comments