Updated Rector to commit 068799f59b289bef06b9c1f384df4301b19e726e

068799f59b [Performance] Early skip func call name on ClassRenamer (#5837)
This commit is contained in:
Tomas Votruba 2024-04-20 19:29:23 +00:00
parent 1e8aeb3de9
commit b9839a24cb
2 changed files with 6 additions and 3 deletions

View File

@ -121,13 +121,16 @@ final class ClassRenamer
$classReflection = $this->reflectionProvider->getClass($newName);
return $classReflection->isInterface();
}
return $fullyQualified->getAttribute(AttributeKey::IS_FUNCCALL_NAME) === \true;
return \false;
}
/**
* @param array<string, string> $oldToNewClasses
*/
private function refactorName(FullyQualified $fullyQualified, array $oldToNewClasses) : ?FullyQualified
{
if ($fullyQualified->getAttribute(AttributeKey::IS_FUNCCALL_NAME) === \true) {
return null;
}
$stringName = $fullyQualified->toString();
$newName = $oldToNewClasses[$stringName] ?? null;
if ($newName === null) {

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '9ce6af83b6996631fe2a13cca64d25142dc9fb15';
public const PACKAGE_VERSION = '068799f59b289bef06b9c1f384df4301b19e726e';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-04-20 19:22:19';
public const RELEASE_DATE = '2024-04-21 02:27:01';
/**
* @var int
*/