Use Kernighan-Ritchie style braces
Exclusion of PSR-2 rule for BraceOnSameLine is not enough. We need to specifically force this rule.
This commit is contained in:
@@ -39,5 +39,8 @@
|
||||
</rule>
|
||||
|
||||
<!-- Verify that operators have valid spacing surrounding them -->
|
||||
<rule ref="Squiz.WhiteSpace.OperatorSpacing"></rule>
|
||||
<rule ref="Squiz.WhiteSpace.OperatorSpacing"/>
|
||||
|
||||
<!-- Force braces to be on the same lines in fuction declarations -->
|
||||
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie"/>
|
||||
</ruleset>
|
||||
|
||||
Reference in New Issue
Block a user