-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml.dist
31 lines (26 loc) · 1.19 KB
/
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
24
25
26
27
28
29
30
31
<?xml version="1.0"?>
<ruleset name="Cosmo Users Code Rules">
<description>(In)Syde Code Standards</description>
<arg name="extensions" value="php" />
<arg name="parallel" value="4" />
<arg name="colors" />
<arg value="p" /><!-- Show progress. -->
<!-- Show sniff codes in all reports. -->
<!-- Example when ON: Missing @package tag in file comment (Squiz.Commenting.FileComment.MissingPackageTag) -->
<!-- Example when OFF: Missing @package tag in file comment -->
<arg value="s" />
<!-- Report warnings but don't make them fail the linter. -->
<config name="ignore_warnings_on_exit" value="1" />
<!-- Include (In)Syde Code Style Standards -->
<rule ref="Inpsyde" />
<!-- Include Package Files -->
<file>.</file>
<!-- Exclude developer helper directories -->
<exclude-pattern>**/node_modules/**</exclude-pattern>
<exclude-pattern>**/build/**</exclude-pattern>
<exclude-pattern>**/vendor/**</exclude-pattern>
<exclude-pattern>**/tests/**</exclude-pattern>
<exclude-pattern>**/.tools/**</exclude-pattern>
<exclude-pattern>rector.php</exclude-pattern>
<exclude-pattern>lint-staged.config.js</exclude-pattern>
</ruleset>