mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 13:28:18 +01:00
Updated Rector to commit cb96062f3cd5891fd89b419eebdd762061e82f85
cb96062f3c
Clean up UseImportsTraverser (#6291)
This commit is contained in:
parent
41a5fd7eb0
commit
1e876747d5
@ -32,9 +32,6 @@ final class UseImportsTraverser
|
||||
$this->traverserStmts($stmt->stmts, $callable);
|
||||
continue;
|
||||
}
|
||||
if (!$stmt instanceof Use_ && !$stmt instanceof GroupUse) {
|
||||
continue;
|
||||
}
|
||||
if ($stmt instanceof Use_) {
|
||||
foreach ($stmt->uses as $useUse) {
|
||||
$name = $this->nodeNameResolver->getName($useUse);
|
||||
@ -45,7 +42,9 @@ final class UseImportsTraverser
|
||||
}
|
||||
continue;
|
||||
}
|
||||
$this->processGroupUse($stmt, $callable);
|
||||
if ($stmt instanceof GroupUse) {
|
||||
$this->processGroupUse($stmt, $callable);
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'e2b96d4f6efda2db3bf6a1074b67fcf2439e848d';
|
||||
public const PACKAGE_VERSION = 'cb96062f3cd5891fd89b419eebdd762061e82f85';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-09-05 21:43:30';
|
||||
public const RELEASE_DATE = '2024-09-05 22:08:54';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user