Skip to content

Commit 45b6888

Browse files
Add rule for space after cast and space after Not
1 parent 6edffc8 commit 45b6888

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Inpsyde/ruleset.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@
144144
</rule>
145145
<rule ref="Generic.CodeAnalysis.AssignmentInCondition"/>
146146
<rule ref="Generic.CodeAnalysis.EmptyPHPStatement"/>
147+
<rule ref="Generic.Formatting.SpaceAfterCast"/>
148+
<rule ref="Generic.Formatting.SpaceAfterNot"/>
147149
<rule ref="Generic.Metrics.CyclomaticComplexity">
148150
<properties>
149151
<property name="absoluteComplexity" value="50"/>

0 commit comments

Comments
 (0)