Skip to content

Commit

Permalink
Updated Rector to commit 319e9f0694be4026734c932a3b6b8c31debdb0f8
Browse files Browse the repository at this point in the history
rectorphp/rector-src@319e9f0 [Php80] Add fixture for already implements Stringable (#5119)
  • Loading branch information
TomasVotruba committed Oct 5, 2023
1 parent 9696ef6 commit b1fd9df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/FamilyTree/Reflection/FamilyRelationsAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ public function getClassLikeAncestorNames($classOrName) : array
$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 {
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 = '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
*/
Expand Down

0 comments on commit b1fd9df

Please sign in to comment.