Updated Rector to commit 5fb68b4a0c04c968a8edaa3556406838d4748757

5fb68b4a0c InlineConstructorDefaultToPropertyRector Readonly Class (#5085)
This commit is contained in:
Tomas Votruba 2023-09-27 13:06:03 +00:00
parent a776210800
commit 0bac9c9526
5 changed files with 13 additions and 13 deletions

View File

@ -128,7 +128,7 @@ CODE_SAMPLE
continue; continue;
} }
// readonly property cannot have default value // readonly property cannot have default value
if ($classStmt->isReadonly()) { if ($classStmt->isReadonly() || $class->isReadonly()) {
continue; continue;
} }
foreach ($classStmt->props as $propertyProperty) { foreach ($classStmt->props as $propertyProperty) {

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api * @api
* @var string * @var string
*/ */
public const PACKAGE_VERSION = '1a65049a8834272e812d10de3954ffeb88f47296'; public const PACKAGE_VERSION = '5fb68b4a0c04c968a8edaa3556406838d4748757';
/** /**
* @api * @api
* @var string * @var string
*/ */
public const RELEASE_DATE = '2023-09-27 15:02:01'; public const RELEASE_DATE = '2023-09-27 15:03:05';
/** /**
* @var int * @var int
*/ */

2
vendor/autoload.php vendored
View File

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

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInit8e8b34d42c0cf8c9bd9d69a4182cae4a class ComposerAutoloaderInitcd51a11148cd29e87f63b1a6a1db4c3d
{ {
private static $loader; private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInit8e8b34d42c0cf8c9bd9d69a4182cae4a
return self::$loader; return self::$loader;
} }
spl_autoload_register(array('ComposerAutoloaderInit8e8b34d42c0cf8c9bd9d69a4182cae4a', 'loadClassLoader'), true, true); spl_autoload_register(array('ComposerAutoloaderInitcd51a11148cd29e87f63b1a6a1db4c3d', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit8e8b34d42c0cf8c9bd9d69a4182cae4a', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInitcd51a11148cd29e87f63b1a6a1db4c3d', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php'; require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit8e8b34d42c0cf8c9bd9d69a4182cae4a::getInitializer($loader)); call_user_func(\Composer\Autoload\ComposerStaticInitcd51a11148cd29e87f63b1a6a1db4c3d::getInitializer($loader));
$loader->setClassMapAuthoritative(true); $loader->setClassMapAuthoritative(true);
$loader->register(true); $loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit8e8b34d42c0cf8c9bd9d69a4182cae4a::$files; $filesToLoad = \Composer\Autoload\ComposerStaticInitcd51a11148cd29e87f63b1a6a1db4c3d::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) { $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload; namespace Composer\Autoload;
class ComposerStaticInit8e8b34d42c0cf8c9bd9d69a4182cae4a class ComposerStaticInitcd51a11148cd29e87f63b1a6a1db4c3d
{ {
public static $files = array ( public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -2601,9 +2601,9 @@ class ComposerStaticInit8e8b34d42c0cf8c9bd9d69a4182cae4a
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 = ComposerStaticInit8e8b34d42c0cf8c9bd9d69a4182cae4a::$prefixLengthsPsr4; $loader->prefixLengthsPsr4 = ComposerStaticInitcd51a11148cd29e87f63b1a6a1db4c3d::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit8e8b34d42c0cf8c9bd9d69a4182cae4a::$prefixDirsPsr4; $loader->prefixDirsPsr4 = ComposerStaticInitcd51a11148cd29e87f63b1a6a1db4c3d::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit8e8b34d42c0cf8c9bd9d69a4182cae4a::$classMap; $loader->classMap = ComposerStaticInitcd51a11148cd29e87f63b1a6a1db4c3d::$classMap;
}, null, ClassLoader::class); }, null, ClassLoader::class);
} }