generated from devgeniem/tms-plugin-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpcs.xml.dist
23 lines (18 loc) · 923 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
<?xml version="1.0"?>
<ruleset name="Geniem"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
<description>A custom set of rules to check styles for a Geniem WP projects</description>
<file>.</file>
<rule ref="./vendor/devgeniem/geniem-rules-codesniffer/Geniem/ruleset.xml"/>
<!-- Exclude Composer vendor directory. -->
<exclude-pattern>*/.git/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<arg value="sp"/> <!-- Show sniff and progress -->
<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="50"/>
<!-- Check code for cross-version PHP compatibility PHP 8.1 or higher. -->
<config name="testVersion" value="8.1-"/>
</ruleset>