aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--phpcs.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpcs.xml b/phpcs.xml
index 119d4b2b..4dcadcf4 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -47,6 +47,9 @@
<rule ref="PEAR.Functions.ValidDefaultValue"/>
<!-- Use PascalCase for class names -->
<rule ref="PEAR.NamingConventions.ValidClassName"/>
+ <!-- abstract and final declarations MUST precede the visibility declaration -->
+ <!-- static declaration MUST come after the visibility declaration -->
+ <rule ref="PSR2.Methods.MethodDeclaration" />
<!-- Use 'elseif' instead of 'else if' -->
<rule ref="PSR2.ControlStructures.ElseIfDeclaration"/>
<!-- Do not add spaces after opening or before closing bracket -->