-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.phpcs.xml
29 lines (25 loc) · 960 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>Media24 coding standard.</description>
<rule ref="PSR12"/>
<file>src</file>
<file>tests</file>
<exclude-pattern>bootstrap/cache/*</exclude-pattern>
<exclude-pattern>bootstrap/autoload.php</exclude-pattern>
<exclude-pattern>*.blade.php</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
<exclude-pattern>tests/report/*</exclude-pattern>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Squiz.Arrays.ArrayDeclaration.NoComma" />
<rule ref="Generic.Files.ByteOrderMark"/>
<rule ref="Generic.PHP.DeprecatedFunctions"/>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="200" />
<property name="absoluteLineLimit" value="250" />
</properties>
</rule>
<!-- Show progression -->
<arg value="p"/>
<arg name="colors"/>
</ruleset>