mirror of
https://github.com/rectorphp/rector.git
synced 2025-04-05 08:02:30 +02:00
Updated Rector to commit 5b423425e584112ae7a02a6e7236c667cd5aedd0
5b423425e5
TypedPropertyFromStrictConstructorRector: Skip phpdoc types (#5020)
This commit is contained in:
parent
8ca231f47a
commit
d8dbb74079
@ -114,7 +114,7 @@ final class TrustedClassMethodPropertyTypeInferer
|
||||
$assignedExprs = $this->classMethodPropertyFetchManipulator->findAssignsToPropertyName($classMethod, $propertyName);
|
||||
$resolvedTypes = [];
|
||||
foreach ($assignedExprs as $assignedExpr) {
|
||||
$resolvedTypes[] = $this->nodeTypeResolver->getType($assignedExpr);
|
||||
$resolvedTypes[] = $this->nodeTypeResolver->getNativeType($assignedExpr);
|
||||
}
|
||||
if ($resolvedTypes === []) {
|
||||
return new MixedType();
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '2b177e80e2630c97653aa9d57ac87acbc1433524';
|
||||
public const PACKAGE_VERSION = '5b423425e584112ae7a02a6e7236c667cd5aedd0';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-09-14 14:19:04';
|
||||
public const RELEASE_DATE = '2023-09-15 00:05:30';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInitc5747f3b5dd9b5888865e90798e1ff54::getLoader();
|
||||
return ComposerAutoloaderInite7b8fdb2124026d1b4b52e592b7ddcc4::getLoader();
|
||||
|
10
vendor/composer/autoload_real.php
vendored
10
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInitc5747f3b5dd9b5888865e90798e1ff54
|
||||
class ComposerAutoloaderInite7b8fdb2124026d1b4b52e592b7ddcc4
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInitc5747f3b5dd9b5888865e90798e1ff54
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitc5747f3b5dd9b5888865e90798e1ff54', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInite7b8fdb2124026d1b4b52e592b7ddcc4', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitc5747f3b5dd9b5888865e90798e1ff54', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInite7b8fdb2124026d1b4b52e592b7ddcc4', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitc5747f3b5dd9b5888865e90798e1ff54::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInite7b8fdb2124026d1b4b52e592b7ddcc4::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInitc5747f3b5dd9b5888865e90798e1ff54::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInite7b8fdb2124026d1b4b52e592b7ddcc4::$files;
|
||||
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInitc5747f3b5dd9b5888865e90798e1ff54
|
||||
class ComposerStaticInite7b8fdb2124026d1b4b52e592b7ddcc4
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -2593,9 +2593,9 @@ class ComposerStaticInitc5747f3b5dd9b5888865e90798e1ff54
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitc5747f3b5dd9b5888865e90798e1ff54::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitc5747f3b5dd9b5888865e90798e1ff54::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitc5747f3b5dd9b5888865e90798e1ff54::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInite7b8fdb2124026d1b4b52e592b7ddcc4::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInite7b8fdb2124026d1b4b52e592b7ddcc4::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInite7b8fdb2124026d1b4b52e592b7ddcc4::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user