diff --git a/packages/Parallel/Application/ParallelFileProcessor.php b/packages/Parallel/Application/ParallelFileProcessor.php index 4253c3eda4b..a73f97fcbf5 100644 --- a/packages/Parallel/Application/ParallelFileProcessor.php +++ b/packages/Parallel/Application/ParallelFileProcessor.php @@ -104,6 +104,10 @@ final class ParallelFileProcessor ++$systemErrorsCount; $reachedSystemErrorsCountLimit = \true; $this->processPool->quitAll(); + // This sleep has to be here, because event though we have called $this->processPool->quitAll(), + // it takes some time for the child processes to actually die, during which they can still write to cache + // @see https://github.com/rectorphp/rector-src/pull/3834/files#r1231696531 + \sleep(1); }; $timeoutInSeconds = $this->parameterProvider->provideIntParameter(Option::PARALLEL_JOB_TIMEOUT_IN_SECONDS); for ($i = 0; $i < $numberOfProcesses; ++$i) { diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index c00757ef6cb..28e720e9027 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = 'ad41e8a6cf9c319bc25ef3d6b6b47643edc76499'; + public const PACKAGE_VERSION = '0d6800eea6b74352bd2dd16d7a2254c9398e4e98'; /** * @api * @var string */ - public const RELEASE_DATE = '2023-06-18 21:24:46'; + public const RELEASE_DATE = '2023-06-19 08:23:04'; /** * @var int */ diff --git a/vendor/autoload.php b/vendor/autoload.php index 90e0ca698db..f9e3094024c 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) { require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInita23263c676bf46f912b30aa811ee8082::getLoader(); +return ComposerAutoloaderInit1d7cf0512d1a9abcf600e788fc23ce4a::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 3637fbe7a3d..881e561d4ae 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInita23263c676bf46f912b30aa811ee8082 +class ComposerAutoloaderInit1d7cf0512d1a9abcf600e788fc23ce4a { private static $loader; @@ -22,17 +22,17 @@ class ComposerAutoloaderInita23263c676bf46f912b30aa811ee8082 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInita23263c676bf46f912b30aa811ee8082', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit1d7cf0512d1a9abcf600e788fc23ce4a', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInita23263c676bf46f912b30aa811ee8082', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit1d7cf0512d1a9abcf600e788fc23ce4a', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInita23263c676bf46f912b30aa811ee8082::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit1d7cf0512d1a9abcf600e788fc23ce4a::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $filesToLoad = \Composer\Autoload\ComposerStaticInita23263c676bf46f912b30aa811ee8082::$files; + $filesToLoad = \Composer\Autoload\ComposerStaticInit1d7cf0512d1a9abcf600e788fc23ce4a::$files; $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 22eeff7ab0b..158b9f6e299 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInita23263c676bf46f912b30aa811ee8082 +class ComposerStaticInit1d7cf0512d1a9abcf600e788fc23ce4a { public static $files = array ( 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', @@ -3095,9 +3095,9 @@ class ComposerStaticInita23263c676bf46f912b30aa811ee8082 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInita23263c676bf46f912b30aa811ee8082::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInita23263c676bf46f912b30aa811ee8082::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInita23263c676bf46f912b30aa811ee8082::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit1d7cf0512d1a9abcf600e788fc23ce4a::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit1d7cf0512d1a9abcf600e788fc23ce4a::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit1d7cf0512d1a9abcf600e788fc23ce4a::$classMap; }, null, ClassLoader::class); }