Updated Rector to commit f5f4d7a2f7d698d1567633e7bc464e3691709bfa

f5f4d7a2f7 [TypeDeclaration] Handle default value on TypedPropertyFromStrictConstructorRector (#862)
This commit is contained in:
Tomas Votruba 2021-09-10 09:41:11 +00:00
parent b2f416d234
commit 0aa0fc532e
6 changed files with 20 additions and 19 deletions

View File

@ -86,6 +86,7 @@ CODE_SAMPLE
return null; return null;
} }
$node->type = $propertyTypeNode; $node->type = $propertyTypeNode;
$node->props[0]->default = null;
$phpDocInfo = $this->phpDocInfoFactory->createFromNodeOrEmpty($node); $phpDocInfo = $this->phpDocInfoFactory->createFromNodeOrEmpty($node);
$this->varTagRemover->removeVarTagIfUseless($phpDocInfo, $node); $this->varTagRemover->removeVarTagIfUseless($phpDocInfo, $node);
return $node; return $node;

View File

@ -16,11 +16,11 @@ final class VersionResolver
/** /**
* @var string * @var string
*/ */
public const PACKAGE_VERSION = '0c36bf87697e35498859e46682f5dc4d786d2ed4'; public const PACKAGE_VERSION = 'f5f4d7a2f7d698d1567633e7bc464e3691709bfa';
/** /**
* @var string * @var string
*/ */
public const RELEASE_DATE = '2021-09-10 11:28:58'; public const RELEASE_DATE = '2021-09-10 11:30:03';
public static function resolvePackageVersion() : string public static function resolvePackageVersion() : string
{ {
$process = new \RectorPrefix20210910\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__); $process = new \RectorPrefix20210910\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);

2
vendor/autoload.php vendored
View File

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

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInit13ceb445098097ba421f3ebfd16fa15d class ComposerAutoloaderInit36cece9e933028e366786c315b60c5ad
{ {
private static $loader; private static $loader;
@ -22,15 +22,15 @@ class ComposerAutoloaderInit13ceb445098097ba421f3ebfd16fa15d
return self::$loader; return self::$loader;
} }
spl_autoload_register(array('ComposerAutoloaderInit13ceb445098097ba421f3ebfd16fa15d', 'loadClassLoader'), true, true); spl_autoload_register(array('ComposerAutoloaderInit36cece9e933028e366786c315b60c5ad', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit13ceb445098097ba421f3ebfd16fa15d', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInit36cece9e933028e366786c315b60c5ad', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) { if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php'; require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit13ceb445098097ba421f3ebfd16fa15d::getInitializer($loader)); call_user_func(\Composer\Autoload\ComposerStaticInit36cece9e933028e366786c315b60c5ad::getInitializer($loader));
} else { } else {
$classMap = require __DIR__ . '/autoload_classmap.php'; $classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) { if ($classMap) {
@ -42,19 +42,19 @@ class ComposerAutoloaderInit13ceb445098097ba421f3ebfd16fa15d
$loader->register(true); $loader->register(true);
if ($useStaticLoader) { if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit13ceb445098097ba421f3ebfd16fa15d::$files; $includeFiles = Composer\Autoload\ComposerStaticInit36cece9e933028e366786c315b60c5ad::$files;
} else { } else {
$includeFiles = require __DIR__ . '/autoload_files.php'; $includeFiles = require __DIR__ . '/autoload_files.php';
} }
foreach ($includeFiles as $fileIdentifier => $file) { foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire13ceb445098097ba421f3ebfd16fa15d($fileIdentifier, $file); composerRequire36cece9e933028e366786c315b60c5ad($fileIdentifier, $file);
} }
return $loader; return $loader;
} }
} }
function composerRequire13ceb445098097ba421f3ebfd16fa15d($fileIdentifier, $file) function composerRequire36cece9e933028e366786c315b60c5ad($fileIdentifier, $file)
{ {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file; require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload; namespace Composer\Autoload;
class ComposerStaticInit13ceb445098097ba421f3ebfd16fa15d class ComposerStaticInit36cece9e933028e366786c315b60c5ad
{ {
public static $files = array ( public static $files = array (
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@ -3856,9 +3856,9 @@ class ComposerStaticInit13ceb445098097ba421f3ebfd16fa15d
public static function getInitializer(ClassLoader $loader) public static function getInitializer(ClassLoader $loader)
{ {
return \Closure::bind(function () use ($loader) { return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit13ceb445098097ba421f3ebfd16fa15d::$prefixLengthsPsr4; $loader->prefixLengthsPsr4 = ComposerStaticInit36cece9e933028e366786c315b60c5ad::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit13ceb445098097ba421f3ebfd16fa15d::$prefixDirsPsr4; $loader->prefixDirsPsr4 = ComposerStaticInit36cece9e933028e366786c315b60c5ad::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit13ceb445098097ba421f3ebfd16fa15d::$classMap; $loader->classMap = ComposerStaticInit36cece9e933028e366786c315b60c5ad::$classMap;
}, null, ClassLoader::class); }, 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)) { if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
spl_autoload_call('RectorPrefix20210910\AutoloadIncluder'); spl_autoload_call('RectorPrefix20210910\AutoloadIncluder');
} }
if (!class_exists('ComposerAutoloaderInit13ceb445098097ba421f3ebfd16fa15d', false) && !interface_exists('ComposerAutoloaderInit13ceb445098097ba421f3ebfd16fa15d', false) && !trait_exists('ComposerAutoloaderInit13ceb445098097ba421f3ebfd16fa15d', false)) { if (!class_exists('ComposerAutoloaderInit36cece9e933028e366786c315b60c5ad', false) && !interface_exists('ComposerAutoloaderInit36cece9e933028e366786c315b60c5ad', false) && !trait_exists('ComposerAutoloaderInit36cece9e933028e366786c315b60c5ad', false)) {
spl_autoload_call('RectorPrefix20210910\ComposerAutoloaderInit13ceb445098097ba421f3ebfd16fa15d'); spl_autoload_call('RectorPrefix20210910\ComposerAutoloaderInit36cece9e933028e366786c315b60c5ad');
} }
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)) { 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('RectorPrefix20210910\Helmich\TypoScriptParser\Parser\AST\Statement'); spl_autoload_call('RectorPrefix20210910\Helmich\TypoScriptParser\Parser\AST\Statement');
@ -3311,9 +3311,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20210910\print_node(...func_get_args()); return \RectorPrefix20210910\print_node(...func_get_args());
} }
} }
if (!function_exists('composerRequire13ceb445098097ba421f3ebfd16fa15d')) { if (!function_exists('composerRequire36cece9e933028e366786c315b60c5ad')) {
function composerRequire13ceb445098097ba421f3ebfd16fa15d() { function composerRequire36cece9e933028e366786c315b60c5ad() {
return \RectorPrefix20210910\composerRequire13ceb445098097ba421f3ebfd16fa15d(...func_get_args()); return \RectorPrefix20210910\composerRequire36cece9e933028e366786c315b60c5ad(...func_get_args());
} }
} }
if (!function_exists('parseArgs')) { if (!function_exists('parseArgs')) {