Skip to content

Commit 6a735c1

Browse files
committed
AC-666: Static check for CopyrightTest for another extensions files
1 parent d528da6 commit 6a735c1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Magento2/ruleset.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<description>Magento Coding Standard</description>
44

55
<!-- File extensions to be checked. -->
6-
<arg name="extensions" value="php,phtml,graphqls/GraphQL,less/CSS,html/PHP,xml"/>
6+
<arg name="extensions" value="php,phtml,graphqls/GraphQL,less/CSS,html/PHP,xml,js/PHP"/>
77

88
<!-- Severity 10 errors: Critical code issues. -->
99
<rule ref="Generic.Functions.CallTimePassByReference">
@@ -629,6 +629,10 @@
629629
<exclude-pattern>*/Test/*</exclude-pattern>
630630
<exclude-pattern>*Test.php</exclude-pattern>
631631
</rule>
632+
<rule ref="Magento2.Legacy.CopyrightAnotherExtensionsFiles">
633+
<severity>5</severity>
634+
<type>warning</type>
635+
</rule>
632636
<rule ref="Internal.NoCodeFound">
633637
<severity>0</severity>
634638
</rule>

0 commit comments

Comments
 (0)