Updated Rector to commit 57894303baab2e24a24387b48c5e94963e78ad26

57894303ba [Performance][CodingStyle] Check public method only for verify override interface (#5708)
This commit is contained in:
Tomas Votruba 2024-03-11 00:12:12 +00:00
parent d8f1371a76
commit 8201d0fc9b
2 changed files with 7 additions and 5 deletions

View File

@ -100,9 +100,11 @@ CODE_SAMPLE
}
/** @var string $methodName */
$methodName = $this->getName($classMethod->name);
foreach ($interfaces as $interface) {
if ($interface->hasNativeMethod($methodName)) {
continue 2;
if ($classMethod->isPublic()) {
foreach ($interfaces as $interface) {
if ($interface->hasNativeMethod($methodName)) {
continue 2;
}
}
}
foreach ($parentClassReflections as $parentClassReflection) {

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'c0be2b455e4c83c3da737969f40f57dc6a7e6320';
public const PACKAGE_VERSION = '57894303baab2e24a24387b48c5e94963e78ad26';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-03-11 06:48:19';
public const RELEASE_DATE = '2024-03-11 00:09:51';
/**
* @var int
*/