mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Do not replace our !== null checks with instanceof
This commit is contained in:
parent
272608b4ec
commit
0e3b8a2a28
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\CodeQuality\Rector\Identical\FlipTypeControlToUseExclusiveTypeRector;
|
||||
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Doctrine\Set\DoctrineSetList;
|
||||
|
@ -55,6 +56,8 @@ return static function (RectorConfig $rectorConfig): void {
|
|||
|
||||
$rectorConfig->skip([
|
||||
CountArrayToEmptyArrayComparisonRector::class,
|
||||
//Leave our !== null checks alone
|
||||
FlipTypeControlToUseExclusiveTypeRector::class,
|
||||
]);
|
||||
|
||||
//Do not apply rules to Symfony own files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue