Skip to content

Commit 8bcf8c9

Browse files
committed
Added Constant visibility in the ruleset
1 parent 6bba04d commit 8bcf8c9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Magento2/ruleset.xml

+7
Original file line numberDiff line numberDiff line change
@@ -732,4 +732,11 @@
732732
<rule ref="Internal.NoCodeFound">
733733
<severity>0</severity>
734734
</rule>
735+
<rule ref="PSR12.Properties.ConstantVisibility">
736+
<severity>5</severity>
737+
<type>warning</type>
738+
<exclude-pattern>*/_files/*</exclude-pattern>
739+
<exclude-pattern>*/Test/*</exclude-pattern>
740+
<exclude-pattern>*Test.php</exclude-pattern>
741+
</rule>
735742
</ruleset>

0 commit comments

Comments
 (0)