-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy pathphpcs.xml
More file actions
33 lines (29 loc) · 1.29 KB
/
phpcs.xml
File metadata and controls
33 lines (29 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0"?>
<ruleset name="CakePHP Core">
<arg value="nps"/>
<arg name="colors"/>
<arg name="parallel" value="4"/>
<arg name="cache" value=".phpcs.cache"/>
<file>src/</file>
<file>tests/</file>
<exclude-pattern>*/tests/comparisons/*</exclude-pattern>
<exclude-pattern>*/tests/TestCase/Util/_files/*</exclude-pattern>
<exclude-pattern>*/test_app/config/*</exclude-pattern>
<exclude-pattern>*/TestBlog/config/*</exclude-pattern>
<exclude-pattern>*/BarPlugin/config/*</exclude-pattern>
<exclude-pattern>*/FooPlugin/config/*</exclude-pattern>
<exclude-pattern>*/Migrator/config/*</exclude-pattern>
<rule ref="./vendor/cakephp/cakephp-codesniffer/CakePHP/ruleset.xml"/>
<!-- Necessary for class aliases used for backwards compat -->
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<severity>0</severity>
</rule>
<rule ref="Squiz.Classes.ClassFileName.NoMatch">
<exclude-pattern>tests/comparisons/*</exclude-pattern>
<exclude-pattern>test_app/config/*</exclude-pattern>
<exclude-pattern>test_app/**/config/*</exclude-pattern>
</rule>
<rule ref="CakePHP.WhiteSpace.FunctionOpeningBraceSpace.SpacingAfter">
<exclude-pattern>tests/comparisons/*</exclude-pattern>
</rule>
</ruleset>