Skip to content

Cache result of Groups::groups() #812

Cache result of Groups::groups()

Cache result of Groups::groups() #812

Triggered via pull request March 13, 2024 18:59
Status Failure
Total duration 4m 40s
Artifacts 1

ci.yaml

on: pull_request
Dependency Validation
8s
Dependency Validation
Coding Guidelines
46s
Coding Guidelines
Matrix: Unit Tests
Type Checker
26s
Type Checker
Matrix: End-to-End Tests
Matrix: Test PHAR
Fit to window
Zoom out
Zoom in

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