Inspection S1185 for PHP (Overriding methods should do more than simply call the same method in super class) generates false positive when the derived child only adds default values to parameters in the signature.
Example:
class A
{
public function __construct(int $value, string $period)
{
// init..
}
}
class DefaultA extends A
{
public function __construct(int $value = 0, string $period = '')
{
parent::__construct($value, $period);
}
}
PHPStorm SonarLint plugin version: 4.0.2.3009