forked from MultiSafepay/prestashop-official
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
23 lines (23 loc) · 1.11 KB
/
Copy pathphpcs.xml
File metadata and controls
23 lines (23 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<ruleset name="MultiSafepay">
<description>A custom coding standard for MultiSafepay`s PrestaShop plugin.</description>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/translations/*</exclude-pattern>
<exclude-pattern>*/sql/*</exclude-pattern>
<exclude-pattern>*/views/js/dragula.js</exclude-pattern>
<rule ref="PSR2">
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/>
<exclude name="PEAR.Functions.ValidDefaultValue"/>
<exclude name="PSR1.Files.SideEffects.FoundWithSymbols"/>
<exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
</rule>
<rule ref="Squiz.NamingConventions.ValidVariableName.NotCamelCaps"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax.Found"/>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>*/tests</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
<exclude-pattern>*/tests/phpstan/class_stub.php</exclude-pattern>
</rule>
</ruleset>