You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?phpnamespaceLaminasTest\Cache\Pattern;
useLaminas\Cache\PatternPluginManager;
useLaminas\ServiceManager\ServiceManager;
usePHPUnit\Framework\TestCase;
abstractclassAbstractCommonPatternTestextendsTestCase
{
/** * A data provider for common pattern names * * @return iterable<string,array{0:string}> */abstractpublicfunctiongetCommonPatternNamesProvider();
/** * @dataProvider getCommonPatternNamesProvider */publicfunctiontestPatternPluginManagerWithCommonNames(string$commonPatternName)
{
$pluginManager = newPatternPluginManager(newServiceManager());
self::assertTrue(
$pluginManager->has($commonPatternName),
"Pattern name '{$commonPatternName}' not found in PatternPluginManager"
);
}
}
When extending this abstract class and implementing the data provider like this, I get SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint:
Hey there,
I have the following unit test structure:
When extending this abstract class and implementing the data provider like this, I get
SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint
:It looks like the codestandard is not parsing the parent classes for docblocks. Is that intended?
The text was updated successfully, but these errors were encountered: