Skip to content

Commit

Permalink
[build] add enum to const list downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Dec 1, 2022
1 parent 4f358d2 commit f387890
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/config/config-downgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
$rectorConfig->phpstanConfig(__DIR__ . '/phpstan-for-downgrade.neon');

$rectorConfig->import(DowngradeLevelSetList::DOWN_TO_PHP_72);
$rectorConfig->rules([
\Rector\DowngradePhp80\Rector\Enum_\DowngradeEnumToConstantListClassRector::class,
]);
};

/**
Expand Down

0 comments on commit f387890

Please sign in to comment.