-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpcs.xml
31 lines (28 loc) · 1.27 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
31
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PublishPress"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
<description>Apply Coding Standards to all the plugin files</description>
<arg name="extensions" value="php"/>
<arg name="colors"/>
<arg name="cache"/>
<ini name="memory_limit" value="256M"/>
<arg name="basepath" value="dist/publishpress-statuses"/>
<arg name="parallel" value="20"/>
<arg value="ps"/>
<file>.</file>
<exclude-pattern>*/\.github/*</exclude-pattern>
<exclude-pattern>/\.vscode/*</exclude-pattern>
<exclude-pattern>/\.idea/*</exclude-pattern>
<exclude-pattern>/tests/*</exclude-pattern>
<exclude-pattern>/.wordpress-org/*</exclude-pattern>
<exclude-pattern>/bin/*</exclude-pattern>
<exclude-pattern>/vendor/*</exclude-pattern>
<exclude-pattern>/dist/*</exclude-pattern>
<exclude-pattern>/languages/*</exclude-pattern>
<exclude-pattern>/node_modules/*</exclude-pattern>
<exclude-pattern>/dev-workspace/*</exclude-pattern>
<rule ref="WordPressVIPMinimum"/>
<rule ref="WordPress-VIP-Go"/>
<rule ref="VariableAnalysis"/>
<rule ref="PublishPressStandards"/>
</ruleset>