mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
Updated Rector to commit 72710eb9476b64a35ede0ab231dd02a624a1a936
72710eb947
Typo fix: ecs -> rector in ApplicationFileProcessor (#1914)
This commit is contained in:
parent
a033b9c203
commit
35e69e8ef4
@ -258,7 +258,7 @@ final class ApplicationFileProcessor
|
||||
return $this->parallelFileProcessor->process($schedule, $mainScript, $postFileCallback, $input);
|
||||
}
|
||||
/**
|
||||
* Path to called "ecs" binary file, e.g. "vendor/bin/ecs" returns "vendor/bin/ecs" This is needed to re-call the
|
||||
* Path to called "rector" binary file, e.g. "vendor/bin/rector" returns "vendor/bin/rector" This is needed to re-call the
|
||||
* ecs binary in sub-process in the same location.
|
||||
*/
|
||||
private function resolveCalledRectorBinary() : ?string
|
||||
|
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'dbdcaa188c139032272572f327fc13f1daab5f02';
|
||||
public const PACKAGE_VERSION = '72710eb9476b64a35ede0ab231dd02a624a1a936';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-03-07 19:48:25';
|
||||
public const RELEASE_DATE = '2022-03-07 19:00:46';
|
||||
public static function resolvePackageVersion() : string
|
||||
{
|
||||
$process = new \RectorPrefix20220307\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 ComposerAutoloaderInit1be2a0c83a060d046051e673b70b89fc::getLoader();
|
||||
return ComposerAutoloaderInitf91603009da00fc2c0dc9b58c0a5cb8e::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 ComposerAutoloaderInit1be2a0c83a060d046051e673b70b89fc
|
||||
class ComposerAutoloaderInitf91603009da00fc2c0dc9b58c0a5cb8e
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,15 +22,15 @@ class ComposerAutoloaderInit1be2a0c83a060d046051e673b70b89fc
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit1be2a0c83a060d046051e673b70b89fc', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitf91603009da00fc2c0dc9b58c0a5cb8e', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit1be2a0c83a060d046051e673b70b89fc', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitf91603009da00fc2c0dc9b58c0a5cb8e', '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\ComposerStaticInit1be2a0c83a060d046051e673b70b89fc::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitf91603009da00fc2c0dc9b58c0a5cb8e::getInitializer($loader));
|
||||
} else {
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
@ -42,12 +42,12 @@ class ComposerAutoloaderInit1be2a0c83a060d046051e673b70b89fc
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit1be2a0c83a060d046051e673b70b89fc::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInitf91603009da00fc2c0dc9b58c0a5cb8e::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire1be2a0c83a060d046051e673b70b89fc($fileIdentifier, $file);
|
||||
composerRequiref91603009da00fc2c0dc9b58c0a5cb8e($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -59,7 +59,7 @@ class ComposerAutoloaderInit1be2a0c83a060d046051e673b70b89fc
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequire1be2a0c83a060d046051e673b70b89fc($fileIdentifier, $file)
|
||||
function composerRequiref91603009da00fc2c0dc9b58c0a5cb8e($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 ComposerStaticInit1be2a0c83a060d046051e673b70b89fc
|
||||
class ComposerStaticInitf91603009da00fc2c0dc9b58c0a5cb8e
|
||||
{
|
||||
public static $files = array (
|
||||
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
||||
@ -3836,9 +3836,9 @@ class ComposerStaticInit1be2a0c83a060d046051e673b70b89fc
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit1be2a0c83a060d046051e673b70b89fc::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit1be2a0c83a060d046051e673b70b89fc::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit1be2a0c83a060d046051e673b70b89fc::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitf91603009da00fc2c0dc9b58c0a5cb8e::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitf91603009da00fc2c0dc9b58c0a5cb8e::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitf91603009da00fc2c0dc9b58c0a5cb8e::$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('RectorPrefix20220307\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInit1be2a0c83a060d046051e673b70b89fc', false) && !interface_exists('ComposerAutoloaderInit1be2a0c83a060d046051e673b70b89fc', false) && !trait_exists('ComposerAutoloaderInit1be2a0c83a060d046051e673b70b89fc', false)) {
|
||||
spl_autoload_call('RectorPrefix20220307\ComposerAutoloaderInit1be2a0c83a060d046051e673b70b89fc');
|
||||
if (!class_exists('ComposerAutoloaderInitf91603009da00fc2c0dc9b58c0a5cb8e', false) && !interface_exists('ComposerAutoloaderInitf91603009da00fc2c0dc9b58c0a5cb8e', false) && !trait_exists('ComposerAutoloaderInitf91603009da00fc2c0dc9b58c0a5cb8e', false)) {
|
||||
spl_autoload_call('RectorPrefix20220307\ComposerAutoloaderInitf91603009da00fc2c0dc9b58c0a5cb8e');
|
||||
}
|
||||
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('RectorPrefix20220307\Helmich\TypoScriptParser\Parser\AST\Statement');
|
||||
@ -59,9 +59,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20220307\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequire1be2a0c83a060d046051e673b70b89fc')) {
|
||||
function composerRequire1be2a0c83a060d046051e673b70b89fc() {
|
||||
return \RectorPrefix20220307\composerRequire1be2a0c83a060d046051e673b70b89fc(...func_get_args());
|
||||
if (!function_exists('composerRequiref91603009da00fc2c0dc9b58c0a5cb8e')) {
|
||||
function composerRequiref91603009da00fc2c0dc9b58c0a5cb8e() {
|
||||
return \RectorPrefix20220307\composerRequiref91603009da00fc2c0dc9b58c0a5cb8e(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('scanPath')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user