<?php
declare(strict_types=1);
namespace Rector\Tests\CodeQuality\Rector\ClassMethod\LocallyCalledStaticMethodToNonStaticRector\Fixture;
final class SkipPrivateStaticCallFromStatic
{
public static function bar(string $input)
{
return SkipPrivateStaticCallFromStatic::reallyBar($input);
}
private static function reallyBar($input)
{
return $input . ' - bar';
}
}
Rector should skip if static call is done using the class name instead of self / static