Skip to content

Commit

Permalink
skip MixedTypeRector
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Jun 5, 2024
1 parent 6f2ee68 commit be1dd92
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 @@ -12,6 +12,7 @@
use Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector;
use Rector\Config\RectorConfig;
use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector;
use Rector\Php80\Rector\FunctionLike\MixedTypeRector;
use Rector\PHPUnit\PHPUnit60\Rector\ClassMethod\AddDoesNotPerformAssertionToNonAssertingTestRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Set\ValueObject\SetList;
Expand Down Expand Up @@ -58,6 +59,7 @@
AddReturnTypeDeclarationFromYieldsRector::class, // iterable is fine
UnusedForeachValueToArrayKeysRector::class, // inefficient
AddDoesNotPerformAssertionToNonAssertingTestRector::class, // does not recognize mockResolver
MixedTypeRector::class, // removes useful comments
]);
$rectorConfig->paths([
__DIR__ . '/src',
Expand Down

0 comments on commit be1dd92

Please sign in to comment.