Skip to content

Commit 60bfbf1

Browse files
committed
Added PHPCompatibility check
1 parent 19a76cb commit 60bfbf1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/phpcs-ruleset.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,11 @@
2020
<exclude name="PSR12.ControlStructures.ControlStructureSpacing.LineIndent"/>
2121
<exclude name="PSR12.Files.FileHeader.SpacingAfterBlock"/>
2222
</rule>
23+
<rule ref="PHPCompatibility" />
24+
<rule ref="PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.MethodDoubleUnderscore">
25+
<exclude-pattern>*/Varien/Object.php*</exclude-pattern>
26+
<exclude-pattern>*/Varien/Data/Form/Abstract.php*</exclude-pattern>
27+
<exclude-pattern>*/Varien/Db/Tree.php*</exclude-pattern>
28+
<exclude-pattern>*/Varien/Directory/Collection.php*</exclude-pattern>
29+
</rule>
2330
</ruleset>

0 commit comments

Comments
 (0)