summaryrefslogtreecommitdiff
blob: 890eb5fe224bfbfce7ad2835a6ff157484f4d93c (plain)
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="WordPress Coding Standards">
    <description>WordPress Coding Standards</description>

    <!-- Scan all files in directory -->
    <file>.</file>

    <!-- Scan only PHP files -->
    <arg name="extensions" value="php"/>

    <!-- Show progress, show the error codes for each message (source). -->
    <arg value="ps" />

    <!-- Check up to 8 files simultaneously. -->
    <arg name="parallel" value="8" />

    <!-- Include the WordPress-Core standard. -->
    <rule ref="WordPress-Core">
        <exclude name="Generic.Arrays.DisallowShortArraySyntax.Found"/>
        <exclude name="WordPress.PHP.DisallowShortTernary.Found"/>
    </rule>

    <rule ref="Internal.NoCodeFound">
        <severity>0</severity>
    </rule>
</ruleset>