-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml
31 lines (24 loc) · 1.05 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
<?xml version="1.0"?>
<ruleset name="Sniffs wp-nowpayments-integration plugin">
<description>Sniffs wp-nowpayments-integration plugin</description>
<arg value="ps"/>
<arg name="extensions" value="php"/>
<file>.</file>
<exclude-pattern>/build/*</exclude-pattern>
<exclude-pattern>/vendor/*</exclude-pattern>
<exclude-pattern>/node_modules/*</exclude-pattern>
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="8.1-"/>
<config name="minimum_supported_wp_version" value="6.6"/>
<rule ref="WordPress">
<exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
<exclude name="Generic.Commenting.DocComment.MissingShort"/>
<exclude name="Squiz.Commenting"/>
<exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/>
<exclude name="WordPress.PHP.StrictInArray.MissingTrueStrict"/>
<exclude name="WordPress.Security.NonceVerification.Recommended"/>
</rule>
<rule ref="WordPress.WP.I18n"/>
<config name="text_domain" value="wp-nowpayments-integration"/>
</ruleset>