1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-31 03:59:52 +02:00

[ticket/16736] Add sniffer for visibilitiy qualifiers before static keyword

PHPBB3-16736
This commit is contained in:
Marc Alexander
2021-03-23 22:09:05 +01:00
parent f6b4031a96
commit 0897d3e381
2 changed files with 60 additions and 0 deletions

View File

@@ -89,4 +89,7 @@
<!-- There MUST be one space between control structure and opening parenthesis -->
<rule ref="./phpbb/Sniffs/ControlStructures/OpeningParenthesisSniff.php" />
<!-- Static qualifier MUST be placed before the visibility qualifiers. -->
<rule ref="./phpbb/Sniffs/ControlStructures/StaticKeywordSniff.php" />
</ruleset>