Skip to content

Commit c6e1d46

Browse files
committed
Replace deprecated coding standard rule
1 parent 9e3eba1 commit c6e1d46

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

phpcs.xml

Lines changed: 2 additions & 2 deletions
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)