Updated Rector to commit 8ef808705cd8f467602f2411ec831552648295ae

8ef808705c deprecate createShortClassConstFetch() as the FQN must be used by convention (#3092)
This commit is contained in:
Tomas Votruba 2022-11-25 15:06:04 +00:00
parent d446f7302b
commit aecb5f86de
9 changed files with 21 additions and 23 deletions

View File

@ -17,12 +17,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '7842486329539de6901544f0e50707b6a2aea29e';
public const PACKAGE_VERSION = '8ef808705cd8f467602f2411ec831552648295ae';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2022-11-24 14:25:46';
public const RELEASE_DATE = '2022-11-25 14:58:05';
/**
* @var int
*/

View File

@ -95,6 +95,7 @@ final class NodeFactory
}
/**
* Creates "SomeClass::CONSTANT"
* @deprecated
*/
public function createShortClassConstFetch(string $shortClassName, string $constantName) : ClassConstFetch
{

2
vendor/autoload.php vendored
View File

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

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit5431ef5b65d8564ec5c79889cedc4fad
class ComposerAutoloaderInitf357245848b91dba340ca4a406dee6b4
{
private static $loader;
@ -22,19 +22,19 @@ class ComposerAutoloaderInit5431ef5b65d8564ec5c79889cedc4fad
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit5431ef5b65d8564ec5c79889cedc4fad', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitf357245848b91dba340ca4a406dee6b4', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit5431ef5b65d8564ec5c79889cedc4fad', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitf357245848b91dba340ca4a406dee6b4', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit5431ef5b65d8564ec5c79889cedc4fad::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitf357245848b91dba340ca4a406dee6b4::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$includeFiles = \Composer\Autoload\ComposerStaticInit5431ef5b65d8564ec5c79889cedc4fad::$files;
$includeFiles = \Composer\Autoload\ComposerStaticInitf357245848b91dba340ca4a406dee6b4::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire5431ef5b65d8564ec5c79889cedc4fad($fileIdentifier, $file);
composerRequiref357245848b91dba340ca4a406dee6b4($fileIdentifier, $file);
}
return $loader;
@ -46,7 +46,7 @@ class ComposerAutoloaderInit5431ef5b65d8564ec5c79889cedc4fad
* @param string $file
* @return void
*/
function composerRequire5431ef5b65d8564ec5c79889cedc4fad($fileIdentifier, $file)
function composerRequiref357245848b91dba340ca4a406dee6b4($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 ComposerStaticInit5431ef5b65d8564ec5c79889cedc4fad
class ComposerStaticInitf357245848b91dba340ca4a406dee6b4
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -3037,9 +3037,9 @@ class ComposerStaticInit5431ef5b65d8564ec5c79889cedc4fad
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit5431ef5b65d8564ec5c79889cedc4fad::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit5431ef5b65d8564ec5c79889cedc4fad::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit5431ef5b65d8564ec5c79889cedc4fad::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitf357245848b91dba340ca4a406dee6b4::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitf357245848b91dba340ca4a406dee6b4::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitf357245848b91dba340ca4a406dee6b4::$classMap;
}, null, ClassLoader::class);
}

View File

@ -2061,12 +2061,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
"reference": "32267bc92852020356dcf6c886e5ec3cf82aacc1"
"reference": "0587db32b9337f1a2c001a75815bcae97f28b751"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/32267bc92852020356dcf6c886e5ec3cf82aacc1",
"reference": "32267bc92852020356dcf6c886e5ec3cf82aacc1",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/0587db32b9337f1a2c001a75815bcae97f28b751",
"reference": "0587db32b9337f1a2c001a75815bcae97f28b751",
"shasum": ""
},
"require": {
@ -2097,7 +2097,7 @@
"symplify\/rule-doc-generator": "^11.1",
"symplify\/vendor-patches": "^11.1"
},
"time": "2022-11-24T14:26:16+00:00",
"time": "2022-11-25T14:41:37+00:00",
"default-branch": true,
"type": "rector-extension",
"extra": {

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
*/
final class GeneratedConfig
{
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main bf394ee'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 4a09528'), 'rector/rector-php-parser' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-php-parser', 'relative_install_path' => '../../rector-php-parser', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 9ea5f62'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 769064f'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 32267bc'));
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main bf394ee'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 4a09528'), 'rector/rector-php-parser' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-php-parser', 'relative_install_path' => '../../rector-php-parser', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 9ea5f62'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 769064f'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 0587db3'));
private function __construct()
{
}

View File

@ -115,9 +115,6 @@ return static function (RectorConfig $rectorConfig) : void {
'Symfony\\Bridge\\Monolog\\Logger' => 'Psr\\Log\\LoggerInterface',
# security
'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\AbstractVoter' => 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\Voter',
# translator
# partial with class rename
'Symfony\\Component\\Translation\\Translator' => 'Symfony\\Component\\Translation\\TranslatorBagInterface',
# twig
'Symfony\\Bundle\\TwigBundle\\TwigDefaultEscapingStrategy' => 'Twig_FileExtensionEscapingStrategy',
# validator