Updated Rector to commit d61cb541f0637e13a649aa96acacc44a33852e77

d61cb541f0 add link to upgrade to RectorConfig
This commit is contained in:
Tomas Votruba 2022-05-30 09:24:21 +00:00
parent 1449b6f057
commit 56d91201bf
6 changed files with 20 additions and 21 deletions

View File

@ -16,11 +16,11 @@ final class VersionResolver
/**
* @var string
*/
public const PACKAGE_VERSION = '33837ceea6a05dac22ab90a2f0bd3329f1d32ee4';
public const PACKAGE_VERSION = 'd61cb541f0637e13a649aa96acacc44a33852e77';
/**
* @var string
*/
public const RELEASE_DATE = '2022-05-30 11:16:47';
public const RELEASE_DATE = '2022-05-30 11:17:43';
/**
* @var int
*/

View File

@ -22,8 +22,7 @@ final class RectorContainerFactory
if (\strpos($fileContents, 'ContainerConfigurator $containerConfigurator') !== \false) {
/** @var SymfonyStyle $symfonyStyle */
$symfonyStyle = $container->get(\RectorPrefix20220530\Symfony\Component\Console\Style\SymfonyStyle::class);
// @todo add link to blog post after release
$warningMessage = \sprintf('Your "%s" config is using old syntax with "ContainerConfigurator".%sUpgrade to "RectorConfig" that allows better autocomplete and future standard.', $mainConfigFile, \PHP_EOL);
$warningMessage = \sprintf('Your "%s" config is using old syntax with "ContainerConfigurator".%sUpgrade to "RectorConfig" that allows better autocomplete and future standard: https://getrector.org/blog/new-in-rector-012-introducing-rector-config-with-autocomplete', $mainConfigFile, \PHP_EOL);
$symfonyStyle->error($warningMessage);
// to make message noticable
\sleep(10);

2
vendor/autoload.php vendored
View File

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

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit848b0a99bf2c8adf440a401a6d00ecb8
class ComposerAutoloaderInitd21789c959428fbdf3870642f2f52eee
{
private static $loader;
@ -22,19 +22,19 @@ class ComposerAutoloaderInit848b0a99bf2c8adf440a401a6d00ecb8
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit848b0a99bf2c8adf440a401a6d00ecb8', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitd21789c959428fbdf3870642f2f52eee', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit848b0a99bf2c8adf440a401a6d00ecb8', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitd21789c959428fbdf3870642f2f52eee', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit848b0a99bf2c8adf440a401a6d00ecb8::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitd21789c959428fbdf3870642f2f52eee::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$includeFiles = \Composer\Autoload\ComposerStaticInit848b0a99bf2c8adf440a401a6d00ecb8::$files;
$includeFiles = \Composer\Autoload\ComposerStaticInitd21789c959428fbdf3870642f2f52eee::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire848b0a99bf2c8adf440a401a6d00ecb8($fileIdentifier, $file);
composerRequired21789c959428fbdf3870642f2f52eee($fileIdentifier, $file);
}
return $loader;
@ -46,7 +46,7 @@ class ComposerAutoloaderInit848b0a99bf2c8adf440a401a6d00ecb8
* @param string $file
* @return void
*/
function composerRequire848b0a99bf2c8adf440a401a6d00ecb8($fileIdentifier, $file)
function composerRequired21789c959428fbdf3870642f2f52eee($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 ComposerStaticInit848b0a99bf2c8adf440a401a6d00ecb8
class ComposerStaticInitd21789c959428fbdf3870642f2f52eee
{
public static $files = array (
'23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php',
@ -3776,9 +3776,9 @@ class ComposerStaticInit848b0a99bf2c8adf440a401a6d00ecb8
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit848b0a99bf2c8adf440a401a6d00ecb8::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit848b0a99bf2c8adf440a401a6d00ecb8::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit848b0a99bf2c8adf440a401a6d00ecb8::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitd21789c959428fbdf3870642f2f52eee::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitd21789c959428fbdf3870642f2f52eee::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitd21789c959428fbdf3870642f2f52eee::$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('RectorPrefix20220530\AutoloadIncluder');
}
if (!class_exists('ComposerAutoloaderInit848b0a99bf2c8adf440a401a6d00ecb8', false) && !interface_exists('ComposerAutoloaderInit848b0a99bf2c8adf440a401a6d00ecb8', false) && !trait_exists('ComposerAutoloaderInit848b0a99bf2c8adf440a401a6d00ecb8', false)) {
spl_autoload_call('RectorPrefix20220530\ComposerAutoloaderInit848b0a99bf2c8adf440a401a6d00ecb8');
if (!class_exists('ComposerAutoloaderInitd21789c959428fbdf3870642f2f52eee', false) && !interface_exists('ComposerAutoloaderInitd21789c959428fbdf3870642f2f52eee', false) && !trait_exists('ComposerAutoloaderInitd21789c959428fbdf3870642f2f52eee', false)) {
spl_autoload_call('RectorPrefix20220530\ComposerAutoloaderInitd21789c959428fbdf3870642f2f52eee');
}
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('RectorPrefix20220530\Helmich\TypoScriptParser\Parser\AST\Statement');
@ -56,9 +56,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20220530\print_node(...func_get_args());
}
}
if (!function_exists('composerRequire848b0a99bf2c8adf440a401a6d00ecb8')) {
function composerRequire848b0a99bf2c8adf440a401a6d00ecb8() {
return \RectorPrefix20220530\composerRequire848b0a99bf2c8adf440a401a6d00ecb8(...func_get_args());
if (!function_exists('composerRequired21789c959428fbdf3870642f2f52eee')) {
function composerRequired21789c959428fbdf3870642f2f52eee() {
return \RectorPrefix20220530\composerRequired21789c959428fbdf3870642f2f52eee(...func_get_args());
}
}
if (!function_exists('scanPath')) {