forked from edgardmessias/glpi-singlesignon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpcs.xml
31 lines (25 loc) · 932 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
30
31
<?xml version="1.0"?>
<ruleset>
<!-- rules -->
<rule ref="./vendor/glpi-project/coding-standard/GlpiStandard" />
<rule ref="./vendor/phpcompatibility/php-compatibility/PHPCompatibility">
<exclude name="PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore" />
</rule>
<!-- Indent 3 -->
<rule ref="Generic.WhiteSpace.ScopeIndent">
<properties>
<property name="indent" value="3"/>
<property name="exact" value="true"/>
</properties>
</rule>
<!-- file must end by a new line -->
<rule ref="PSR2.Files.EndFileNewline" />
<!-- files -->
<file>.</file>
<exclude-pattern>vendor</exclude-pattern>
<!-- Check for cross-version support for PHP 5.6 and higher. -->
<config name="testVersion" value="5.4-"/>
<!-- args -->
<arg name="extensions" value="php,php5,inc"/>
<arg name="encoding" value="UTF-8"/>
</ruleset>