Skip to content

Commit

Permalink
Updated Rector to commit b0d4b15c3fd96582c6e3ed4d21cf4d30eb8742ce
Browse files Browse the repository at this point in the history
rectorphp/rector-src@b0d4b15 [DeadCode] Ensure change hasChanged flag on RemoveDuplicatedCaseInSwitchRector (#5237)
  • Loading branch information
TomasVotruba committed Nov 10, 2023
1 parent c51a745 commit 17eadc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ private function insertCaseByKeys(Switch_ $switch, array $insertByKeys) : void
foreach ($switch->cases as $case) {
if ($previousCase instanceof Case_ && $this->areSwitchStmtsEqualsAndWithBreak($case, $previousCase)) {
$previousCase->stmts = [];
$this->hasChanged = \true;
}
$previousCase = $case;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'bee1dae395490dd91a86230e1886b514288dfa62';
public const PACKAGE_VERSION = 'b0d4b15c3fd96582c6e3ed4d21cf4d30eb8742ce';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-11-10 13:57:49';
public const RELEASE_DATE = '2023-11-10 08:58:55';
/**
* @var int
*/
Expand Down

0 comments on commit 17eadc7

Please sign in to comment.