-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.ruleset.xml
More file actions
29 lines (29 loc) · 1.01 KB
/
Copy pathphpcs.ruleset.xml
File metadata and controls
29 lines (29 loc) · 1.01 KB
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
<?xml version="1.0"?>
<ruleset name="CointokioCoingeckoClient">
<description>A custom set of PHP_CodeSniffer rules for the Cointokio CoinGecko API Client for WordPress</description>
<arg value="psvn"/>
<arg name="extensions" value="php"/>
<file>.</file>
<rule ref="WordPress">
<exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
<exclude name="Universal.Arrays.DisallowShortArraySyntax"/>
</rule>
<!-- PHPCS Extra (via VIPCS): keep dirname( __FILE__ ) path pattern used across this package. -->
<rule ref="Modernize.FunctionCalls.Dirname.FileConstant">
<severity>0</severity>
</rule>
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<property name="prefixes" type="array">
<element value="cointokio_coingecko"/>
</property>
</properties>
</rule>
<rule ref="WordPressVIPMinimum" />
<rule ref="WordPress.WP.DeprecatedFunctions">
<properties>
<property name="minimum_wp_version" value="2.7.0"/>
</properties>
</rule>
<exclude-pattern>vendor/</exclude-pattern>
</ruleset>