diff --git a/scripts/PHP-CS-Fixer/code-format.php_cs b/scripts/PHP-CS-Fixer/code-format.php_cs index 3af795d741fb..6ecd362ff855 100755 --- a/scripts/PHP-CS-Fixer/code-format.php_cs +++ b/scripts/PHP-CS-Fixer/code-format.php_cs @@ -17,6 +17,7 @@ return (new PhpCsFixer\Config()) ->setRules([ '@PSR12' => true, 'strict_param' => false, + 'cast_spaces' => true, 'concat_space' => ['spacing' => 'one'], 'function_typehint_space' => true, 'function_declaration' => ['closure_fn_spacing' => 'none'],