-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.phpcs.xml.dist
More file actions
21 lines (16 loc) · 831 Bytes
/
.phpcs.xml.dist
File metadata and controls
21 lines (16 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Plugin">
<description>Sniffs for WordPress plugins</description>
<file>.</file>
<exclude-pattern type="relative">vendor</exclude-pattern>
<arg name="extensions" value="php"/>
<!-- Show progress and sniff codes in all reports -->
<arg value="ps"/>
<!-- https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions -->
<config name="testVersion" value="5.6-"/>
<!-- https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties -->
<config name="minimum_supported_wp_version" value="5.6"/>
<config name="text_domain" value="content-control-migration-tester, default" />
<!-- Force short syntax arrays. -->
<rule ref="CodeAtlantic" />
</ruleset>