-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml.dist
25 lines (21 loc) · 933 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
25
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for BrightNucleus Dependencies">
<description>A custom set of PHPCS rules for BrightNucleus Dependencies.</description>
<!-- What to scan -->
<file>.</file>
<exclude-pattern>/vendor/</exclude-pattern>
<exclude-pattern>/tests/</exclude-pattern>
<!-- How to scan -->
<arg value="sp"/> <!-- Show sniff and progress -->
<arg name="colors"/>
<arg name="basepath" value="."/>
<arg name="parallel" value="8"/>
<arg name="extensions" value="php"/>
<!-- Rules: WordPress Coding Standards -->
<config name="minimum_supported_wp_version" value="8.0"/>
<!-- For help in understanding these custom sniff properties:
https://github.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties -->
<rule ref="WordPress">
<exclude name="WordPress.Files.FileName"/>
</rule>
</ruleset>