Updated Rector to commit 03da98750a

03da98750a Try fix stub ReflectionUnionType not found in CI php 7.2 (#2373)
This commit is contained in:
Tomas Votruba 2022-05-27 14:54:56 +00:00
parent 6693d5cd3d
commit 2916f08a7f
7 changed files with 24 additions and 24 deletions

View File

@ -16,11 +16,11 @@ final class VersionResolver
/**
* @var string
*/
public const PACKAGE_VERSION = '45eef47f27df7b6ed3422c19db03e0e74fe0417b';
public const PACKAGE_VERSION = '03da98750aa42e8dc5381a0a777d0bea8bfc1016';
/**
* @var string
*/
public const RELEASE_DATE = '2022-05-27 15:30:05';
public const RELEASE_DATE = '2022-05-27 14:48:27';
/**
* @var string
*/

View File

@ -1,6 +1,6 @@
<?php
if (PHP_VERSION_ID < 80100 && ! interface_exists('UnitEnum', false)) {
if (! interface_exists('UnitEnum', false)) {
/**
* @since 8.1
*/
@ -13,7 +13,7 @@ if (PHP_VERSION_ID < 80100 && ! interface_exists('UnitEnum', false)) {
}
}
if (PHP_VERSION_ID < 80100 && ! interface_exists('BackedEnum', false)) {
if (! interface_exists('BackedEnum', false)) {
/**
* @since 8.1
*/

View File

@ -1,6 +1,6 @@
<?php
if (PHP_VERSION_ID < 80000 && ! class_exists('ReflectionUnionType', false)) {
if (! class_exists('ReflectionUnionType', false)) {
class ReflectionUnionType extends ReflectionType
{
/** @return ReflectionType[] */
@ -11,7 +11,7 @@ if (PHP_VERSION_ID < 80000 && ! class_exists('ReflectionUnionType', false)) {
}
}
if (\PHP_VERSION_ID < 80000 && ! class_exists('Attribute', false)) {
if (! class_exists('Attribute', false)) {
#[Attribute(Attribute::TARGET_CLASS)]
class Attribute
{
@ -72,7 +72,7 @@ if (\PHP_VERSION_ID < 80000 && ! class_exists('Attribute', false)) {
}
}
if (\PHP_VERSION_ID < 80100 && ! class_exists('ReturnTypeWillChange', false)) {
if (! class_exists('ReturnTypeWillChange', false)) {
#[Attribute(Attribute::TARGET_METHOD)]
final class ReturnTypeWillChange
{

2
vendor/autoload.php vendored
View File

@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitec8a7af6b45877f163da24591918fc50::getLoader();
return ComposerAutoloaderInitaebc3aaa5ebb18087bdedabf1527791e::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitec8a7af6b45877f163da24591918fc50
class ComposerAutoloaderInitaebc3aaa5ebb18087bdedabf1527791e
{
private static $loader;
@ -22,19 +22,19 @@ class ComposerAutoloaderInitec8a7af6b45877f163da24591918fc50
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInitec8a7af6b45877f163da24591918fc50', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitaebc3aaa5ebb18087bdedabf1527791e', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInitec8a7af6b45877f163da24591918fc50', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitaebc3aaa5ebb18087bdedabf1527791e', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInitec8a7af6b45877f163da24591918fc50::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitaebc3aaa5ebb18087bdedabf1527791e::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$includeFiles = \Composer\Autoload\ComposerStaticInitec8a7af6b45877f163da24591918fc50::$files;
$includeFiles = \Composer\Autoload\ComposerStaticInitaebc3aaa5ebb18087bdedabf1527791e::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequireec8a7af6b45877f163da24591918fc50($fileIdentifier, $file);
composerRequireaebc3aaa5ebb18087bdedabf1527791e($fileIdentifier, $file);
}
return $loader;
@ -46,7 +46,7 @@ class ComposerAutoloaderInitec8a7af6b45877f163da24591918fc50
* @param string $file
* @return void
*/
function composerRequireec8a7af6b45877f163da24591918fc50($fileIdentifier, $file)
function composerRequireaebc3aaa5ebb18087bdedabf1527791e($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

View File

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

View File

@ -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('RectorPrefix20220527\AutoloadIncluder');
}
if (!class_exists('ComposerAutoloaderInitec8a7af6b45877f163da24591918fc50', false) && !interface_exists('ComposerAutoloaderInitec8a7af6b45877f163da24591918fc50', false) && !trait_exists('ComposerAutoloaderInitec8a7af6b45877f163da24591918fc50', false)) {
spl_autoload_call('RectorPrefix20220527\ComposerAutoloaderInitec8a7af6b45877f163da24591918fc50');
if (!class_exists('ComposerAutoloaderInitaebc3aaa5ebb18087bdedabf1527791e', false) && !interface_exists('ComposerAutoloaderInitaebc3aaa5ebb18087bdedabf1527791e', false) && !trait_exists('ComposerAutoloaderInitaebc3aaa5ebb18087bdedabf1527791e', false)) {
spl_autoload_call('RectorPrefix20220527\ComposerAutoloaderInitaebc3aaa5ebb18087bdedabf1527791e');
}
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('RectorPrefix20220527\Helmich\TypoScriptParser\Parser\AST\Statement');
@ -59,9 +59,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20220527\print_node(...func_get_args());
}
}
if (!function_exists('composerRequireec8a7af6b45877f163da24591918fc50')) {
function composerRequireec8a7af6b45877f163da24591918fc50() {
return \RectorPrefix20220527\composerRequireec8a7af6b45877f163da24591918fc50(...func_get_args());
if (!function_exists('composerRequireaebc3aaa5ebb18087bdedabf1527791e')) {
function composerRequireaebc3aaa5ebb18087bdedabf1527791e() {
return \RectorPrefix20220527\composerRequireaebc3aaa5ebb18087bdedabf1527791e(...func_get_args());
}
}
if (!function_exists('scanPath')) {