forked from scheb/two-factor-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphp_cs.xml
24 lines (24 loc) · 1.11 KB
/
php_cs.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
<?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.Functions.Arguments.Invalid" />
<exclude name="Symfony.Commenting.License.Warning" />
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
<exclude-pattern>*/Tests/*</exclude-pattern>
<exclude-pattern>*/Security/TwoFactor/Event/Event.php</exclude-pattern>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>*/Tests/*</exclude-pattern>
</rule>
<rule ref="Symfony.Classes.MultipleClassesOneFile.Invalid">
<exclude-pattern>*/Tests/*</exclude-pattern>
<exclude-pattern>*/Security/TwoFactor/Event/Event.php</exclude-pattern>
</rule>
<rule ref="Zend.NamingConventions.ValidVariableName.MemberVarContainsNumbers">
<exclude-pattern>*/Tests/*</exclude-pattern>
</rule>
<rule ref="Generic.PHP.RequireStrictTypes" />
</ruleset>