aboutsummaryrefslogtreecommitdiff
path: root/phpcs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'phpcs.xml')
-rw-r--r--phpcs.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpcs.xml b/phpcs.xml
index 5b29b81a2..05eeefe66 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -88,12 +88,17 @@
<exclude-pattern>*\.phtml$</exclude-pattern>
</rule>
<!-- <rule ref="Squiz.Commenting.ClassComment.Missing"/> --><!-- Consider adding -->
+
<rule ref="Squiz.ControlStructures.ControlSignature">
<include-pattern>*\.phtml$</include-pattern>
<properties>
<property name="requiredSpacesBeforeColon" value="0" />
</properties>
</rule>
+ <rule ref="Squiz.ControlStructures.ControlSignature">
+ <include-pattern>*\.php$</include-pattern>
+ </rule>
+
<rule ref="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace">
<exclude-pattern>*\.phtml$</exclude-pattern>
</rule>