generated from washingtonstateuniversity/wsuwp-plugin-hrs-courses
-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml.dist
36 lines (27 loc) · 1.06 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards">
<description>Sniffs for WordPress plugins.</description>
<!-- Ignore third-party code. -->
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<!-- Ignore filenames -->
<rule ref="WordPress-Extra">
<exclude name="WordPress.Files.FileName"/>
</rule>
<!-- Loads the PHP Compatibility ruleset. -->
<rule ref="PHPCompatibilityWP"/>
<!-- Loads the WP rulesets -->
<rule ref="WordPress"/>
<!-- Loads the variable analysis ruleset. -->
<rule ref="VariableAnalysis"/>
<arg value="ps"/>
<arg name="extensions" value="php"/>
<arg name="basepath" value="./"/>
<arg name="parallel" value="20"/>
<!-- Sets the minimum supported PHP version to 7.4, which is also WordPress's. -->
<config name="testVersion" value="7.4-"/>
<!-- Sets the minimum supported WP version to 5.4. -->
<config name="minimum_supported_wp_version" value="5.4" />
<!-- Defines the valid textdomain options. -->
<config name="text_domain" value="hrswp-sqlsrv-db,default"/>
</ruleset>