From 0c4e7f3347d82840fb4ace53f2ef33384090ebaa Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 5 May 2023 04:36:17 +0000 Subject: [PATCH] [TASK] Sync src/CsFixerConfig.php with the latest TYPO3 Core version --- src/CsFixerConfig.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CsFixerConfig.php b/src/CsFixerConfig.php index 71596e6..85f4080 100644 --- a/src/CsFixerConfig.php +++ b/src/CsFixerConfig.php @@ -44,11 +44,11 @@ class CsFixerConfig extends Config implements CsFixerConfigInterface '@PER' => true, 'array_syntax' => ['syntax' => 'short'], 'blank_line_after_opening_tag' => true, - 'braces' => ['allow_single_line_closure' => true], 'cast_spaces' => ['space' => 'none'], 'compact_nullable_typehint' => true, 'concat_space' => ['spacing' => 'one'], 'declare_equal_normalize' => ['space' => 'none'], + 'declare_parentheses' => true, 'dir_constant' => true, 'function_to_constant' => ['functions' => ['get_called_class', 'get_class', 'get_class_this', 'php_sapi_name', 'phpversion', 'pi']], 'function_typehint_space' => true, @@ -88,6 +88,7 @@ class CsFixerConfig extends Config implements CsFixerConfigInterface 'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'], 'return_type_declaration' => ['space_before' => 'none'], 'single_quote' => true, + 'single_space_around_construct' => true, 'single_line_comment_style' => ['comment_types' => ['hash']], 'single_trait_insert_per_statement' => true, 'trailing_comma_in_multiline' => ['elements' => ['arrays']],