Skip to content

Commit a9bd680

Browse files
committed
Updated Rector to commit 099d0b5e577745fbf9824ae6c5a296f3b1e70011
rectorphp/rector-src@099d0b5 Fix nested alias unused import (#6807)
1 parent 59ca5ad commit a9bd680

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/Application/VersionResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '1aff76b12e87cf836f9cbbaee9fc030355b162ac';
22+
public const PACKAGE_VERSION = '099d0b5e577745fbf9824ae6c5a296f3b1e70011';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2025-03-23 21:33:47';
27+
public const RELEASE_DATE = '2025-03-25 12:47:28';
2828
/**
2929
* @var int
3030
*/

src/PostRector/Rector/UnusedImportRemovingPostRector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ private function isUseImportUsed(UseItem $useItem, bool $isCaseSensitive, array
176176
return \true;
177177
}
178178
if (\strncmp($name, $lastName . '\\', \strlen($lastName . '\\')) !== 0) {
179+
if (\strncmp($name, $comparedName . '\\', \strlen($comparedName . '\\')) === 0) {
180+
return \true;
181+
}
179182
continue;
180183
}
181184
if ($namespaceName === null) {

0 commit comments

Comments
 (0)