Updated Rector to commit 9a2bcbf87e0e9ef7a243bae52d666f9704c1aee1

9a2bcbf87e [Naming] Fix add fixture RenameVariableToMatchMethodCallReturnTypeRector  for date time assign (#3277)
This commit is contained in:
Tomas Votruba 2023-01-13 18:58:01 +00:00
parent f0db3872cf
commit 3bf1b86a9a
5 changed files with 16 additions and 12 deletions

View File

@ -123,6 +123,10 @@ final class ExpectedNameResolver
if ($returnedType instanceof MixedType) {
return null;
}
if ($returnedType instanceof ObjectType && $returnedType->isInstanceOf('DateTimeInterface')->yes()) {
// skip date time, as custom naming
return null;
}
$expectedName = $this->propertyNaming->getExpectedNameFromType($returnedType);
if ($expectedName !== null) {
return $expectedName->getName();

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'b91f35ff6e833e2abb6591044309984549f0b539';
public const PACKAGE_VERSION = '9a2bcbf87e0e9ef7a243bae52d666f9704c1aee1';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-01-13 15:32:52';
public const RELEASE_DATE = '2023-01-13 19:53:58';
/**
* @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 ComposerAutoloaderInitb28dbaf8f7232df85b184294fd29ad82::getLoader();
return ComposerAutoloaderInit62fad6c0da04a0e958f12fd4de407220::getLoader();

View File

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