From 3e452c0b5996514024bae0f613603b1c657e29cb Mon Sep 17 00:00:00 2001 From: Bob den Otter Date: Tue, 15 Sep 2020 11:21:32 +0200 Subject: [PATCH] Fix ECS by explicitly skipping `UnaryOperatorSpacesFixer` --- ecs.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ecs.php b/ecs.php index b49a1179e..511e094e6 100644 --- a/ecs.php +++ b/ecs.php @@ -29,6 +29,7 @@ use PhpCsFixer\Fixer\Operator\IncrementStyleFixer; use PhpCsFixer\Fixer\Operator\NewWithBracesFixer; use PhpCsFixer\Fixer\Operator\TernaryOperatorSpacesFixer; +use PhpCsFixer\Fixer\Operator\UnaryOperatorSpacesFixer; use PhpCsFixer\Fixer\Phpdoc\NoSuperfluousPhpdocTagsFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocAlignFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocAnnotationWithoutDotFixer; @@ -64,6 +65,7 @@ PhpdocAlignFixer::class => null, NativeConstantInvocationFixer::class => null, NativeFunctionInvocationFixer::class => null, + UnaryOperatorSpacesFixer::class => null, ]); $services = $containerConfigurator->services();