From 004818dc0ddc224b5e1191bb30cede0e82876990 Mon Sep 17 00:00:00 2001 From: Dariusz Ruminski Date: Wed, 7 Aug 2024 19:05:36 +0200 Subject: [PATCH] DX: simplify PHP CS Fixer config towards v3.62 --- .php-cs-fixer.dist.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index e0cbb76f0917e..0dcbea6130cd1 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -32,12 +32,7 @@ '@Symfony:risky' => true, 'protected_to_private' => false, 'header_comment' => ['header' => $fileHeaderComment], - // TODO: Remove once the "compiler_optimized" set includes "sprintf" - 'native_function_invocation' => ['include' => ['@compiler_optimized', 'sprintf'], 'scope' => 'namespaced', 'strict' => true], - 'nullable_type_declaration' => true, - 'nullable_type_declaration_for_default_null_value' => true, 'trailing_comma_in_multiline' => ['elements' => ['arrays', 'match', 'parameters']], - 'new_with_parentheses' => ['anonymous_class' => false], ]) ->setRiskyAllowed(true) ->setFinder(