Skip to content

Track source of a package update, refs #1490 #853

Track source of a package update, refs #1490

Track source of a package update, refs #1490 #853

Triggered via push December 10, 2024 13:02
Status Failure
Total duration 1m 27s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
PHPStan: src/DataFixtures/PackageFixtures.php#L117
Parameter #1 $job of method App\Service\UpdaterWorker::process() expects App\Entity\Job<array{id: int, update_equal_refs: bool, delete_before: bool, force_dump: bool, source: string}>, App\Entity\Job<array{id: int, update_equal_refs: bool, delete_before: bool, force_dump: bool}> given.
PHPStan: src/Service/QueueWorker.php#L1
Ignored error pattern #^Parameter \#1 \$job of method App\\Service\\GitHubUserMigrationWorker\:\:process\(\) expects App\\Entity\\Job\<array\{id\: int, update_equal_refs\: bool, delete_before\: bool, force_dump\: bool\}\>\|App\\Entity\\Job\<array\{id\: int, old_scope\: string, new_scope\: string\}\>\|App\\Entity\\Job\<array\{source\: string\}\>, App\\Entity\\Job\<array\<string, bool\|int\|string\>\> given\.$# (argument.type) in path /home/runner/work/packagist/packagist/src/Service/QueueWorker.php was not matched in reported errors.
PHPStan: src/Service/QueueWorker.php#L131
Parameter #1 $job of method App\Service\GitHubUserMigrationWorker::process() expects App\Entity\Job<array{id: int, update_equal_refs: bool, delete_before: bool, force_dump: bool, source: string}>|App\Entity\Job<array{id: int, old_scope: string, new_scope: string}>|App\Entity\Job<array{source: string}>, App\Entity\Job<array<string, bool|int|string>> given.
PHPStan
Process completed with exit code 1.
PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636