Skip to content

Commit 5b865ce

Browse files
committed
Use DNFTypeHintFormat instead of deprecated UnionTypeHintFormat
1 parent 53b5829 commit 5b865ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IxDFCodingStandard/ruleset.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@
381381
</properties>
382382
</rule>
383383
<rule ref="SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint"/>
384+
<rule ref="SlevomatCodingStandard.TypeHints.DNFTypeHintFormat"/>
384385
<rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints"/>
385386
<rule ref="SlevomatCodingStandard.TypeHints.NullTypeHintOnLastPosition"/>
386387
<rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"/>
@@ -431,7 +432,6 @@
431432
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint"/>
432433
</rule>
433434
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/>
434-
<rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat"/>
435435
<rule ref="SlevomatCodingStandard.TypeHints.UselessConstantTypeHint"/>
436436
<rule ref="SlevomatCodingStandard.Variables.DisallowSuperGlobalVariable"/>
437437
<rule ref="SlevomatCodingStandard.Variables.DisallowVariableVariable"/>

0 commit comments

Comments
 (0)