Skip to content

Commit 0df848c

Browse files
committed
chore: Enable php-cs-fixer rules to avoid implicitly nullable method arguments
1 parent 7c7f4bc commit 0df848c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: .php-cs-fixer.dist.php

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
'native_function_invocation' => [
1717
'strict' => false
1818
],
19+
'nullable_type_declaration' => [
20+
'syntax' => 'question_mark',
21+
],
22+
'nullable_type_declaration_for_default_null_value' => true,
1923
])
2024
->setFinder(
2125
PhpCsFixer\Finder::create()

0 commit comments

Comments
 (0)