Updated Rector to commit cb96062f3cd5891fd89b419eebdd762061e82f85

cb96062f3c Clean up UseImportsTraverser (#6291)
This commit is contained in:
Tomas Votruba 2024-09-05 22:11:12 +00:00
parent 41a5fd7eb0
commit 1e876747d5
2 changed files with 5 additions and 6 deletions

View File

@ -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);
}
}
}
/**

View File

@ -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
*/