Skip to content

Commit ea2e023

Browse files
committed
Replace deprecated coding standard rule
1 parent 540816f commit ea2e023

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpcs.xml.dist

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
<rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"/>
5656
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/>
5757
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/>
58-
<rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat">
58+
<rule ref="SlevomatCodingStandard.TypeHints.DNFTypeHintFormat">
5959
<properties>
60-
<property name="withSpaces" value="no" />
60+
<property name="withSpacesAroundOperators" value="no" />
6161
<property name="nullPosition" value="first" />
6262
</properties>
6363
</rule>

0 commit comments

Comments
 (0)