Skip to content

Commit 214103e

Browse files
committed
add SetUpBeforeClassToSetUpRector to code-quality set
1 parent 8765e6d commit 214103e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/sets/phpunit-code-quality.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Rector\PHPUnit\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefinedPropertyRector;
1010
use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector;
1111
use Rector\PHPUnit\CodeQuality\Rector\Class_\RemoveDataProviderParamKeysRector;
12+
use Rector\PHPUnit\CodeQuality\Rector\Class_\SetUpBeforeClassToSetUpRector;
1213
use Rector\PHPUnit\CodeQuality\Rector\Class_\SingleMockPropertyTypeRector;
1314
use Rector\PHPUnit\CodeQuality\Rector\Class_\TestWithToDataProviderRector;
1415
use Rector\PHPUnit\CodeQuality\Rector\Class_\TypeWillReturnCallableArrowFunctionRector;
@@ -117,6 +118,8 @@
117118
RemoveExpectAnyFromMockRector::class,
118119
SingleMockPropertyTypeRector::class,
119120

121+
SetUpBeforeClassToSetUpRector::class,
122+
120123
// prefer simple mocking
121124
GetMockBuilderGetMockToCreateMockRector::class,
122125
EntityDocumentCreateMockToDirectNewRector::class,

0 commit comments

Comments
 (0)