File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 99use Rector \Php81 \Rector \Array_ \FirstClassCallableRector ;
1010use Rector \Set \ValueObject \LevelSetList ;
1111use Rector \Set \ValueObject \SetList ;
12+ use Rector \Strict \Rector \BooleanNot \BooleanInBooleanNotRuleFixerRector ;
1213
1314return static function (RectorConfig $ rectorConfig ): void {
1415 $ rectorConfig ->sets ([
3839 __DIR__ . '/spec ' ,
3940 ],
4041 FirstClassCallableRector::class,
42+ BooleanInBooleanNotRuleFixerRector::class => [
43+ __DIR__ . '/src/Handler/Logging.php ' ,
44+ ],
4145 ]);
4246};
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ private function isExists(
227227 } catch (RuntimeException $ runtimeException ) {
228228 // use \Laminas\Db\Adapter\Exception\RuntimeException but do here
229229 // to avoid too much deep trace from Laminas\Db classes
230- throw new $ {( $ {'' } = $ runtimeException ::class) === '' }($ runtimeException ->getMessage ());
230+ throw new $ {! $ {'' } = $ runtimeException ::class}($ runtimeException ->getMessage ());
231231 }
232232 }
233233 }
You can’t perform that action at this time.
0 commit comments