diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 457b60219ae8..81847ef5b366 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -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, ], diff --git a/.php-cs-fixer.no-header.php b/.php-cs-fixer.no-header.php index f2b72650392e..0efc00bb48a6 100644 --- a/.php-cs-fixer.no-header.php +++ b/.php-cs-fixer.no-header.php @@ -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, ], diff --git a/.php-cs-fixer.user-guide.php b/.php-cs-fixer.user-guide.php index 57f771d4cdcb..03b190a8e340 100644 --- a/.php-cs-fixer.user-guide.php +++ b/.php-cs-fixer.user-guide.php @@ -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, ],