forked from glpi-project/glpi
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.phpcs.xml
28 lines (25 loc) · 1.16 KB
/
.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
<?xml version="1.0"?>
<ruleset>
<file>.</file>
<exclude-pattern>/.git/</exclude-pattern>
<exclude-pattern type="relative">^config/</exclude-pattern>
<exclude-pattern type="relative">^files/</exclude-pattern>
<exclude-pattern type="relative">^lib/</exclude-pattern>
<exclude-pattern type="relative">^marketplace/</exclude-pattern>
<exclude-pattern type="relative">^node_modules/</exclude-pattern>
<exclude-pattern type="relative">^plugins/</exclude-pattern>
<exclude-pattern type="relative">^tests/config/</exclude-pattern>
<exclude-pattern type="relative">^tests/files/</exclude-pattern>
<exclude-pattern type="relative">^vendor/</exclude-pattern>
<arg name="warning-severity" value="0" />
<arg value="p" />
<ini name="memory_limit" value="512M" />
<arg name="colors" />
<arg name="extensions" value="php" />
<rule ref="PSR12">
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps" />
</rule>
<rule ref="Generic.Arrays.ArrayIndent"></rule>
</ruleset>