Skip to content

Commit cddb4b8

Browse files
authored
feat(TypeHints): Add SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue sniffer for PHP 8.4 (#3471146)
1 parent 4288ec7 commit cddb4b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coder_sniffer/Drupal/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
<property name="spacesCountAroundEqualsSign" value="0"/>
136136
</properties>
137137
</rule>
138+
<rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue" />
138139

139140
<rule ref="Squiz.Arrays.ArrayDeclaration" />
140141
<!-- Disable some error messages that we do not want. -->

0 commit comments

Comments
 (0)