Skip to content

Commit b90f56c

Browse files
committed
Use rector core ReplaceNegatedBooleanNotRector
This was merged in to rector core with rectorphp/rector-src#7527
1 parent 3990e12 commit b90f56c

2 files changed

Lines changed: 0 additions & 90 deletions

File tree

rector.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
require_once __DIR__ . '/util/rector/ReduceKnownBooleanAnd.php';
66
require_once __DIR__ . '/util/rector/ReduceKnownBooleanOr.php';
77
require_once __DIR__ . '/util/rector/ReplaceKnownDefinedWithBooleanRector.php';
8-
require_once __DIR__ . '/util/rector/ReplaceNegatedBooleanRector.php';
98

109
use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector;
1110
use Rector\CodingStyle\Rector\ClassMethod\NewlineBeforeNewAssignSetRector;
@@ -18,7 +17,6 @@
1817
use Rector\DeadCode\Rector\If_\RemoveAlwaysTrueIfConditionRector2;
1918
use Rector\Php53\Rector\Ternary\TernaryToElvisRector;
2019
use Rector\Set\ValueObject\SetList;
21-
use Rector\Transform\Rector\BooleanNot\ReplaceNegatedBooleanRector;
2220
use StaticDeploy\Rector\ReduceKnownBooleanAnd;
2321
use StaticDeploy\Rector\ReduceKnownBooleanOr;
2422

@@ -46,7 +44,6 @@
4644
ReduceKnownBooleanAnd::class,
4745
ReduceKnownBooleanOr::class,
4846
ReplaceKnownDefinedWithBooleanRector::class,
49-
ReplaceNegatedBooleanRector::class,
5047
]
5148
)
5249
->withSets(

util/rector/ReplaceNegatedBooleanRector.php

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)