Updated Rector to commit 0d369aa4d7bf2403a8cd7ae508c5fec28ff66592

This commit is contained in:
Tomas Votruba 2021-05-19 08:27:31 +00:00
parent 8840cbe876
commit a2a86d9fed
5 changed files with 21 additions and 21 deletions

View File

@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Core\Application;
use DateTimeInterface;
use DateTime;
use Rector\Core\Exception\VersionException;
use RectorPrefix20210519\Symfony\Component\Process\Process;
use RectorPrefix20210519\Symplify\PackageBuilder\Console\ShellCode;
@ -16,11 +16,11 @@ final class VersionResolver
/**
* @var string
*/
public const PACKAGE_VERSION = '"16b51b8226b05e04be7e463d098072b02835fbbf"';
public const PACKAGE_VERSION = '"6e5815c1791c173c8cd9932523c4fbbb769275d2"';
/**
* @var string
*/
public const RELEASE_DATE = '2021-05-19 08:04:18';
public const RELEASE_DATE = '2021-05-19 08:19:46';
public static function resolvePackageVersion() : string
{
$process = new \RectorPrefix20210519\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);
@ -29,7 +29,7 @@ final class VersionResolver
}
return \trim($process->getOutput());
}
public static function resolverReleaseDateTime() : \DateTimeInterface
public static function resolverReleaseDateTime() : \DateTime
{
$process = new \RectorPrefix20210519\Symfony\Component\Process\Process(['git', 'log', '-n1', '--pretty=%ci', 'HEAD'], __DIR__);
if ($process->run() !== \RectorPrefix20210519\Symplify\PackageBuilder\Console\ShellCode::SUCCESS) {

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInite35106b99682c747bd993bce1e822d75::getLoader();
return ComposerAutoloaderInit34304b83c6b3974a0236e09463bf59eb::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInite35106b99682c747bd993bce1e822d75
class ComposerAutoloaderInit34304b83c6b3974a0236e09463bf59eb
{
private static $loader;
@ -22,15 +22,15 @@ class ComposerAutoloaderInite35106b99682c747bd993bce1e822d75
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInite35106b99682c747bd993bce1e822d75', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit34304b83c6b3974a0236e09463bf59eb', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInite35106b99682c747bd993bce1e822d75', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit34304b83c6b3974a0236e09463bf59eb', '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\ComposerStaticInite35106b99682c747bd993bce1e822d75::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit34304b83c6b3974a0236e09463bf59eb::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
@ -42,19 +42,19 @@ class ComposerAutoloaderInite35106b99682c747bd993bce1e822d75
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInite35106b99682c747bd993bce1e822d75::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit34304b83c6b3974a0236e09463bf59eb::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequiree35106b99682c747bd993bce1e822d75($fileIdentifier, $file);
composerRequire34304b83c6b3974a0236e09463bf59eb($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequiree35106b99682c747bd993bce1e822d75($fileIdentifier, $file)
function composerRequire34304b83c6b3974a0236e09463bf59eb($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInite35106b99682c747bd993bce1e822d75
class ComposerStaticInit34304b83c6b3974a0236e09463bf59eb
{
public static $files = array (
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@ -3813,9 +3813,9 @@ class ComposerStaticInite35106b99682c747bd993bce1e822d75
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInite35106b99682c747bd993bce1e822d75::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInite35106b99682c747bd993bce1e822d75::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInite35106b99682c747bd993bce1e822d75::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit34304b83c6b3974a0236e09463bf59eb::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit34304b83c6b3974a0236e09463bf59eb::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit34304b83c6b3974a0236e09463bf59eb::$classMap;
}, null, ClassLoader::class);
}

View File

@ -21,8 +21,8 @@ if (!class_exists('SomeTestCase', false) && !interface_exists('SomeTestCase', fa
if (!class_exists('CheckoutEntityFactory', false) && !interface_exists('CheckoutEntityFactory', false) && !trait_exists('CheckoutEntityFactory', false)) {
spl_autoload_call('RectorPrefix20210519\CheckoutEntityFactory');
}
if (!class_exists('ComposerAutoloaderInite35106b99682c747bd993bce1e822d75', false) && !interface_exists('ComposerAutoloaderInite35106b99682c747bd993bce1e822d75', false) && !trait_exists('ComposerAutoloaderInite35106b99682c747bd993bce1e822d75', false)) {
spl_autoload_call('RectorPrefix20210519\ComposerAutoloaderInite35106b99682c747bd993bce1e822d75');
if (!class_exists('ComposerAutoloaderInit34304b83c6b3974a0236e09463bf59eb', false) && !interface_exists('ComposerAutoloaderInit34304b83c6b3974a0236e09463bf59eb', false) && !trait_exists('ComposerAutoloaderInit34304b83c6b3974a0236e09463bf59eb', false)) {
spl_autoload_call('RectorPrefix20210519\ComposerAutoloaderInit34304b83c6b3974a0236e09463bf59eb');
}
if (!class_exists('Doctrine\Inflector\Inflector', false) && !interface_exists('Doctrine\Inflector\Inflector', false) && !trait_exists('Doctrine\Inflector\Inflector', false)) {
spl_autoload_call('RectorPrefix20210519\Doctrine\Inflector\Inflector');
@ -92,9 +92,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20210519\print_node(...func_get_args());
}
}
if (!function_exists('composerRequiree35106b99682c747bd993bce1e822d75')) {
function composerRequiree35106b99682c747bd993bce1e822d75() {
return \RectorPrefix20210519\composerRequiree35106b99682c747bd993bce1e822d75(...func_get_args());
if (!function_exists('composerRequire34304b83c6b3974a0236e09463bf59eb')) {
function composerRequire34304b83c6b3974a0236e09463bf59eb() {
return \RectorPrefix20210519\composerRequire34304b83c6b3974a0236e09463bf59eb(...func_get_args());
}
}
if (!function_exists('parseArgs')) {