aboutsummaryrefslogtreecommitdiff
path: root/phpcs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'phpcs.xml')
-rw-r--r--phpcs.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpcs.xml b/phpcs.xml
index bded9723c..447c04f49 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -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>