-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpcs.xml
41 lines (37 loc) · 1.74 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
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
<description>The coding standard for PublishPress Authors.</description>
<file>src</file>
<file>tests</file>
<file>activation.php</file>
<file>defines.php</file>
<file>deprecated.php</file>
<file>includes.php</file>
<file>publishpress-authors.php</file>
<file>template-tags.php</file>
<exclude-pattern>*/.github$</exclude-pattern>
<exclude-pattern>*/assets_wp$</exclude-pattern>
<exclude-pattern>*/dist$</exclude-pattern>
<exclude-pattern>*/languages$</exclude-pattern>
<exclude-pattern>*/legacy-tests$</exclude-pattern>
<exclude-pattern>*/node_modules$</exclude-pattern>
<exclude-pattern>*/tests/*/*\.(inc|css|js|sql|yml|feature)$</exclude-pattern>
<exclude-pattern>*/tests/codeception/_output$</exclude-pattern>
<exclude-pattern>*/tests/codeception/_support/_generated$</exclude-pattern>
<exclude-pattern>*/tests/codeception/_data/themes/custom_twentytwenty</exclude-pattern>
<exclude-pattern>*/vendor$</exclude-pattern>
<exclude-pattern>*/src/assets/lib$</exclude-pattern>
<arg name="basepath" value="."/>
<arg name="colors"/>
<arg name="parallel" value="75"/>
<arg value="np"/>
<!-- Include the whole PEAR standard -->
<!-- <rule ref="PSR12"/>-->
<rule ref="WordPressVIPMinimum">
<exclude name="WordPressVIPMinimum.Variables.RestrictedVariables.user_meta__wpdb__users" />
<exclude-pattern>tests/</exclude-pattern>
</rule>
<!-- <rule ref="WordPress-VIP-Go"/>-->
<!-- <rule ref="VariableAnalysis"/>-->
</ruleset>