mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-13 07:37:36 +00:00
Extend Rector configuration to support PHP 8.0 to 8.4 features
- Added `SetList::PHP_80` to `SetList::PHP_84` for advanced PHP version support. - Enhanced compatibility by incorporating broader PHP syntax improvements.
This commit is contained in:
@@ -13,8 +13,11 @@ use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php80\Rector\Class_\AnnotationToAttributeRector;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
use Rector\Set\ValueObject\SetList;
|
||||
use Rector\Symfony\Set\SymfonySetList;
|
||||
|
||||
return RectorConfig::configure()
|
||||
->withPaths(['./src', './docs', './rector.php'])
|
||||
->withComposerBased(twig: true, doctrine: true, symfony: true);
|
||||
->withComposerBased(twig: true, doctrine: true, symfony: true)
|
||||
->withSets([SetList::PHP_80, SetList::PHP_81, SetList::PHP_82, SetList::PHP_83, SetList::PHP_84])
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user