forked from gallery/gallery3
-
Notifications
You must be signed in to change notification settings - Fork 26
/
.phpcs.xml
80 lines (65 loc) · 3.23 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0"?>
<ruleset name="KPQuote Standards">
<config name="installed_paths" value="vendor/phpcompatibility/php-compatibility" />
<config name="testVersion" value="8.1" />
<exclude-pattern>*\.(inc|css|js)$</exclude-pattern>
<file>./application</file>
<file>./lib</file>
<file>./system</file>
<file>./modules</file>
<file>./themes</file>
<file>./installer</file>
<arg name="colors"/>
<arg name="tab-width" value="4"/>
<arg name="report" value="full"/>
<arg name="parallel" value="2"/>
<ini name="memory_limit" value="512M"/>
<rule ref="PHPCompatibility" />
<rule ref="PHPCompatibility.Extensions.RemovedExtensions">
<exclude name="PHPCompatibility.Extensions.RemovedExtensions.mysql_DeprecatedRemoved"/>
</rule>
<rule ref="PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue">
<exclude name="PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed"/>
</rule>
<rule ref="PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue">
<exclude name="PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection"/>
</rule>
<rule ref="PHPCompatibility.FunctionUse.RemovedFunctions">
<exclude name="PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_get_iv_sizeDeprecatedRemoved"/>
<exclude name="PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_create_ivDeprecatedRemoved"/>
<exclude name="PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_encryptDeprecatedRemoved"/>
<exclude name="PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_decryptDeprecatedRemoved"/>
<exclude name="PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_get_key_sizeDeprecatedRemoved"/>
<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_dev_urandomDeprecatedRemoved"/>
<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_dev_randomDeprecatedRemoved"/>
</rule>
<rule ref="PHPCompatibility.Constants.RemovedConstants">
<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_nofbDeprecatedRemoved"/>
<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_rijndael_128DeprecatedRemoved"/>
<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_rijndael_256DeprecatedRemoved"/>
<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_randDeprecatedRemoved"/>
<exclude name="PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_ecbDeprecatedRemoved"/>
</rule>
<rule ref="PHPCompatibility.Extensions.RemovedExtensions">
<exclude name="PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved"/>
</rule>
<!--
<rule ref="Squiz">
<exclude name="Squiz.Commenting"/>
<exclude name="Squiz.NamingConventions.ValidVariableName.NotCamelCaps"/>
<exclude name="Squiz.Operators.ComparisonOperatorUsage.ImplicitTrue"/>
<exclude name="Squiz.PHP.EmbeddedPhp.SpacingAfterOpen"/>
<exclude name="Zend.Files.ClosingTag.NotAllowed"/>
</rule>
<rule ref="Generic.PHP.DisallowShortOpenTag">
<exclude name="Generic.PHP.DisallowShortOpenTag.Found"/>
<exclude name="Generic.PHP.DisallowShortOpenTag.EchoFound"/>
</rule>
<rule ref="Generic.WhiteSpace.ScopeIndent">
<properties>
<property name="indent" value="4"/>
<property name="tabIndent" value="true"/>
</properties>
</rule>
-->
</ruleset>