diff options
Diffstat (limited to 'phpcs.xml')
-rw-r--r-- | phpcs.xml | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -5,13 +5,18 @@ | |||
5 | <file>index.php</file> | 5 | <file>index.php</file> |
6 | <file>application</file> | 6 | <file>application</file> |
7 | <file>plugins</file> | 7 | <file>plugins</file> |
8 | <file>tests</file> | 8 | <!-- <file>tests</file>--> |
9 | 9 | ||
10 | <exclude-pattern>*/*.css</exclude-pattern> | 10 | <exclude-pattern>*/*.css</exclude-pattern> |
11 | <exclude-pattern>*/*.js</exclude-pattern> | 11 | <exclude-pattern>*/*.js</exclude-pattern> |
12 | 12 | ||
13 | <arg name="colors"/> | 13 | <arg name="colors"/> |
14 | 14 | ||
15 | <rule ref="PSR1"/> | 15 | <rule ref="PSR12"/> |
16 | <rule ref="PSR2"/> | 16 | <rule ref="Generic.Arrays.DisallowLongArraySyntax"/> |
17 | |||
18 | <rule ref="PSR1.Files.SideEffects.FoundWithSymbols"> | ||
19 | <!-- index.php bootstraps everything, so yes mixed symbols with side effects --> | ||
20 | <exclude-pattern>index.php</exclude-pattern> | ||
21 | </rule> | ||
17 | </ruleset> | 22 | </ruleset> |