mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-21 10:32:24 +00:00
Updated Rector to commit 61d68c89b434271c793fbbcc8e6252e9f3e0e7eb
61d68c89b4
Rename parameter variable to nextCase on RemoveDuplicatedCaseInSwitchRector (#5244)
This commit is contained in:
parent
39dc6141e7
commit
55d6c6f50a
|
@ -108,9 +108,9 @@ CODE_SAMPLE
|
|||
$key += \count($nextCases);
|
||||
}
|
||||
}
|
||||
private function areSwitchStmtsEqualsAndWithBreak(Case_ $currentCase, Case_ $nextOrPrevCase) : bool
|
||||
private function areSwitchStmtsEqualsAndWithBreak(Case_ $currentCase, Case_ $nextCase) : bool
|
||||
{
|
||||
if (!$this->nodeComparator->areNodesEqual($currentCase->stmts, $nextOrPrevCase->stmts)) {
|
||||
if (!$this->nodeComparator->areNodesEqual($currentCase->stmts, $nextCase->stmts)) {
|
||||
return \false;
|
||||
}
|
||||
foreach ($currentCase->stmts as $stmt) {
|
||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '42b697f65f0c648cc45abcc5b9e32a16a7967caa';
|
||||
public const PACKAGE_VERSION = '61d68c89b434271c793fbbcc8e6252e9f3e0e7eb';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-11-11 18:08:36';
|
||||
public const RELEASE_DATE = '2023-11-12 03:53:10';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user