Skip to content

Update PHPStan to 2.x #846

Update PHPStan to 2.x

Update PHPStan to 2.x #846

Triggered via pull request November 27, 2024 08:20
Status Failure
Total duration 1m 0s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
PHPStan: src/Entity/EmptyReferenceCache.php#L32
Property App\Entity\EmptyReferenceCache::$emptyReferences type mapping mismatch: database can contain array but property expects list<string>.
PHPStan: src/Entity/PackageRepository.php#L546
Method App\Entity\PackageRepository::getSuggestCount() should return int<0, max> but returns int.
PHPStan: src/Entity/PhpStatRepository.php#L45
Method App\Entity\PhpStatRepository::getStatVersions() should return list<array{version: string, depth: 0|1|2|3}> but returns array<mixed>.
PHPStan
Process completed with exit code 1.