-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpcs.xml
30 lines (27 loc) · 1.22 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
30
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="CakePHP Plugin">
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>config/Migrations/*</exclude-pattern>
<exclude-pattern>config/Seeds/*</exclude-pattern>
<exclude-pattern>templates/Bake/*</exclude-pattern>
<exclude-pattern>webroot/*</exclude-pattern>
<rule ref="./vendor/cakephp/cakephp-codesniffer/CakePHP"/>
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation.NonFullyQualifiedClassName">
<severity>0</severity>
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses.UnusedUse">
<severity>0</severity>
</rule>
<rule ref="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.InvalidCommentType">
<exclude-pattern>templates/*</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>templates/*</exclude-pattern>
</rule>
<rule ref="Generic.WhiteSpace.ScopeIndent.IncorrectExact">
<exclude-pattern>templates/*</exclude-pattern>
</rule>
<rule ref="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace">
<exclude-pattern>templates/*</exclude-pattern>
</rule>
</ruleset>