mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-31 12:42:05 +01:00
Updated Rector to commit fbb472feb11f34bb94a1e6869e93b505103fa27f
fbb472feb1
Rename PARALLEL_TIMEOUT_IN_SECONDS to PARALLEL_JOB_TIMEOUT_IN_SECONDS (#3613)
This commit is contained in:
parent
a411d4a1ec
commit
03e48b83b1
@ -47,7 +47,7 @@ final class RectorConfig extends ContainerConfigurator
|
||||
{
|
||||
$parameters = $this->parameters();
|
||||
$parameters->set(Option::PARALLEL, \true);
|
||||
$parameters->set(Option::PARALLEL_TIMEOUT_IN_SECONDS, $seconds);
|
||||
$parameters->set(Option::PARALLEL_JOB_TIMEOUT_IN_SECONDS, $seconds);
|
||||
$parameters->set(Option::PARALLEL_MAX_NUMBER_OF_PROCESSES, $maxNumberOfProcess);
|
||||
$parameters->set(Option::PARALLEL_JOB_SIZE, $jobSize);
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ final class ParallelFileProcessor
|
||||
$reachedSystemErrorsCountLimit = \true;
|
||||
$this->processPool->quitAll();
|
||||
};
|
||||
$timeoutInSeconds = $this->parameterProvider->provideIntParameter(Option::PARALLEL_TIMEOUT_IN_SECONDS);
|
||||
$timeoutInSeconds = $this->parameterProvider->provideIntParameter(Option::PARALLEL_JOB_TIMEOUT_IN_SECONDS);
|
||||
for ($i = 0; $i < $numberOfProcesses; ++$i) {
|
||||
// nothing else to process, stop now
|
||||
if ($jobs === []) {
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '88fb0ace4584fd2cc627b3ee052dd8d7764d8f29';
|
||||
public const PACKAGE_VERSION = 'fbb472feb11f34bb94a1e6869e93b505103fa27f';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-04-17 13:31:04';
|
||||
public const RELEASE_DATE = '2023-04-17 13:54:27';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
@ -160,7 +160,7 @@ final class Option
|
||||
* @internal Use @see \Rector\Config\RectorConfig::parallel() instead with pass int $seconds parameter
|
||||
* @var string
|
||||
*/
|
||||
public const PARALLEL_TIMEOUT_IN_SECONDS = 'parallel-timeout-in-seconds';
|
||||
public const PARALLEL_JOB_TIMEOUT_IN_SECONDS = 'parallel-job-timeout-in-seconds';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
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 ComposerAutoloaderInitf1cf64da038f52caeb5e5a0eb5b491e9::getLoader();
|
||||
return ComposerAutoloaderInit2d4e91d23c53ce21a77e085e22a4a0ac::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 ComposerAutoloaderInitf1cf64da038f52caeb5e5a0eb5b491e9
|
||||
class ComposerAutoloaderInit2d4e91d23c53ce21a77e085e22a4a0ac
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInitf1cf64da038f52caeb5e5a0eb5b491e9
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitf1cf64da038f52caeb5e5a0eb5b491e9', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit2d4e91d23c53ce21a77e085e22a4a0ac', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitf1cf64da038f52caeb5e5a0eb5b491e9', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit2d4e91d23c53ce21a77e085e22a4a0ac', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitf1cf64da038f52caeb5e5a0eb5b491e9::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit2d4e91d23c53ce21a77e085e22a4a0ac::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInitf1cf64da038f52caeb5e5a0eb5b491e9::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit2d4e91d23c53ce21a77e085e22a4a0ac::$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 ComposerStaticInitf1cf64da038f52caeb5e5a0eb5b491e9
|
||||
class ComposerStaticInit2d4e91d23c53ce21a77e085e22a4a0ac
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -3139,9 +3139,9 @@ class ComposerStaticInitf1cf64da038f52caeb5e5a0eb5b491e9
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitf1cf64da038f52caeb5e5a0eb5b491e9::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitf1cf64da038f52caeb5e5a0eb5b491e9::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitf1cf64da038f52caeb5e5a0eb5b491e9::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit2d4e91d23c53ce21a77e085e22a4a0ac::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit2d4e91d23c53ce21a77e085e22a4a0ac::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit2d4e91d23c53ce21a77e085e22a4a0ac::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user