Updated Rector to commit c0be2b455e4c83c3da737969f40f57dc6a7e6320

c0be2b455e [CodingStyle] Skip implements interface on MakeInheritedMethodVisibilitySameAsParentRector (#5707)
This commit is contained in:
Tomas Votruba 2024-03-10 23:50:43 +00:00
parent 0b4029ea85
commit d8f1371a76
2 changed files with 8 additions and 2 deletions

View File

@ -93,12 +93,18 @@ CODE_SAMPLE
return null;
}
$hasChanged = \false;
$interfaces = $classReflection->getInterfaces();
foreach ($node->getMethods() as $classMethod) {
if ($classMethod->isMagic()) {
continue;
}
/** @var string $methodName */
$methodName = $this->getName($classMethod->name);
foreach ($interfaces as $interface) {
if ($interface->hasNativeMethod($methodName)) {
continue 2;
}
}
foreach ($parentClassReflections as $parentClassReflection) {
$nativeClassReflection = $parentClassReflection->getNativeReflection();
// the class reflection above takes also @method annotations into an account

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'bdc09071abc58550a41fdd8a4af515206e022f4c';
public const PACKAGE_VERSION = 'c0be2b455e4c83c3da737969f40f57dc6a7e6320';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-03-10 16:21:31';
public const RELEASE_DATE = '2024-03-11 06:48:19';
/**
* @var int
*/