-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpcs.ruleset.xml
20 lines (20 loc) · 1013 Bytes
/
phpcs.ruleset.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 name="Shopware">
<description>Shopware Code Style Rules</description>
<exclude-pattern>*/vendor/*</exclude-pattern>
<rule ref="./vendor/multisafepay/coding-standards/php71.phpcs.xml">
<exclude name="PHPCompatibility.Keywords.ForbiddenNamesAsDeclared.objectFound"/>
<exclude name="SlevomatCodingStandard.ControlStructures.AssignmentInCondition.AssignmentInCondition"/>
</rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<exclude-pattern>*/Controllers/Frontend/*</exclude-pattern>
<exclude-pattern>*/Controllers/Backend/*</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>*/Controllers/Frontend/*</exclude-pattern>
<exclude-pattern>*/Controllers/Backend/*</exclude-pattern>
</rule>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>*/MltisafeMultiSafepayPayment.php</exclude-pattern>
</rule>
</ruleset>