-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
37 lines (29 loc) · 1023 Bytes
/
phpcs.xml.dist
File metadata and controls
37 lines (29 loc) · 1023 Bytes
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
37
<?xml version="1.0"?>
<ruleset name="WebMCP Abilities">
<description>Coding standards for WebMCP Abilities plugin.</description>
<file>.</file>
<arg name="extensions" value="php" />
<!-- Exclude paths -->
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>node_modules/</exclude-pattern>
<exclude-pattern>assets/js/build/</exclude-pattern>
<exclude-pattern>dist/</exclude-pattern>
<!-- Set required text domain -->
<config name="text_domain" value="webmcp-abilities" />
<!-- PHP 8.0 and higher -->
<config name="testVersion" value="8.0-" />
<!-- Minimum supported WordPress version -->
<config name="minimum_wp_version" value="6.9" />
<!-- Rules -->
<rule ref="CodeAtlantic" />
<!-- Prefixes for functions, classes, and hooks -->
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<property name="prefixes" type="array">
<element value="webmcp" />
<element value="wmcp" />
<element value="WebMCP" />
</property>
</properties>
</rule>
</ruleset>