Skip to content

Commit a791fc9

Browse files
committed
enable rule
1 parent daf53fd commit a791fc9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/sets/phpunit-code-quality.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
declare(strict_types=1);
44

5+
use Rector\PHPUnit\CodeQuality\Rector\Expression\DecorateWillReturnMapWithExpectsMockRector;
56
use Rector\Config\RectorConfig;
67
use Rector\PHPUnit\CodeQuality\Rector\CallLike\DirectInstanceOverMockArgRector;
78
use Rector\PHPUnit\CodeQuality\Rector\Class_\AddParamTypeFromDependsRector;
@@ -151,6 +152,7 @@
151152
EntityDocumentCreateMockToDirectNewRector::class,
152153
ReplaceAtMethodWithDesiredMatcherRector::class,
153154
BareCreateMockAssignToDirectUseRector::class,
155+
DecorateWillReturnMapWithExpectsMockRector::class,
154156

155157
// dead code
156158
RemoveNeverUsedMockPropertyRector::class,

0 commit comments

Comments
 (0)