-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpcs.xml
43 lines (33 loc) · 1.43 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
42
43
<?xml version="1.0"?>
<ruleset name="WP-Gizmo WordPress Plugin Coding Standards">
<!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
<!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards -->
<!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki -->
<!-- Set a description for this ruleset. -->
<description>A set of code standard rules for building WordPress plugins with WP-Gizmo.</description>
<!--
#############################################################################
COMMAND LINE ARGUMENTS
https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml
#############################################################################
-->
<!-- Pass some flags to PHPCS:
p flag: Show progress of the run.
s flag: Show sniff codes in all reports.
n flag: Do not print warnings.
-->
<arg value="psn"/>
<!-- Check up to 8 files simultanously. -->
<arg name="parallel" value="8"/>
<!-- Only check the PHP files. -->
<arg name="extensions" value="php"/>
<!-- Check all files in this directory and the directories below it. -->
<file>.</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<!--
#############################################################################
USE NeutronRuleset
#############################################################################
-->
<rule ref="NeutronRuleset"/>
</ruleset>