Skip to content

Commit be677e2

Browse files
committed
chore: add third-party sniffs
1 parent 34173b3 commit be677e2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Inpsyde/ruleset.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@
120120
Slevomat
121121
See https://github.com/slevomat/coding-standard
122122
-->
123+
<rule ref="SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace">
124+
<type>warning</type>
125+
</rule>
123126
<rule ref="SlevomatCodingStandard.Functions.ArrowFunctionDeclaration">
124127
<type>warning</type>
125128
<properties>
@@ -131,6 +134,7 @@
131134
<property name="spacesCountAroundEqualsSign" type="integer" value="0"/>
132135
</properties>
133136
</rule>
137+
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint" />
134138
<rule ref="SlevomatCodingStandard.Whitespaces.DuplicateSpaces">
135139
<type>warning</type>
136140
<properties>
@@ -169,6 +173,9 @@
169173
</rule>
170174
<rule ref="Generic.WhiteSpace.LanguageConstructSpacing"/>
171175
<rule ref="Generic.WhiteSpace.SpreadOperatorSpacingAfter"/>
176+
<rule ref="Squiz.Arrays.ArrayBracketSpacing">
177+
<type>warning</type>
178+
</rule>
172179
<rule ref="Squiz.Classes.LowercaseClassKeywords"/>
173180
<rule ref="Squiz.PHP.CommentedOutCode">
174181
<properties>

0 commit comments

Comments
 (0)