Skip to content

Commit

Permalink
Added PHPCompatibility check
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Nov 19, 2022
1 parent 19a76cb commit 60bfbf1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/phpcs-ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@
<exclude name="PSR12.ControlStructures.ControlStructureSpacing.LineIndent"/>
<exclude name="PSR12.Files.FileHeader.SpacingAfterBlock"/>
</rule>
<rule ref="PHPCompatibility" />
<rule ref="PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.MethodDoubleUnderscore">
<exclude-pattern>*/Varien/Object.php*</exclude-pattern>
<exclude-pattern>*/Varien/Data/Form/Abstract.php*</exclude-pattern>
<exclude-pattern>*/Varien/Db/Tree.php*</exclude-pattern>
<exclude-pattern>*/Varien/Directory/Collection.php*</exclude-pattern>
</rule>
</ruleset>

0 comments on commit 60bfbf1

Please sign in to comment.