Inspection S1185 for PHP (Overriding methods should do more than simply call the same method in super class) generates false positive when the child only changes visibility in the signature.
Example:
class A
{
public function __construct()
{
// some code
}
}
class B extends A
{
private function __construct()
{
parent::__construct();
}
public static function factoryMethod(): self {
// do something
return new self();
}
}