Skip to content

Commit

Permalink
Updated Rector to commit 5ba03ad
Browse files Browse the repository at this point in the history
rectorphp/rector-src@5ba03ad Fix some misprints in README (#1722)
  • Loading branch information
TomasVotruba committed Jan 25, 2022
1 parent 81b9533 commit 73a413e
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Use Rector to handle **instant upgrades** for you.

### 2. Automated Refactoring

Do you have code quality you need, but struggle to keep it with new developers in your team? Do you want to see smart code-reviews even when every senior developers sleeps?
Do you have code quality you need, but struggle to keep it with new developers in your team? Do you want see smart code-reviews even when every senior developers sleeps?

Add Rector to your CI and let it **continuously refactor your code** and keep the code quality high.

Expand Down
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ final class VersionResolver
/**
* @var string
*/
public const PACKAGE_VERSION = 'e6d338840c4452bdd18397851af5f64343183210';
public const PACKAGE_VERSION = '5ba03adbab3b2a45fe92c4d01093e7e8c147efd7';
/**
* @var string
*/
public const RELEASE_DATE = '2022-01-25 09:30:43';
public const RELEASE_DATE = '2022-01-25 09:30:24';
public static function resolvePackageVersion() : string
{
$process = new \RectorPrefix20220125\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit613a043c650006fa3e855b7db21f7341::getLoader();
return ComposerAutoloaderInit6f3b157e003d01292f3fc956cce4bd4f::getLoader();
14 changes: 7 additions & 7 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit613a043c650006fa3e855b7db21f7341
class ComposerAutoloaderInit6f3b157e003d01292f3fc956cce4bd4f
{
private static $loader;

Expand All @@ -22,15 +22,15 @@ public static function getLoader()
return self::$loader;
}

spl_autoload_register(array('ComposerAutoloaderInit613a043c650006fa3e855b7db21f7341', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit6f3b157e003d01292f3fc956cce4bd4f', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit613a043c650006fa3e855b7db21f7341', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit6f3b157e003d01292f3fc956cce4bd4f', '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\ComposerStaticInit613a043c650006fa3e855b7db21f7341::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit6f3b157e003d01292f3fc956cce4bd4f::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
Expand All @@ -42,12 +42,12 @@ public static function getLoader()
$loader->register(true);

if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit613a043c650006fa3e855b7db21f7341::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit6f3b157e003d01292f3fc956cce4bd4f::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire613a043c650006fa3e855b7db21f7341($fileIdentifier, $file);
composerRequire6f3b157e003d01292f3fc956cce4bd4f($fileIdentifier, $file);
}

return $loader;
Expand All @@ -59,7 +59,7 @@ public static function getLoader()
* @param string $file
* @return void
*/
function composerRequire613a043c650006fa3e855b7db21f7341($fileIdentifier, $file)
function composerRequire6f3b157e003d01292f3fc956cce4bd4f($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit613a043c650006fa3e855b7db21f7341
class ComposerStaticInit6f3b157e003d01292f3fc956cce4bd4f
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
Expand Down Expand Up @@ -3874,9 +3874,9 @@ class ComposerStaticInit613a043c650006fa3e855b7db21f7341
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit613a043c650006fa3e855b7db21f7341::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit613a043c650006fa3e855b7db21f7341::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit613a043c650006fa3e855b7db21f7341::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit6f3b157e003d01292f3fc956cce4bd4f::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit6f3b157e003d01292f3fc956cce4bd4f::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit6f3b157e003d01292f3fc956cce4bd4f::$classMap;

}, null, ClassLoader::class);
}
Expand Down
10 changes: 5 additions & 5 deletions vendor/scoper-autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
spl_autoload_call('RectorPrefix20220125\AutoloadIncluder');
}
if (!class_exists('ComposerAutoloaderInit613a043c650006fa3e855b7db21f7341', false) && !interface_exists('ComposerAutoloaderInit613a043c650006fa3e855b7db21f7341', false) && !trait_exists('ComposerAutoloaderInit613a043c650006fa3e855b7db21f7341', false)) {
spl_autoload_call('RectorPrefix20220125\ComposerAutoloaderInit613a043c650006fa3e855b7db21f7341');
if (!class_exists('ComposerAutoloaderInit6f3b157e003d01292f3fc956cce4bd4f', false) && !interface_exists('ComposerAutoloaderInit6f3b157e003d01292f3fc956cce4bd4f', false) && !trait_exists('ComposerAutoloaderInit6f3b157e003d01292f3fc956cce4bd4f', false)) {
spl_autoload_call('RectorPrefix20220125\ComposerAutoloaderInit6f3b157e003d01292f3fc956cce4bd4f');
}
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('RectorPrefix20220125\Helmich\TypoScriptParser\Parser\AST\Statement');
Expand Down Expand Up @@ -71,9 +71,9 @@ function print_node() {
return \RectorPrefix20220125\print_node(...func_get_args());
}
}
if (!function_exists('composerRequire613a043c650006fa3e855b7db21f7341')) {
function composerRequire613a043c650006fa3e855b7db21f7341() {
return \RectorPrefix20220125\composerRequire613a043c650006fa3e855b7db21f7341(...func_get_args());
if (!function_exists('composerRequire6f3b157e003d01292f3fc956cce4bd4f')) {
function composerRequire6f3b157e003d01292f3fc956cce4bd4f() {
return \RectorPrefix20220125\composerRequire6f3b157e003d01292f3fc956cce4bd4f(...func_get_args());
}
}
if (!function_exists('scanPath')) {
Expand Down

0 comments on commit 73a413e

Please sign in to comment.