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:
QWp6t
2015-12-27 13:04:13 -08:00
committed by Ben Word
parent 9eec17dc3f
commit f7194cb7c3

View File

@@ -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>