[CI] PHPCS: check for opening brace on same line (#4122)

* [CI] PHPCS: check for opening brace on same line

* make fix-all

* Minor comments

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
This commit is contained in:
Frans de Jonge
2022-01-05 00:52:24 +01:00
committed by GitHub
parent a6ea90e58b
commit d339b6dd45
9 changed files with 79 additions and 79 deletions
+2
View File
@@ -105,6 +105,8 @@
<rule ref="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis">
<exclude-pattern>.phtml$</exclude-pattern>
</rule>
<!-- Opening brace on same line as function declaration -->
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie" />
<!-- Newline required after opening brace -->
<rule ref="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace">
<exclude-pattern>.phtml$</exclude-pattern>