mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
Updated Rector to commit 26d2589aba3ea8ee68140831df96ed44c89839ad
26d2589aba
[Parallel] Fix --debug not working in parallel (#2307)
This commit is contained in:
parent
1b5d975dcf
commit
c50600c391
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '4d3193425850a212b6e1e0442dadf1f0c6c321ae';
|
||||
public const PACKAGE_VERSION = '26d2589aba3ea8ee68140831df96ed44c89839ad';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-05-13 12:08:27';
|
||||
public const RELEASE_DATE = '2022-05-13 23:10:38';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -31,6 +31,7 @@ abstract class AbstractProcessCommand extends \RectorPrefix20220513\Symfony\Comp
|
||||
$this->addOption(\Rector\Core\Configuration\Option::NO_PROGRESS_BAR, null, \RectorPrefix20220513\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Hide progress bar. Useful e.g. for nicer CI output.');
|
||||
$this->addOption(\Rector\Core\Configuration\Option::NO_DIFFS, null, \RectorPrefix20220513\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Hide diffs of changed files. Useful e.g. for nicer CI output.');
|
||||
$this->addOption(\Rector\Core\Configuration\Option::OUTPUT_FORMAT, null, \RectorPrefix20220513\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Select output format', \Rector\ChangesReporting\Output\ConsoleOutputFormatter::NAME);
|
||||
$this->addOption(\Rector\Core\Configuration\Option::DEBUG, null, \RectorPrefix20220513\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display debug output.');
|
||||
$this->addOption(\Rector\Core\Configuration\Option::MEMORY_LIMIT, null, \RectorPrefix20220513\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Memory limit for process');
|
||||
$this->addOption(\Rector\Core\Configuration\Option::CLEAR_CACHE, null, \RectorPrefix20220513\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Clear unchaged files cache');
|
||||
$this->addOption(\Rector\Core\Configuration\Option::PARALLEL_PORT, null, \RectorPrefix20220513\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED);
|
||||
|
@ -25,9 +25,8 @@ final class RectorConsoleOutputStyleFactory
|
||||
$consoleOutput = new \RectorPrefix20220513\Symfony\Component\Console\Output\ConsoleOutput();
|
||||
// to configure all -v, -vv, -vvv options without memory-lock to Application run() arguments
|
||||
$this->privatesCaller->callPrivateMethod(new \RectorPrefix20220513\Symfony\Component\Console\Application(), 'configureIO', [$argvInput, $consoleOutput]);
|
||||
$debugArgvInputParameterOption = $argvInput->getParameterOption('--debug');
|
||||
// --debug is called
|
||||
if ($debugArgvInputParameterOption === null) {
|
||||
if ($argvInput->hasParameterOption('--debug')) {
|
||||
$consoleOutput->setVerbosity(\RectorPrefix20220513\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG);
|
||||
}
|
||||
return new \Rector\Core\Console\Style\RectorConsoleOutputStyle($argvInput, $consoleOutput);
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit40dc5f2f769d0548c71948d9b947d754::getLoader();
|
||||
return ComposerAutoloaderInit859acee193a7e6eadab8760f19d5aa98::getLoader();
|
||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit40dc5f2f769d0548c71948d9b947d754
|
||||
class ComposerAutoloaderInit859acee193a7e6eadab8760f19d5aa98
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,19 +22,19 @@ class ComposerAutoloaderInit40dc5f2f769d0548c71948d9b947d754
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit40dc5f2f769d0548c71948d9b947d754', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit859acee193a7e6eadab8760f19d5aa98', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit40dc5f2f769d0548c71948d9b947d754', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit859acee193a7e6eadab8760f19d5aa98', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit40dc5f2f769d0548c71948d9b947d754::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit859acee193a7e6eadab8760f19d5aa98::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit40dc5f2f769d0548c71948d9b947d754::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit859acee193a7e6eadab8760f19d5aa98::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire40dc5f2f769d0548c71948d9b947d754($fileIdentifier, $file);
|
||||
composerRequire859acee193a7e6eadab8760f19d5aa98($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -46,7 +46,7 @@ class ComposerAutoloaderInit40dc5f2f769d0548c71948d9b947d754
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequire40dc5f2f769d0548c71948d9b947d754($fileIdentifier, $file)
|
||||
function composerRequire859acee193a7e6eadab8760f19d5aa98($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 ComposerStaticInit40dc5f2f769d0548c71948d9b947d754
|
||||
class ComposerStaticInit859acee193a7e6eadab8760f19d5aa98
|
||||
{
|
||||
public static $files = array (
|
||||
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
||||
@ -3896,9 +3896,9 @@ class ComposerStaticInit40dc5f2f769d0548c71948d9b947d754
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit40dc5f2f769d0548c71948d9b947d754::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit40dc5f2f769d0548c71948d9b947d754::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit40dc5f2f769d0548c71948d9b947d754::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit859acee193a7e6eadab8760f19d5aa98::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit859acee193a7e6eadab8760f19d5aa98::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit859acee193a7e6eadab8760f19d5aa98::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -2784,12 +2784,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/sabbelasichon\/typo3-rector.git",
|
||||
"reference": "3b659b70aad3f33aac3e9944268d3594358eace4"
|
||||
"reference": "c1e175724090a41382f305f327f44ad7873ec263"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/sabbelasichon\/typo3-rector\/zipball\/3b659b70aad3f33aac3e9944268d3594358eace4",
|
||||
"reference": "3b659b70aad3f33aac3e9944268d3594358eace4",
|
||||
"url": "https:\/\/api.github.com\/repos\/sabbelasichon\/typo3-rector\/zipball\/c1e175724090a41382f305f327f44ad7873ec263",
|
||||
"reference": "c1e175724090a41382f305f327f44ad7873ec263",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -2819,7 +2819,7 @@
|
||||
"symplify\/vendor-patches": "^10.2",
|
||||
"tracy\/tracy": "^2.8"
|
||||
},
|
||||
"time": "2022-05-11T21:48:55+00:00",
|
||||
"time": "2022-05-13T10:49:11+00:00",
|
||||
"default-branch": true,
|
||||
"type": "rector-extension",
|
||||
"extra": {
|
||||
|
2
vendor/composer/installed.php
vendored
2
vendor/composer/installed.php
vendored
File diff suppressed because one or more lines are too long
@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
|
||||
*/
|
||||
final class GeneratedConfig
|
||||
{
|
||||
public const EXTENSIONS = array('rector/rector-cakephp' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-cakephp', 'relative_install_path' => '../../rector-cakephp', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 43ca394'), 'rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 4a907ed'), 'rector/rector-generator' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-generator', 'relative_install_path' => '../../rector-generator', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 784271e'), 'rector/rector-laravel' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-laravel', 'relative_install_path' => '../../rector-laravel', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 352a13b'), 'rector/rector-nette' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-nette', 'relative_install_path' => '../../rector-nette', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 5f84d90'), 'rector/rector-phpoffice' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpoffice', 'relative_install_path' => '../../rector-phpoffice', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main e544f2a'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 5a33940'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main ca53e28'), 'ssch/typo3-rector' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/ssch/typo3-rector', 'relative_install_path' => '../../../ssch/typo3-rector', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 3b659b7'));
|
||||
public const EXTENSIONS = array('rector/rector-cakephp' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-cakephp', 'relative_install_path' => '../../rector-cakephp', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 43ca394'), 'rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 4a907ed'), 'rector/rector-generator' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-generator', 'relative_install_path' => '../../rector-generator', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 784271e'), 'rector/rector-laravel' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-laravel', 'relative_install_path' => '../../rector-laravel', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 352a13b'), 'rector/rector-nette' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-nette', 'relative_install_path' => '../../rector-nette', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 5f84d90'), 'rector/rector-phpoffice' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpoffice', 'relative_install_path' => '../../rector-phpoffice', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main e544f2a'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 5a33940'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main ca53e28'), 'ssch/typo3-rector' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/ssch/typo3-rector', 'relative_install_path' => '../../../ssch/typo3-rector', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main c1e1757'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
10
vendor/scoper-autoload.php
vendored
10
vendor/scoper-autoload.php
vendored
@ -9,8 +9,8 @@ $loader = require_once __DIR__.'/autoload.php';
|
||||
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
|
||||
spl_autoload_call('RectorPrefix20220513\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInit40dc5f2f769d0548c71948d9b947d754', false) && !interface_exists('ComposerAutoloaderInit40dc5f2f769d0548c71948d9b947d754', false) && !trait_exists('ComposerAutoloaderInit40dc5f2f769d0548c71948d9b947d754', false)) {
|
||||
spl_autoload_call('RectorPrefix20220513\ComposerAutoloaderInit40dc5f2f769d0548c71948d9b947d754');
|
||||
if (!class_exists('ComposerAutoloaderInit859acee193a7e6eadab8760f19d5aa98', false) && !interface_exists('ComposerAutoloaderInit859acee193a7e6eadab8760f19d5aa98', false) && !trait_exists('ComposerAutoloaderInit859acee193a7e6eadab8760f19d5aa98', false)) {
|
||||
spl_autoload_call('RectorPrefix20220513\ComposerAutoloaderInit859acee193a7e6eadab8760f19d5aa98');
|
||||
}
|
||||
if (!class_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !interface_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !trait_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false)) {
|
||||
spl_autoload_call('RectorPrefix20220513\Helmich\TypoScriptParser\Parser\AST\Statement');
|
||||
@ -59,9 +59,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20220513\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequire40dc5f2f769d0548c71948d9b947d754')) {
|
||||
function composerRequire40dc5f2f769d0548c71948d9b947d754() {
|
||||
return \RectorPrefix20220513\composerRequire40dc5f2f769d0548c71948d9b947d754(...func_get_args());
|
||||
if (!function_exists('composerRequire859acee193a7e6eadab8760f19d5aa98')) {
|
||||
function composerRequire859acee193a7e6eadab8760f19d5aa98() {
|
||||
return \RectorPrefix20220513\composerRequire859acee193a7e6eadab8760f19d5aa98(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('scanPath')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user