Skip to content

Commit

Permalink
[Util] Register AddCoversClassAttributeRector as by guessing class de…
Browse files Browse the repository at this point in the history
…tection (#5820)
  • Loading branch information
samsonasik committed Apr 13, 2024
1 parent 3df5a62 commit 5f21299
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/Command/MissingInSetCommand.php
Expand Up @@ -16,6 +16,7 @@
use Rector\Doctrine\CodeQuality\Rector\Property\TypedPropertyFromDoctrineCollectionRector;
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\AddCoversClassAttributeRector;
use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector;
use Rector\Privatization\Rector\Class_\FinalizeTestCaseClassRector;
use Rector\TypeDeclaration\Rector\BooleanAnd\BinaryOpNullableToInstanceofRector;
Expand Down Expand Up @@ -58,6 +59,9 @@ final class MissingInSetCommand extends Command
// deprecated
InitializeDefaultEntityCollectionRector::class,
TypedPropertyFromDoctrineCollectionRector::class,

// by guessing class detection
AddCoversClassAttributeRector::class,
];

public function __construct(
Expand Down

0 comments on commit 5f21299

Please sign in to comment.