Skip to content

Commit

Permalink
Skip ECS space fixer rules
Browse files Browse the repository at this point in the history
  • Loading branch information
magentix committed Jun 10, 2024
1 parent d80dc40 commit 9b9e776
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json.ci
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"magento/framework": "*"
},
"type": "magento2-module",
"version": "100.2.1",
"version": "100.3.0",
"autoload": {
"files": [
"registration.php"
Expand Down
7 changes: 7 additions & 0 deletions ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down Expand Up @@ -32,4 +34,9 @@
SetList::PSR_12,
SetList::SYMPLIFY
]);

$ecsConfig->skip([
NotOperatorWithSuccessorSpaceFixer::class,
CastSpacesFixer::class
]);
};

0 comments on commit 9b9e776

Please sign in to comment.