Skip to content

Commit

Permalink
[ECS] Import Control Structure SetList after Option Skip (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Aug 26, 2021
1 parent c254054 commit 4c3a8a7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

declare(strict_types=1);

use PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\AssignmentInConditionSniff;
use PhpCsFixer\Fixer\Operator\UnaryOperatorSpacesFixer;
use PhpCsFixer\Fixer\Phpdoc\GeneralPhpdocAnnotationRemoveFixer;
use PhpCsFixer\Fixer\Phpdoc\NoSuperfluousPhpdocTagsFixer;
Expand Down Expand Up @@ -96,9 +95,8 @@
__DIR__ . '/packages-tests/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser/StaticDoctrineAnnotationParserTest.php',
'*TypeResolverTest.php',
],

AssignmentInConditionSniff::class . '.FoundInWhileCondition' => null,
]);

$containerConfigurator->import(SetList::CONTROL_STRUCTURES);
$parameters->set(Option::LINE_ENDING, "\n");
};

0 comments on commit 4c3a8a7

Please sign in to comment.