Skip to content

Commit

Permalink
magento#149 No imports from test namespace
Browse files Browse the repository at this point in the history
Exclude running for tests
  • Loading branch information
ihor-sviziev authored Dec 4, 2019
1 parent 61c5bae commit 199057a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Magento2/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@
<rule ref="Magento2.Namespaces.ImportsFromTestNamespace">
<severity>8</severity>
<type>warning</type>
<exclude-pattern>*/_files/*</exclude-pattern>
<exclude-pattern>*/Fixtures/*</exclude-pattern>
<exclude-pattern>*/Test/*</exclude-pattern>
<exclude-pattern>*Test.php</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="Magento2.NamingConvention.InterfaceName">
<severity>8</severity>
Expand Down

0 comments on commit 199057a

Please sign in to comment.