Skip to content

Commit

Permalink
cs: Cleanup .php-cs-fixer.dist.php.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jan 24, 2022
1 parent 3b773ad commit 0fba6da
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,10 @@
->getFinder()
->ignoreDotFiles(false)
->notPath('src/Contract/Operation/Allable.php')
// This is for the test "testAllowsDifferentClassesWithSameInterfaceButInDifferentOrder"
// See https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/3871
->notPath('tests/unit/Iterator/TypedIteratorTest.php')
->name(['.php_cs.dist']);

$rules = $config->getRules();

$rules['return_assignment'] = false;
// See https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6179
$rules['php_unit_dedicate_assert'] = false;

return $config->setRules($rules);

0 comments on commit 0fba6da

Please sign in to comment.