Skip to content

Commit

Permalink
[CS] Cs Fix config Skip AssignmentInConditionSniff FoundInWhielCondit…
Browse files Browse the repository at this point in the history
…ion (#767)
  • Loading branch information
samsonasik committed Aug 26, 2021
1 parent db9cfd6 commit 4731c3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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 @@ -95,6 +96,8 @@
__DIR__ . '/packages-tests/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser/StaticDoctrineAnnotationParserTest.php',
'*TypeResolverTest.php',
],

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

$parameters->set(Option::LINE_ENDING, "\n");
Expand Down

0 comments on commit 4731c3f

Please sign in to comment.