-
Notifications
You must be signed in to change notification settings - Fork 18
/
php_cs.xml
20 lines (20 loc) · 957 Bytes
/
php_cs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<rule ref="./vendor/escapestudios/symfony2-coding-standard/Symfony/">
<exclude name="Symfony.Commenting"/>
<exclude name="Symfony.Functions.ScopeOrder"/>
<exclude name="Symfony.Commenting.License.Warning" />
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="Symfony.Files.AlphanumericFilename">
<exclude-pattern>*/src/logger/tombstone-function.php</exclude-pattern>
</rule>
<rule ref="Zend.NamingConventions.ValidVariableName.MemberVarContainsNumbers">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="Generic.PHP.RequireStrictTypes" />
<exclude-pattern>*/src/analyzer/Report/Html/Template/*</exclude-pattern>
<exclude-pattern>*/tests/*/Fixtures/*</exclude-pattern>
</ruleset>