-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml.dist
24 lines (18 loc) · 926 Bytes
/
phpcs.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="FSE5" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
<description>Coding standards for FSE Classic.</description>
<arg value="ps"/><!-- Shows progress. -->
<arg name="colors"/><!-- Shows results with colors. -->
<arg name="extensions" value="php,js"/><!-- Limits to PHP and js files. -->
<config name="testVersion" value="7.0-"/>
<config name="minimum_supported_wp_version" value="7.0"/>
<!-- https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage -->
<file>.</file>
<!-- Our own ruleset. -->
<rule ref="Polylang"/>
<!-- Run against the PSR-4 ruleset. -->
<!-- https://github.com/suin/phpcs-psr4-sniff -->
<arg name="basepath" value="."/>
<exclude-pattern>public/js/*</exclude-pattern>
<exclude-pattern>webpack.config.js</exclude-pattern>
</ruleset>