diff --git a/.php_cs.dist.php b/.php_cs.dist.php index caa53e45..a86f2aa8 100644 --- a/.php_cs.dist.php +++ b/.php_cs.dist.php @@ -21,8 +21,13 @@ 'phpdoc_scalar' => true, 'unary_operator_spaces' => true, 'binary_operator_spaces' => [ - 'align_double_arrow' => false, - 'align_equals' => false, + 'operators' => [ + '=>' => 'single_space', + '===' => 'single_space', + '=' => 'single_space', + 'xor' => 'single_space', + '|' => 'no_space', + ] ], 'blank_line_before_statement' => [ 'statements' => ['break', 'continue', 'declare', 'return', 'throw', 'try'],