mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-05 02:40:50 +00:00
Updated Rector to commit c0be2b455e4c83c3da737969f40f57dc6a7e6320
c0be2b455e
[CodingStyle] Skip implements interface on MakeInheritedMethodVisibilitySameAsParentRector (#5707)
This commit is contained in:
parent
0b4029ea85
commit
d8f1371a76
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user