mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-29 14:13:30 +00:00
Updated Rector to commit 319e9f0694be4026734c932a3b6b8c31debdb0f8
319e9f0694
[Php80] Add fixture for already implements Stringable (#5119)
This commit is contained in:
parent
9696ef6862
commit
b1fd9dfd96
|
@ -62,6 +62,9 @@ final class FamilyRelationsAnalyzer
|
|||
$ancestorNames = [];
|
||||
if ($classOrName instanceof Name) {
|
||||
$fullName = $this->nodeNameResolver->getName($classOrName);
|
||||
if (!$this->reflectionProvider->hasClass($fullName)) {
|
||||
return [];
|
||||
}
|
||||
$classReflection = $this->reflectionProvider->getClass($fullName);
|
||||
$ancestors = \array_merge($classReflection->getParents(), $classReflection->getInterfaces());
|
||||
return \array_map(static function (ClassReflection $classReflection) : string {
|
||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'a6732a5b0e80868a6542c9bd5443f27750577e64';
|
||||
public const PACKAGE_VERSION = '319e9f0694be4026734c932a3b6b8c31debdb0f8';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-10-05 14:30:52';
|
||||
public const RELEASE_DATE = '2023-10-05 07:57:38';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user