Skip to content

Commit

Permalink
Fix phpstan build
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Dec 10, 2024
1 parent b1cc627 commit 9a43435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ parameters:
path: src/Package/V2Dumper.php

-
message: '#^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\.$#'
message: '#^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\.$#'
identifier: argument.type
count: 1
path: src/Service/QueueWorker.php
1 change: 1 addition & 0 deletions src/DataFixtures/PackageFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ private function updatePackage(int $id): void
'update_equal_refs' => false,
'delete_before' => false,
'force_dump' => false,
'source' => 'fixtures',
]);

$this->updaterWorker->process($job, $this->signalHandler);
Expand Down

0 comments on commit 9a43435

Please sign in to comment.