We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28cd668 commit 0127c4cCopy full SHA for 0127c4c
Magento2/ruleset.xml
@@ -168,6 +168,10 @@
168
<severity>10</severity>
169
<type>error</type>
170
</rule>
171
+ <rule ref="PHPCompatibility.FunctionUse.RemovedFunctions">
172
+ <severity>10</severity>
173
+ <type>error</type>
174
+ </rule>
175
<!-- Severity 9 warnings: Possible security and issues that may cause bugs. -->
176
<rule ref="Generic.Files.ByteOrderMark">
177
<severity>9</severity>
@@ -763,7 +767,5 @@
763
767
<!-- Following sniffs have an equivalent in PHPCS -->
764
768
<exclude name="PHPCompatibility.Syntax.ForbiddenCallTimePassByReference" />
765
769
<exclude name="PHPCompatibility.Keywords.ForbiddenNamesAsDeclared" />
766
- <!-- Following sniffs have an equivalent in Magento2 -->
- <exclude name="PHPCompatibility.FunctionUse.RemovedFunctions" />
770
771
</ruleset>
0 commit comments