Skip to content

Commit 1bfe531

Browse files
authored
Merge pull request #6480 from paulbalandan/date-time-create-from-format-call
Disable `date_time_create_from_format_call`
2 parents 2a8b1ba + 046e77f commit 1bfe531

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.php-cs-fixer.dist.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
'allow_single_line_empty_anonymous_classes' => true,
5959
'allow_single_line_anonymous_functions' => true,
6060
],
61-
'function_declaration' => [
61+
'date_time_create_from_format_call' => false,
62+
'function_declaration' => [
6263
'closure_function_spacing' => 'one',
6364
'trailing_comma_single_line' => false,
6465
],

.php-cs-fixer.no-header.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
'allow_single_line_empty_anonymous_classes' => true,
5151
'allow_single_line_anonymous_functions' => true,
5252
],
53-
'function_declaration' => [
53+
'date_time_create_from_format_call' => false,
54+
'function_declaration' => [
5455
'closure_function_spacing' => 'one',
5556
'trailing_comma_single_line' => false,
5657
],

.php-cs-fixer.user-guide.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
'allow_single_line_empty_anonymous_classes' => true,
5353
'allow_single_line_anonymous_functions' => true,
5454
],
55-
'function_declaration' => [
55+
'date_time_create_from_format_call' => false,
56+
'function_declaration' => [
5657
'closure_function_spacing' => 'one',
5758
'trailing_comma_single_line' => false,
5859
],

0 commit comments

Comments
 (0)