Skip to content

Commit

Permalink
Fix: Enable and configure type_declaration_spaces instead of deprecat…
Browse files Browse the repository at this point in the history
…ed function_typehint_space fixer (#698)
  • Loading branch information
localheinz authored Sep 3, 2023
1 parent fb0d147 commit a337b82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
'curly_braces_position' => true,
'declare_equal_normalize' => true,
'declare_parentheses' => true,
'function_typehint_space' => true,
'general_phpdoc_annotation_remove' => [
'annotations' => [
'author',
Expand Down Expand Up @@ -222,6 +221,11 @@
],
],
'trim_array_spaces' => true,
'type_declaration_spaces' => [
'elements' => [
'function',
],
],
'unary_operator_spaces' => true,
'visibility_required' => [
'elements' => [
Expand Down

0 comments on commit a337b82

Please sign in to comment.