Skip to content

Commit

Permalink
Ignore faulty rectors
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Nov 7, 2024
1 parent 940eb0c commit 52d192a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector::class, // unreadable, slow, error prone
Rector\TypeDeclaration\Rector\FunctionLike\AddReturnTypeDeclarationFromYieldsRector::class, // iterable is fine
Rector\CodeQuality\Rector\Foreach_\UnusedForeachValueToArrayKeysRector::class, // inefficient
Rector\PHPUnit\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefinedPropertyRector::class, // falsely removes $this->schema assignments in some tests
Rector\PHPUnit\PHPUnit100\Rector\StmtsAwareInterface\WithConsecutiveRector::class, // messes up our custom withConsecutive replacement
Rector\PHPUnit\PHPUnit60\Rector\ClassMethod\AddDoesNotPerformAssertionToNonAssertingTestRector::class, // does not recognize mockResolver
Rector\Php80\Rector\FunctionLike\MixedTypeRector::class, // removes useful comments
]);
Expand Down

0 comments on commit 52d192a

Please sign in to comment.