Skip to content

Commit 3be0271

Browse files
committed
Add php-cs-fixer rule to prevent nullable deprecations
1 parent 6b912f2 commit 3be0271

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.php-cs-fixer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
$config
1010
->setRules([
1111
'@PSR2' => true,
12+
'nullable_type_declaration_for_default_null_value' => true,
1213
])
1314
->setFinder($finder)
1415
;

0 commit comments

Comments
 (0)