mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
Updated Rector to commit 9b62f0a4c7ddb92d032072d6d9ac8bbee224b2ae
9b62f0a4c7
[Parallel] Remove unused SingleFileProcessor (#1700)
This commit is contained in:
parent
f415b891e8
commit
12613b9c6a
@ -1,22 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Parallel\Application;
|
||||
|
||||
use Rector\Core\ValueObject\Configuration;
|
||||
use Rector\Core\ValueObject\Reporting\FileDiff;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @api @todo complete parallel run
|
||||
*/
|
||||
final class SingleFileProcessor
|
||||
{
|
||||
/**
|
||||
* @return array<string, FileDiff[]>
|
||||
*/
|
||||
public function processFileInfo(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo, \Rector\Core\ValueObject\Configuration $configuration) : array
|
||||
{
|
||||
// @todo implement
|
||||
return [];
|
||||
}
|
||||
}
|
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '7d9262746f628e267f6300c4a11b254adad9cb64';
|
||||
public const PACKAGE_VERSION = '9b62f0a4c7ddb92d032072d6d9ac8bbee224b2ae';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-01-19 10:01:35';
|
||||
public const RELEASE_DATE = '2022-01-19 14:10:36';
|
||||
public static function resolvePackageVersion() : string
|
||||
{
|
||||
$process = new \RectorPrefix20220119\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInitf335598685e810e881ced0a65d71e1b5::getLoader();
|
||||
return ComposerAutoloaderInit50bf88e8c61a679bc82009e906efd09e::getLoader();
|
||||
|
1
vendor/composer/autoload_classmap.php
vendored
1
vendor/composer/autoload_classmap.php
vendored
@ -2539,7 +2539,6 @@ return array(
|
||||
'Rector\\PSR4\\Rector\\FileWithoutNamespace\\NormalizeNamespaceByPSR4ComposerAutoloadRector' => $baseDir . '/rules/PSR4/Rector/FileWithoutNamespace/NormalizeNamespaceByPSR4ComposerAutoloadRector.php',
|
||||
'Rector\\PSR4\\Rector\\Namespace_\\MultipleClassFileToPsr4ClassesRector' => $baseDir . '/rules/PSR4/Rector/Namespace_/MultipleClassFileToPsr4ClassesRector.php',
|
||||
'Rector\\Parallel\\Application\\ParallelFileProcessor' => $baseDir . '/packages/Parallel/Application/ParallelFileProcessor.php',
|
||||
'Rector\\Parallel\\Application\\SingleFileProcessor' => $baseDir . '/packages/Parallel/Application/SingleFileProcessor.php',
|
||||
'Rector\\Parallel\\Command\\WorkerCommandLineFactory' => $baseDir . '/packages/Parallel/Command/WorkerCommandLineFactory.php',
|
||||
'Rector\\Parallel\\ValueObject\\Bridge' => $baseDir . '/packages/Parallel/ValueObject/Bridge.php',
|
||||
'Rector\\Parallel\\ValueObject\\Name' => $baseDir . '/packages/Parallel/ValueObject/Name.php',
|
||||
|
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 ComposerAutoloaderInitf335598685e810e881ced0a65d71e1b5
|
||||
class ComposerAutoloaderInit50bf88e8c61a679bc82009e906efd09e
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,15 +22,15 @@ class ComposerAutoloaderInitf335598685e810e881ced0a65d71e1b5
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitf335598685e810e881ced0a65d71e1b5', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit50bf88e8c61a679bc82009e906efd09e', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitf335598685e810e881ced0a65d71e1b5', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit50bf88e8c61a679bc82009e906efd09e', 'loadClassLoader'));
|
||||
|
||||
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
||||
if ($useStaticLoader) {
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitf335598685e810e881ced0a65d71e1b5::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit50bf88e8c61a679bc82009e906efd09e::getInitializer($loader));
|
||||
} else {
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
@ -42,12 +42,12 @@ class ComposerAutoloaderInitf335598685e810e881ced0a65d71e1b5
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInitf335598685e810e881ced0a65d71e1b5::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit50bf88e8c61a679bc82009e906efd09e::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequiref335598685e810e881ced0a65d71e1b5($fileIdentifier, $file);
|
||||
composerRequire50bf88e8c61a679bc82009e906efd09e($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -59,7 +59,7 @@ class ComposerAutoloaderInitf335598685e810e881ced0a65d71e1b5
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequiref335598685e810e881ced0a65d71e1b5($fileIdentifier, $file)
|
||||
function composerRequire50bf88e8c61a679bc82009e906efd09e($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
9
vendor/composer/autoload_static.php
vendored
9
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInitf335598685e810e881ced0a65d71e1b5
|
||||
class ComposerStaticInit50bf88e8c61a679bc82009e906efd09e
|
||||
{
|
||||
public static $files = array (
|
||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||
@ -2934,7 +2934,6 @@ class ComposerStaticInitf335598685e810e881ced0a65d71e1b5
|
||||
'Rector\\PSR4\\Rector\\FileWithoutNamespace\\NormalizeNamespaceByPSR4ComposerAutoloadRector' => __DIR__ . '/../..' . '/rules/PSR4/Rector/FileWithoutNamespace/NormalizeNamespaceByPSR4ComposerAutoloadRector.php',
|
||||
'Rector\\PSR4\\Rector\\Namespace_\\MultipleClassFileToPsr4ClassesRector' => __DIR__ . '/../..' . '/rules/PSR4/Rector/Namespace_/MultipleClassFileToPsr4ClassesRector.php',
|
||||
'Rector\\Parallel\\Application\\ParallelFileProcessor' => __DIR__ . '/../..' . '/packages/Parallel/Application/ParallelFileProcessor.php',
|
||||
'Rector\\Parallel\\Application\\SingleFileProcessor' => __DIR__ . '/../..' . '/packages/Parallel/Application/SingleFileProcessor.php',
|
||||
'Rector\\Parallel\\Command\\WorkerCommandLineFactory' => __DIR__ . '/../..' . '/packages/Parallel/Command/WorkerCommandLineFactory.php',
|
||||
'Rector\\Parallel\\ValueObject\\Bridge' => __DIR__ . '/../..' . '/packages/Parallel/ValueObject/Bridge.php',
|
||||
'Rector\\Parallel\\ValueObject\\Name' => __DIR__ . '/../..' . '/packages/Parallel/ValueObject/Name.php',
|
||||
@ -3872,9 +3871,9 @@ class ComposerStaticInitf335598685e810e881ced0a65d71e1b5
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitf335598685e810e881ced0a65d71e1b5::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitf335598685e810e881ced0a65d71e1b5::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitf335598685e810e881ced0a65d71e1b5::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit50bf88e8c61a679bc82009e906efd09e::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit50bf88e8c61a679bc82009e906efd09e::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit50bf88e8c61a679bc82009e906efd09e::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
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('RectorPrefix20220119\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInitf335598685e810e881ced0a65d71e1b5', false) && !interface_exists('ComposerAutoloaderInitf335598685e810e881ced0a65d71e1b5', false) && !trait_exists('ComposerAutoloaderInitf335598685e810e881ced0a65d71e1b5', false)) {
|
||||
spl_autoload_call('RectorPrefix20220119\ComposerAutoloaderInitf335598685e810e881ced0a65d71e1b5');
|
||||
if (!class_exists('ComposerAutoloaderInit50bf88e8c61a679bc82009e906efd09e', false) && !interface_exists('ComposerAutoloaderInit50bf88e8c61a679bc82009e906efd09e', false) && !trait_exists('ComposerAutoloaderInit50bf88e8c61a679bc82009e906efd09e', false)) {
|
||||
spl_autoload_call('RectorPrefix20220119\ComposerAutoloaderInit50bf88e8c61a679bc82009e906efd09e');
|
||||
}
|
||||
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('RectorPrefix20220119\Helmich\TypoScriptParser\Parser\AST\Statement');
|
||||
@ -71,9 +71,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20220119\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequiref335598685e810e881ced0a65d71e1b5')) {
|
||||
function composerRequiref335598685e810e881ced0a65d71e1b5() {
|
||||
return \RectorPrefix20220119\composerRequiref335598685e810e881ced0a65d71e1b5(...func_get_args());
|
||||
if (!function_exists('composerRequire50bf88e8c61a679bc82009e906efd09e')) {
|
||||
function composerRequire50bf88e8c61a679bc82009e906efd09e() {
|
||||
return \RectorPrefix20220119\composerRequire50bf88e8c61a679bc82009e906efd09e(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('scanPath')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user