File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <ruleset name =" Project Standard" >
3+ <description >Custom PHPCS rules for our project</description >
4+
5+ <!-- Scan these folders -->
6+ <file >src</file >
7+ <file >tests</file >
8+ <exclude-pattern >vendor/*</exclude-pattern >
9+ <exclude-pattern >storage/*</exclude-pattern >
10+
11+ <!-- Base standard -->
12+ <rule ref =" PSR12" />
13+
14+ <!-- Customizations -->
15+ <rule ref =" Generic.Files.LineLength" >
16+ <properties >
17+ <property name =" lineLimit" value =" 120" />
18+ <property name =" absoluteLineLimit" value =" 140" />
19+ </properties >
20+ </rule >
21+
22+ <!-- Exclude some checks -->
23+ <exclude name =" Generic.Commenting.Todo" />
24+ <exclude name =" Squiz.WhiteSpace.SuperfluousWhitespace" />
25+
26+ <!-- Custom Sniffs (if any) -->
27+ <config name =" ignore_warnings_on_exit" value =" 1" />
28+ </ruleset >
You can’t perform that action at this time.
0 commit comments