Rector 2.4.0 causes timeout issues. Version 2.3.9 dont run into this issues with the same codebase
return RectorConfig::configure()
->withPaths([
__DIR__ . '/app',
__DIR__ . '/bootstrap',
__DIR__ . '/config',
__DIR__ . '/lang',
__DIR__ . '/resources',
__DIR__ . '/routes',
__DIR__ . '/tests',
])
->withCache(
cacheDirectory: './rector',
cacheClass: FileCacheStorage::class
)
->withSets([
PHPUnitSetList::PHPUNIT_110,
])
->withSkip([
__DIR__ . '/bootstrap/cache',
__DIR__ . '/resources/assets',
__DIR__ . '/resources/artwork',
__DIR__ . '/app/LegacyPackages',
FunctionFirstClassCallableRector::class,
\Rector\CodingStyle\Rector\ArrowFunction\ArrowFunctionDelegatingCallToFirstClassCallableRector::class
])
->withPhpSets()
->withTypeCoverageLevel(63)
->withDeadCodeLevel(59)
->withCodeQualityLevel(35);`
[ERROR] Could not process
"/var/www/html/vendor/rector/rector/vendor/symplify/easy-parallel/src/ValueObject/ParallelProcess.php" file,
due to:
"Child process timed out after 120 seconds". On line: 96
[ERROR] Could not process some files, due to:
"Child process error: Killed
".
[ERROR] Could not process some files, due to:
"Reached system errors count limit of 50, exiting...".
Script vendor/bin/rector process --dry-run handling the check-rector event returned with error code 1
Bug Report
Rector 2.4.0 causes timeout issues. Version 2.3.9 dont run into this issues with the same codebase
The rector config file
Expected Behaviour