-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpcs.xml
29 lines (22 loc) · 822 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>Gastfreund PHP Coding standards</description>
<file>./app</file>
<file>./tests</file>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<config name="installed_paths" value="vendor/phpcompatibility/php-compatibility" />
<config name="testVersion" value="7.2-"/>
<arg value="np"/>
<arg name="colors" />
<arg name="extensions" value="php" />
<arg name="error-severity" value="1" />
<!-- Don't hide tokenizer exceptions -->
<rule ref="Internal.Tokenizer.Exception">
<type>error</type>
</rule>
<rule ref="PSR1" />
<rule ref="PSR2" />
<rule ref="PHPCompatibility"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
</ruleset>