forked from pluginsGLPI/datainjection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.phpcs.xml
More file actions
21 lines (18 loc) · 736 Bytes
/
.phpcs.xml
File metadata and controls
21 lines (18 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<ruleset>
<file>.</file>
<exclude-pattern>/.git/</exclude-pattern>
<exclude-pattern type="relative">^node_modules/</exclude-pattern>
<exclude-pattern type="relative">^vendor/</exclude-pattern>
<arg name="colors" />
<arg name="extensions" value="php" />
<arg value="p" />
<arg name="warning-severity" value="0" />
<rule ref="PSR12">
<exclude name="Generic.Files.LineLength" />
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />
<!-- Plugin specific rules to bypass checks that we can't change without BC -->
<exclude name="Squiz.Classes.ValidClassName"/>
</rule>
<rule ref="Generic.Arrays.ArrayIndent"></rule>
</ruleset>