From 5d38fb53ad738cbcafd4be770c04a51184994a1b Mon Sep 17 00:00:00 2001 From: rogerdz Date: Thu, 21 Aug 2025 06:22:01 +0000 Subject: [PATCH 1/2] update code --- .php-cs-fixer.dist.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 30fcfc86de059..7dd55fcffa9d6 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -23,6 +23,7 @@ $config = new PhpCsFixer\Config(); $config->setFinder($finder) + ->setRiskyAllowed(true) ->setRules([ '@PSR2' => true, 'array_syntax' => ['syntax' => 'short'], @@ -43,5 +44,9 @@ 'ordered_imports' => true, 'standardize_not_equals' => true, 'ternary_operator_spaces' => true, + 'native_function_invocation' => [ + 'include' => ['@compiler_optimized'], + 'scope' => 'namespaced', + ], ]); return $config; From 7d78d55ab64977ea2c8454fe648c3609e275efc4 Mon Sep 17 00:00:00 2001 From: rogerdz Date: Thu, 21 Aug 2025 07:40:30 +0000 Subject: [PATCH 2/2] update code --- .php-cs-fixer.dist.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 7dd55fcffa9d6..b4cd258a52fd1 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -1,7 +1,7 @@