Skip to content

Commit 5723c6c

Browse files
committed
check not using empty()
1 parent d5d9b14 commit 5723c6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Consistence/ruleset.xml

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
<rule ref="SlevomatCodingStandard.Commenting.EmptyComment"/>
7676
<rule ref="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration"/>
7777
<rule ref="SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment"/>
78+
<rule ref="SlevomatCodingStandard.ControlStructures.DisallowEmpty"/>
7879
<rule ref="SlevomatCodingStandard.ControlStructures.DisallowYodaComparison"/>
7980
<rule ref="SlevomatCodingStandard.ControlStructures.LanguageConstructWithParentheses"/>
8081
<rule ref="SlevomatCodingStandard.ControlStructures.NewWithParentheses"/>

0 commit comments

Comments
 (0)