Skip to content

Commit

Permalink
fix: Skip RemoveUselessReturnTagRector and UnionTypesRector
Browse files Browse the repository at this point in the history
  • Loading branch information
siketyan committed Jun 1, 2023
1 parent 107bd44 commit 12c4eb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .idea/google-iap-laravel.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

use Quartetcom\StaticAnalysisKit\Rector\Config;
use Rector\Config\RectorConfig;
use Rector\DeadCode\Rector\ClassMethod\RemoveUselessReturnTagRector;
use Rector\Php80\Rector\FunctionLike\UnionTypesRector;
use Rector\TypeDeclaration\Rector\ClassMethod\ParamAnnotationIncorrectNullableRector;

return static function (RectorConfig $rectorConfig): void {
Expand All @@ -15,6 +17,8 @@
]));

$rectorConfig->skip([
RemoveUselessReturnTagRector::class,
UnionTypesRector::class,
ParamAnnotationIncorrectNullableRector::class => [
__DIR__ . '/src/Internal/Assert.php',
],
Expand Down

0 comments on commit 12c4eb5

Please sign in to comment.