Updated Rector to commit d01cdf411c072abfdacc464c9bf07a4521a8d40e

d01cdf411c [DeadCode] Skip dynamic name on RemoveParentCallWithoutParentRector (#6659)
This commit is contained in:
Tomas Votruba 2025-01-06 19:38:19 +00:00
parent 71cfadbfe5
commit 98031aa3cf
2 changed files with 5 additions and 2 deletions

View File

@ -117,6 +117,9 @@ CODE_SAMPLE
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

View File

@ -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
*/