Cache result of Groups::groups()
#812
Annotations
6 errors
Run Psalm on internal code:
src/Metadata/Api/Groups.php#L65
src/Metadata/Api/Groups.php:65:20: PropertyTypeCoercion: PHPUnit\Metadata\Api\Groups::$groupCache expects 'array<string, list<string>>', parent type 'non-empty-array<string, non-empty-array<int<0, max>, string>>' provided (see https://psalm.dev/198)
|
Run Psalm on internal code:
src/Metadata/Api/Groups.php#L65
src/Metadata/Api/Groups.php:65:20: LessSpecificReturnStatement: The type 'non-empty-array<int<0, max>, non-empty-string>' is more general than the declared return type 'list<string>' for PHPUnit\Metadata\Api\Groups::groups (see https://psalm.dev/129)
|
Run Psalm on internal code:
src/Metadata/Api/Groups.php#L100
src/Metadata/Api/Groups.php:100:16: PropertyTypeCoercion: PHPUnit\Metadata\Api\Groups::$groupCache expects 'array<string, list<string>>', parent type 'non-empty-array<string, non-empty-array<int<0, max>, string>>' provided (see https://psalm.dev/198)
|
Run Psalm on internal code:
src/Metadata/Api/Groups.php#L100
src/Metadata/Api/Groups.php:100:16: LessSpecificReturnStatement: The type 'non-empty-array<int<0, max>, non-empty-string>' is more general than the declared return type 'list<string>' for PHPUnit\Metadata\Api\Groups::groups (see https://psalm.dev/129)
|
Run Psalm on internal code:
src/Metadata/Api/Groups.php#L1
src/Metadata/Api/Groups.php:0:0: UnusedBaselineEntry: Baseline for issue "LessSpecificReturnStatement" has 2 extra entries. (see https://psalm.dev/316)
|
Run Psalm on internal code
Process completed with exit code 2.
|
Loading