forked from ExpressionEngine/ExpressionEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.ruleset.xml
More file actions
24 lines (19 loc) · 915 Bytes
/
phpcs.ruleset.xml
File metadata and controls
24 lines (19 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<ruleset name="ExpressionEngine">
<description>The PSR-12 Custom EE coding standard.</description>
<ini name="memory_limit" value="512M"/>
<arg name="extensions" value="php"/>
<arg name="tab-width" value="4"/>
<config name="installed_paths" value="build-tools/vendor/phpcompatibility/php-compatibility" />
<!-- Run against the PHPCompatibility ruleset -->
<rule ref="PHPCompatibility" />
<!-- Check for cross-version support for PHP 5.6 and higher. -->
<config name="testVersion" value="5.6-"/>
<!-- Code MUST follow all rules outlined in PSR-12. -->
<rule ref="PSR12">
<exclude name="Generic.Files.LineLength" />
<exclude name="PSR2.Methods.MethodDeclaration" />
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
<exclude name="PSR12.Files.FileHeader.SpacingAfterBlock" />
</rule>
</ruleset>