mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
Updated Rector to commit 45c46ddf40f27d0d2793c6bd99b66c91a8fdf4f8
45c46ddf40
[DX] Fix hang on twice run after all files processed cached (#4521)
This commit is contained in:
parent
9965650f0e
commit
191ead1e48
@ -111,12 +111,12 @@ final class ApplicationFileProcessor
|
||||
public function run(Configuration $configuration, InputInterface $input) : array
|
||||
{
|
||||
$filePaths = $this->fileFactory->findFilesInPaths($configuration->getPaths(), $configuration);
|
||||
$filePaths = $this->resolveFilePathsByConfigurationFileExtensions($filePaths, $configuration);
|
||||
// no files found
|
||||
if ($filePaths === []) {
|
||||
return [Bridge::SYSTEM_ERRORS => [], Bridge::FILE_DIFFS => []];
|
||||
}
|
||||
$this->configureCustomErrorHandler();
|
||||
$filePaths = $this->resolveFilePathsByConfigurationFileExtensions($filePaths, $configuration);
|
||||
if ($configuration->isParallel()) {
|
||||
$systemErrorsAndFileDiffs = $this->runParallel($filePaths, $configuration, $input);
|
||||
} else {
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'e77f6d21a97319f57f11a7e6eae9b583fe425c1e';
|
||||
public const PACKAGE_VERSION = '45c46ddf40f27d0d2793c6bd99b66c91a8fdf4f8';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-07-15 07:45:34';
|
||||
public const RELEASE_DATE = '2023-07-15 12:07:23';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit39d1f21f0961349af70a1323053c942a::getLoader();
|
||||
return ComposerAutoloaderInit55e76aa0da41c77e2c57285ed0279a9a::getLoader();
|
||||
|
10
vendor/composer/autoload_real.php
vendored
10
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit39d1f21f0961349af70a1323053c942a
|
||||
class ComposerAutoloaderInit55e76aa0da41c77e2c57285ed0279a9a
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInit39d1f21f0961349af70a1323053c942a
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit39d1f21f0961349af70a1323053c942a', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit55e76aa0da41c77e2c57285ed0279a9a', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit39d1f21f0961349af70a1323053c942a', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit55e76aa0da41c77e2c57285ed0279a9a', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit39d1f21f0961349af70a1323053c942a::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit55e76aa0da41c77e2c57285ed0279a9a::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit39d1f21f0961349af70a1323053c942a::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit55e76aa0da41c77e2c57285ed0279a9a::$files;
|
||||
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit39d1f21f0961349af70a1323053c942a
|
||||
class ComposerStaticInit55e76aa0da41c77e2c57285ed0279a9a
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -3028,9 +3028,9 @@ class ComposerStaticInit39d1f21f0961349af70a1323053c942a
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit39d1f21f0961349af70a1323053c942a::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit39d1f21f0961349af70a1323053c942a::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit39d1f21f0961349af70a1323053c942a::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit55e76aa0da41c77e2c57285ed0279a9a::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit55e76aa0da41c77e2c57285ed0279a9a::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit55e76aa0da41c77e2c57285ed0279a9a::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user