forked from cakephp/migrations
-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpcs.xml
29 lines (25 loc) · 1.11 KB
/
phpcs.xml
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
<?xml version="1.0"?>
<ruleset name="CakePHP Core">
<arg value="ns"/>
<file>src/</file>
<file>tests/</file>
<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>
<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>