-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
26 lines (21 loc) · 927 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
<?xml version="1.0"?>
<ruleset name="rokka-integration">
<description>Coding standards for rokka-integration</description>
<arg value="ps"/>
<arg name="extensions" value="php"/>
<file>./rokka-integration.php</file>
<file>./src</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>assets/*</exclude-pattern>
<exclude-pattern>tests/*</exclude-pattern>
<exclude-pattern>index.php</exclude-pattern>
<exclude-pattern>src/class-rokka-image-editor.php</exclude-pattern>
<rule ref="WordPress">
<exclude name="Squiz.Commenting.InlineComment" />
<exclude name="Squiz.Commenting.LongConditionClosingComment" />
<exclude name="Generic.Formatting.MultipleStatementAlignment" />
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed" />
<exclude name="WordPress.Arrays.MultipleStatementAlignment" />
</rule>
</ruleset>