From 9b9e776aea8b496f56f310eea5269d729fa4cfd4 Mon Sep 17 00:00:00 2001 From: magentix Date: Mon, 10 Jun 2024 09:32:18 +0200 Subject: [PATCH] Skip ECS space fixer rules --- composer.json.ci | 2 +- ecs.php | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/composer.json.ci b/composer.json.ci index b8b4840..4fd7310 100644 --- a/composer.json.ci +++ b/composer.json.ci @@ -12,7 +12,7 @@ "magento/framework": "*" }, "type": "magento2-module", - "version": "100.2.1", + "version": "100.3.0", "autoload": { "files": [ "registration.php" diff --git a/ecs.php b/ecs.php index a618e62..a827fd9 100644 --- a/ecs.php +++ b/ecs.php @@ -5,6 +5,8 @@ use PhpCsFixer\Fixer\Import\NoUnusedImportsFixer; use Symplify\EasyCodingStandard\Config\ECSConfig; use Symplify\EasyCodingStandard\ValueObject\Set\SetList; +use PhpCsFixer\Fixer\Operator\NotOperatorWithSuccessorSpaceFixer; +use PhpCsFixer\Fixer\CastNotation\CastSpacesFixer; return function (ECSConfig $ecsConfig): void { $ecsConfig->paths([ @@ -32,4 +34,9 @@ SetList::PSR_12, SetList::SYMPLIFY ]); + + $ecsConfig->skip([ + NotOperatorWithSuccessorSpaceFixer::class, + CastSpacesFixer::class + ]); };