forked from cakephp/migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml.dist
27 lines (25 loc) · 1.22 KB
/
phpcs.xml.dist
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
<?xml version="1.0"?>
<ruleset name="CakePHP Core">
<exclude-pattern>*/tests/comparisons/*</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>
<rule ref="./vendor/cakephp/cakephp-codesniffer/CakePHP/ruleset.xml"/>
<exclude-pattern>*/tests/comparisons/*</exclude-pattern>
<exclude-pattern>*/test_app/config/*</exclude-pattern>
<exclude-pattern>*/TestBlog/config/*</exclude-pattern>
<exclude-pattern>*/Migrator/config/*</exclude-pattern>
<!-- 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>