diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 30fcfc86de05..b4cd258a52fd 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -1,7 +1,7 @@ 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;