Skip to content

Commit 0127c4c

Browse files
committed
ACP2E-2032: Fix ruleset
1 parent 28cd668 commit 0127c4c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Magento2/ruleset.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@
168168
<severity>10</severity>
169169
<type>error</type>
170170
</rule>
171+
<rule ref="PHPCompatibility.FunctionUse.RemovedFunctions">
172+
<severity>10</severity>
173+
<type>error</type>
174+
</rule>
171175
<!-- Severity 9 warnings: Possible security and issues that may cause bugs. -->
172176
<rule ref="Generic.Files.ByteOrderMark">
173177
<severity>9</severity>
@@ -763,7 +767,5 @@
763767
<!-- Following sniffs have an equivalent in PHPCS -->
764768
<exclude name="PHPCompatibility.Syntax.ForbiddenCallTimePassByReference" />
765769
<exclude name="PHPCompatibility.Keywords.ForbiddenNamesAsDeclared" />
766-
<!-- Following sniffs have an equivalent in Magento2 -->
767-
<exclude name="PHPCompatibility.FunctionUse.RemovedFunctions" />
768770
</rule>
769771
</ruleset>

0 commit comments

Comments
 (0)