Skip to content

Commit d0cebca

Browse files
committed
Updated Rector to commit 5686812d5d529cc9a3f4ad32cb57229fdb15c25c
rectorphp/rector-src@5686812 [DeadCode] Skip switch break not unreachable on RemoveUnreachableStatementRector (#6837)
1 parent 0f66730 commit d0cebca

2 files changed

Lines changed: 3 additions & 3 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 = '0ca26f56d95ae978b00a5c96842013bd41daab17';
22+
public const PACKAGE_VERSION = '5686812d5d529cc9a3f4ad32cb57229fdb15c25c';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2025-04-14 20:21:08';
27+
public const RELEASE_DATE = '2025-04-15 19:23:41';
2828
/**
2929
* @var int
3030
*/

src/NodeAnalyzer/TerminatedNodeAnalyzer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private function isTerminatedInLastStmts(array $stmts, Node $node) : bool
133133
}
134134
$lastKey = \array_key_last($stmts);
135135
$lastNode = $stmts[$lastKey];
136-
if (isset($stmts[$lastKey - 1]) && $this->isTerminatedNode($stmts[$lastKey - 1], $node)) {
136+
if (isset($stmts[$lastKey - 1]) && !$this->isTerminatedNode($stmts[$lastKey - 1], $node)) {
137137
return \false;
138138
}
139139
if ($lastNode instanceof Expression) {

0 commit comments

Comments
 (0)