-
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
Description
Minimal PHP Code Causing Issue
Applied rules
->withPhpVersion(PhpVersion::PHP_84)
->withSets([
// Rector rules
SetList::CODE_QUALITY,
LevelSetList::UP_TO_PHP_84,
Typo3SetList::CODE_QUALITY,
Typo3SetList::GENERAL,
Typo3LevelSetList::UP_TO_TYPO3_13,
// To migrate to Doctrine Dbal 4, uncomment the following line
//\Rector\Doctrine\Set\DoctrineSetList::DOCTRINE_DBAL_40,
])
// To have a better analysis from PHPStan, we teach it here some more things
->withPHPStanConfigs([Typo3Option::PHPSTAN_FOR_RECTOR_PATH])
->withImportNames(true, true, false, true)
->withRules([
AddVoidReturnTypeWhereNoReturnRector::class,
ConvertImplicitVariablesToExplicitGlobalsRector::class,
])
->withConfiguredRule(ExtEmConfRector::class, [
ExtEmConfRector::PHP_VERSION_CONSTRAINT => '8.2.0-8.4.99',
ExtEmConfRector::TYPO3_VERSION_CONSTRAINT => '13.0.0-13.3.99',
ExtEmConfRector::ADDITIONAL_VALUES_TO_BE_REMOVED => [],
])
->withConfiguredRule(
RemoveTypo3VersionChecksRector::class,
[RemoveTypo3VersionChecksRector::TARGET_VERSION => 13]
)
->withSkip([
// @see https://github.com/sabbelasichon/typo3-rector/issues/2536
__DIR__ . '/**/Configuration/ExtensionBuilder/*',
NameImportingPostRector::class => [
'ClassAliasMap.php',
]
])
Expected Behaviour
Package Version
3.12.0
PHP Version
8.4.0
TYPO3 Version
13.4.25
Notes
adding these two brackets solves the error
Reactions are currently unavailable