-
Notifications
You must be signed in to change notification settings - Fork 4
/
.phpcs.xml.dist
26 lines (20 loc) · 968 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
26
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Plugin">
<description>Sniffs for WordPress plugins</description>
<file>.</file>
<!-- <exclude-pattern type="relative">classes/Installers/*</exclude-pattern> -->
<exclude-pattern type="relative">bin/*</exclude-pattern>
<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="7.4-" />
<!--
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties -->
<config name="minimum_supported_wp_version" value="6.4" />
<config name="text_domain" value="edd-file-watermarking, default" />
<!-- Force short syntax arrays. -->
<rule ref="CodeAtlantic" />
</ruleset>