Updated Rector to commit 290f2a03d53d0b8da35beb973d724f95a77983cb

290f2a03d5 [PostRector] Ensure old classes in use statements cleaned up after rename attribuet on ClassRenamingPostRector (#5231)
This commit is contained in:
Tomas Votruba 2023-11-07 19:13:05 +00:00
parent 0cbee62160
commit 9e54649587
2 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ final class ClassRenamingPostRector extends \Rector\PostRector\Rector\AbstractPo
if (!$result instanceof Name && !$node instanceof FullyQualified) {
$phpAttributeName = $node->getAttribute(AttributeKey::PHP_ATTRIBUTE_NAME);
if (\is_string($phpAttributeName)) {
return $this->classRenamer->renameNode(new FullyQualified($phpAttributeName, $node->getAttributes()), $oldToNewClasses, $scope);
$result = $this->classRenamer->renameNode(new FullyQualified($phpAttributeName, $node->getAttributes()), $oldToNewClasses, $scope);
}
}
if (!SimpleParameterProvider::provideBoolParameter(Option::AUTO_IMPORT_NAMES)) {

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '9adc7a04b3a312957bb305edafcd0427fa6bd257';
public const PACKAGE_VERSION = '290f2a03d53d0b8da35beb973d724f95a77983cb';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-11-08 01:54:33';
public const RELEASE_DATE = '2023-11-08 02:10:08';
/**
* @var int
*/