rector/config/set/unwrap-compat.php
Tomas Votruba 22a6a7d222 Updated Rector to commit dc7a9a85f3ee3fe7982b150db7fdf85d14164a26
dc7a9a85f3 [DeadCode] Skip remove variable on switch use return after break on RemoveUnusedVariableAssignRector (#2145)
2022-04-24 07:48:38 +00:00

11 lines
360 B
PHP

<?php
declare (strict_types=1);
namespace RectorPrefix20220424;
use Rector\Config\RectorConfig;
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfFunctionExistsRector;
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
$rectorConfig->rule(\Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfFunctionExistsRector::class);
};