Skip to content

Commit

Permalink
Change default for nullable_type_declaration_for_default_null_value
Browse files Browse the repository at this point in the history
Because support for implicit support for implicit nullability exists
only for backwards compatibility reasons and will be removed in the
future. See laravel#235.
  • Loading branch information
otsch committed Dec 1, 2023
1 parent 3c5b5f3 commit 415793e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions resources/presets/laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@
'normalize_index_brace' => true,
'not_operator_with_successor_space' => true,
'nullable_type_declaration' => true,
'nullable_type_declaration_for_default_null_value' => [
'use_nullable_type_declaration' => false,
],
'nullable_type_declaration_for_default_null_value' => true,
'object_operator_without_whitespace' => true,
'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['const', 'class', 'function']],
'ordered_interfaces' => true,
Expand Down

0 comments on commit 415793e

Please sign in to comment.