Updated Rector to commit f33da13f566d733549bce0a1173cca8433b7ef05

f33da13f56 Support final methods in ClassMethodReturnTypeOverrideGuard (#4509)
This commit is contained in:
Tomas Votruba 2023-07-14 13:31:54 +00:00
parent 3e8e67ac99
commit f566e4f4b4
5 changed files with 15 additions and 12 deletions

View File

@ -108,6 +108,9 @@ final class ClassMethodReturnTypeOverrideGuard
if (!$this->isReturnTypeChangeAllowed($classMethod, $scope)) {
return \true;
}
if ($classMethod->isFinal()) {
return \false;
}
$childrenClassReflections = $this->familyRelationsAnalyzer->getChildrenOfClassReflection($classReflection);
if ($childrenClassReflections === []) {
return \false;

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '4e016abd43fa853c69b1454d378a32a1bb0fa0ae';
public const PACKAGE_VERSION = 'f33da13f566d733549bce0a1173cca8433b7ef05';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-07-14 12:33:54';
public const RELEASE_DATE = '2023-07-14 14:27:39';
/**
* @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';
return ComposerAutoloaderInitcfe3abf1df47216c9d77c375b3f19fe6::getLoader();
return ComposerAutoloaderInitc21809fad48156c56f6a40cf49576809::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitcfe3abf1df47216c9d77c375b3f19fe6
class ComposerAutoloaderInitc21809fad48156c56f6a40cf49576809
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInitcfe3abf1df47216c9d77c375b3f19fe6
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInitcfe3abf1df47216c9d77c375b3f19fe6', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitc21809fad48156c56f6a40cf49576809', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInitcfe3abf1df47216c9d77c375b3f19fe6', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitc21809fad48156c56f6a40cf49576809', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInitcfe3abf1df47216c9d77c375b3f19fe6::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitc21809fad48156c56f6a40cf49576809::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInitcfe3abf1df47216c9d77c375b3f19fe6::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInitc21809fad48156c56f6a40cf49576809::$files;
$requireFile = \Closure::bind(static function ($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 ComposerStaticInitcfe3abf1df47216c9d77c375b3f19fe6
class ComposerStaticInitc21809fad48156c56f6a40cf49576809
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -3027,9 +3027,9 @@ class ComposerStaticInitcfe3abf1df47216c9d77c375b3f19fe6
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitcfe3abf1df47216c9d77c375b3f19fe6::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitcfe3abf1df47216c9d77c375b3f19fe6::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitcfe3abf1df47216c9d77c375b3f19fe6::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitc21809fad48156c56f6a40cf49576809::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitc21809fad48156c56f6a40cf49576809::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitc21809fad48156c56f6a40cf49576809::$classMap;
}, null, ClassLoader::class);
}