-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathphpcs.xml
29 lines (23 loc) · 898 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
25
26
27
28
29
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<description>The coding standard for PHP_CodeSniffer itself.</description>
<!-- Use colors in output -->
<arg name="colors" />
<!-- Exclude external libraries -->
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>src/Logger/src/LifeCycleToken.php</exclude-pattern>
<!-- How many files should be checked simultaneously -->
<arg name="parallel" value="75" />
<!-- Don't hide tokenizer exceptions -->
<rule ref="Internal.Tokenizer.Exception">
<type>error</type>
</rule>
<!-- Include the whole PSR1 and PSR2 standards -->
<rule ref="PSR12" />
<!-- The soft limit on line length SHOULD be 120 characters -->
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
</properties>
</rule>
</ruleset>