Updated Rector to commit 5e0f1ce34354497a5163bbd51dddf91cb5c82207

5e0f1ce343 [DeadCode] Skip value variable used in throw stmts in catch on UnusedForeachValueToArrayKeysRector (#6607)
This commit is contained in:
Tomas Votruba 2024-12-18 09:55:31 +00:00
parent d257e68fbf
commit 6d48540b47
2 changed files with 3 additions and 3 deletions

View File

@ -115,7 +115,7 @@ CODE_SAMPLE
if ($this->isVariableUsedInForeach($stmt->valueVar, $stmt)) {
continue;
}
if ($this->stmtsManipulator->isVariableUsedInNextStmt($stmts, $key + 1, (string) $this->getName($stmt->valueVar))) {
if ($this->stmtsManipulator->isVariableUsedInNextStmt($node, $key + 1, (string) $this->getName($stmt->valueVar))) {
continue;
}
$hasChanged = \true;

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'e7e8c5bfac8df0f605d6588c3612a05cca74b017';
public const PACKAGE_VERSION = '5e0f1ce34354497a5163bbd51dddf91cb5c82207';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-12-18 16:35:21';
public const RELEASE_DATE = '2024-12-18 16:53:02';
/**
* @var int
*/