Skip to content

Commit

Permalink
Instruct cs-fixer to declare nullable parameter types explicitly
Browse files Browse the repository at this point in the history
Implicit nullable parameter types are deprecated in PHP 8.4
  • Loading branch information
W0rma committed Aug 2, 2024
1 parent dc32693 commit 0108501
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
'native_function_invocation' => ['include' => ['@all']],
'final_class' => true,
'php_unit_mock_short_will_return' => true,
'nullable_type_declaration_for_default_null_value' => true,
])
->setFinder($finder)
;

0 comments on commit 0108501

Please sign in to comment.