Skip to content

Commit 7f8be03

Browse files
committed
Skip rector rules
- AssertFuncCallToPHPUnitAssertRector::class - FunctionLikeToFirstClassCallableRector::class
1 parent 5176407 commit 7f8be03

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rector.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@
1111
* file that was distributed with this source code.
1212
*/
1313

14+
use Rector\CodingStyle\Rector\FunctionLike\FunctionLikeToFirstClassCallableRector;
1415
use Rector\Config\RectorConfig;
1516
use Rector\Php70\Rector\FunctionLike\ExceptionHandlerTypehintRector;
1617
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
1718
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
1819
use Rector\PHPUnit\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefinedPropertyRector;
1920
use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector;
21+
use Rector\PHPUnit\CodeQuality\Rector\FuncCall\AssertFuncCallToPHPUnitAssertRector;
2022
use Rector\PHPUnit\Set\PHPUnitSetList;
2123
use Rector\Set\ValueObject\LevelSetList;
2224

@@ -40,5 +42,7 @@
4042
NullToStrictStringFuncCallArgRector::class,
4143
PreferPHPUnitThisCallRector::class,
4244
NarrowUnusedSetUpDefinedPropertyRector::class,
45+
AssertFuncCallToPHPUnitAssertRector::class,
46+
FunctionLikeToFirstClassCallableRector::class,
4347
]);
4448
};

0 commit comments

Comments
 (0)