We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd5bdcc commit 01d7283Copy full SHA for 01d7283
config/sets/phpunit-code-quality.php
@@ -46,6 +46,7 @@
46
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\UseSpecificWillMethodRector;
47
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\UseSpecificWithMethodRector;
48
use Rector\PHPUnit\PHPUnit60\Rector\MethodCall\GetMockBuilderGetMockToCreateMockRector;
49
+use Rector\PHPUnit\PHPUnit90\Rector\MethodCall\ReplaceAtMethodWithDesiredMatcherRector;
50
51
return static function (RectorConfig $rectorConfig): void {
52
$rectorConfig->rules([
@@ -119,5 +120,6 @@
119
120
// prefer simple mocking
121
GetMockBuilderGetMockToCreateMockRector::class,
122
EntityDocumentCreateMockToDirectNewRector::class,
123
+ ReplaceAtMethodWithDesiredMatcherRector::class,
124
]);
125
};
0 commit comments