Skip to content

Commit

Permalink
Merge pull request #6480 from paulbalandan/date-time-create-from-form…
Browse files Browse the repository at this point in the history
…at-call

Disable `date_time_create_from_format_call`
  • Loading branch information
paulbalandan authored Sep 9, 2022
2 parents 2a8b1ba + 046e77f commit 1bfe531
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
'allow_single_line_empty_anonymous_classes' => true,
'allow_single_line_anonymous_functions' => true,
],
'function_declaration' => [
'date_time_create_from_format_call' => false,
'function_declaration' => [
'closure_function_spacing' => 'one',
'trailing_comma_single_line' => false,
],
Expand Down
3 changes: 2 additions & 1 deletion .php-cs-fixer.no-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
'allow_single_line_empty_anonymous_classes' => true,
'allow_single_line_anonymous_functions' => true,
],
'function_declaration' => [
'date_time_create_from_format_call' => false,
'function_declaration' => [
'closure_function_spacing' => 'one',
'trailing_comma_single_line' => false,
],
Expand Down
3 changes: 2 additions & 1 deletion .php-cs-fixer.user-guide.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
'allow_single_line_empty_anonymous_classes' => true,
'allow_single_line_anonymous_functions' => true,
],
'function_declaration' => [
'date_time_create_from_format_call' => false,
'function_declaration' => [
'closure_function_spacing' => 'one',
'trailing_comma_single_line' => false,
],
Expand Down

0 comments on commit 1bfe531

Please sign in to comment.