diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 6ae08353..137161d1 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -10,6 +10,12 @@ return (new Config()) 'array_syntax' => [ 'syntax' => 'short', ], + 'binary_operator_spaces' => [ + 'default' => 'single_space', + 'operators' => [ + '=>' => null, + ], + ], 'cast_spaces' => true, 'class_attributes_separation' => [ 'elements' => [ @@ -17,9 +23,13 @@ return (new Config()) ], ], 'function_typehint_space' => true, + 'magic_constant_casing' => true, + 'magic_method_casing' => true, 'method_argument_space' => [ 'on_multiline' => 'ignore', ], + 'native_function_casing' => true, + 'native_function_type_declaration_casing' => true, 'no_multiline_whitespace_around_double_arrow' => true, 'no_singleline_whitespace_before_semicolons' => true, 'no_trailing_comma_in_singleline_array' => true,