mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-16 13:00:23 +01:00
Updated Rector to commit d01cdf411c072abfdacc464c9bf07a4521a8d40e
d01cdf411c
[DeadCode] Skip dynamic name on RemoveParentCallWithoutParentRector (#6659)
This commit is contained in:
parent
71cfadbfe5
commit
98031aa3cf
@ -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
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user