Skip to content

Commit 978bfee

Browse files
committed
Registered rule to downgrade-php84 ruleset
1 parent c78fd72 commit 978bfee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/set/downgrade-php84.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
declare(strict_types=1);
44

55
use Rector\Config\RectorConfig;
6+
use Rector\DowngradePhp84\Rector\FuncCall\DowngradeRoundingModeEnumRector;
67
use Rector\DowngradePhp84\Rector\MethodCall\DowngradeNewMethodCallWithoutParenthesesRector;
78
use Rector\ValueObject\PhpVersion;
89

910
return static function (RectorConfig $rectorConfig): void {
1011
$rectorConfig->phpVersion(PhpVersion::PHP_83);
1112
$rectorConfig->rules([
1213
DowngradeNewMethodCallWithoutParenthesesRector::class,
14+
DowngradeRoundingModeEnumRector::class,
1315
]);
1416
};

0 commit comments

Comments
 (0)