Skip to content

Commit

Permalink
Add separate rule for nullable_type_declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
filippeb committed Feb 23, 2024
1 parent fc23c28 commit 7dbdeec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions configs/.php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,6 @@
'string_line_ending' => true,
'ternary_to_null_coalescing' => true,
'void_return' => true,
'nullable_type_declaration_for_default_null_value' => true,
])
;
3 changes: 2 additions & 1 deletion recipes/phpro.symfony-conventions.1.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,15 @@
" 'string_line_ending' => true,",
" 'ternary_to_null_coalescing' => true,",
" 'void_return' => true,",
" 'nullable_type_declaration_for_default_null_value' => true,",
" ])",
" ;",
""
],
"executable": false
}
},
"ref": "cf9cea7b7bed384e61df5472858f35170b28371f"
"ref": "1f1bca2d576942aece315d8e6462a0a1aea8572e"
}
}
}

0 comments on commit 7dbdeec

Please sign in to comment.