Skip to content

Commit 199057a

Browse files
authored
#149 No imports from test namespace
Exclude running for tests
1 parent 61c5bae commit 199057a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Magento2/ruleset.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,11 @@
192192
<rule ref="Magento2.Namespaces.ImportsFromTestNamespace">
193193
<severity>8</severity>
194194
<type>warning</type>
195+
<exclude-pattern>*/_files/*</exclude-pattern>
196+
<exclude-pattern>*/Fixtures/*</exclude-pattern>
197+
<exclude-pattern>*/Test/*</exclude-pattern>
198+
<exclude-pattern>*Test.php</exclude-pattern>
199+
<exclude-pattern>*/tests/*</exclude-pattern>
195200
</rule>
196201
<rule ref="Magento2.NamingConvention.InterfaceName">
197202
<severity>8</severity>

0 commit comments

Comments
 (0)