mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
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:
parent
0cbee62160
commit
9e54649587
@ -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)) {
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user