-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
29 lines (22 loc) · 902 Bytes
/
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="App">
<config name="installed_paths" value="../../php-collective/code-sniffer"/>
<arg name="tab-width" value="4"/>
<arg value="nps"/>
<file>src/</file>
<file>tests/</file>
<file>config/</file>
<file>plugins/</file>
<exclude-pattern>/config/Seeds/</exclude-pattern>
<exclude-pattern>/config/Migrations/</exclude-pattern>
<exclude-pattern>/templates/</exclude-pattern>
<rule ref="PhpCollective"/>
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration"/>
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUse"/>
<rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
<severity>0</severity>
</rule>
<rule ref="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.NoAssignment">
<severity>0</severity>
</rule>
</ruleset>