Cache result of Groups::groups()
#812
ci.yaml
on: pull_request
Dependency Validation
8s
Coding Guidelines
46s
Matrix: Unit Tests
Type Checker
26s
Matrix: End-to-End Tests
Code Coverage
1m 23s
Matrix: Test PHAR
Annotations
6 errors
PropertyTypeCoercion:
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)
|
LessSpecificReturnStatement:
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)
|
PropertyTypeCoercion:
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)
|
LessSpecificReturnStatement:
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)
|
UnusedBaselineEntry:
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)
|
Type Checker
Process completed with exit code 2.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phpunit-snapshot-phar
Expired
|
669 KB |
|