Skip to content

Commit 914e301

Browse files
committed
AC-1159: Create phpcs static test for ObsoleteMenuTest
- Update ruleset.xml
1 parent e3397e9 commit 914e301

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Magento2/ruleset.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,9 @@
286286
<type>warning</type>
287287
</rule>
288288
<rule ref="Magento2.Legacy.ObsoleteMenu">
289-
<include-pattern>*\/widget.xml$</include-pattern>
289+
<include-pattern>etc/config.xml</include-pattern>
290+
<include-pattern>etc/config.*.xml</include-pattern>
291+
<include-pattern>etc/*/config.xml</include-pattern>
290292
<severity>8</severity>
291293
<type>warning</type>
292294
</rule>

0 commit comments

Comments
 (0)