Skip to content

Commit

Permalink
Updated Rector to commit d01cdf411c072abfdacc464c9bf07a4521a8d40e
Browse files Browse the repository at this point in the history
rectorphp/rector-src@d01cdf4 [DeadCode] Skip dynamic name on RemoveParentCallWithoutParentRector (#6659)
  • Loading branch information
TomasVotruba committed Jan 6, 2025
1 parent 71cfadb commit 98031aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ private function isParentStaticCall(Expr $expr) : bool
if (!$expr instanceof StaticCall) {
return \false;
}
if ($expr->name instanceof Expr) {
return \false;
}
return $this->isName($expr->class, ObjectReference::PARENT);
}
private function shouldSkipClass(Class_ $class) : bool
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 = 'b833a753cc1d999fe0e832367a83d48311e378b4';
public const PACKAGE_VERSION = 'd01cdf411c072abfdacc464c9bf07a4521a8d40e';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2025-01-07 01:04:32';
public const RELEASE_DATE = '2025-01-07 02:35:47';
/**
* @var int
*/
Expand Down

0 comments on commit 98031aa

Please sign in to comment.