Skip to content

Require phpstan/phpstan 2 #83

Require phpstan/phpstan 2

Require phpstan/phpstan 2 #83

Triggered via pull request February 12, 2025 13:24
Status Failure
Total duration 1m 8s
Artifacts

ci.yaml

on: pull_request
Matrix: Coding Standards
Matrix: Static Code Analysis
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Static Code Analysis (8.3): src/DatasourceEntriesApi.php#L1
Ignored error pattern #^Parameter \#1 \$headers of static method Storyblok\\Api\\Domain\\Value\\Total\:\:fromHeaders\(\) expects array\<string, list\<string\>\>, array\<array\<string\>\> given\.$# (argument.type) in path /home/runner/work/php-content-api-client/php-content-api-client/src/DatasourceEntriesApi.php was not matched in reported errors.
Static Code Analysis (8.3): src/DatasourcesApi.php#L1
Ignored error pattern #^Parameter \#1 \$headers of static method Storyblok\\Api\\Domain\\Value\\Total\:\:fromHeaders\(\) expects array\<string, list\<string\>\>, array\<array\<string\>\> given\.$# (argument.type) in path /home/runner/work/php-content-api-client/php-content-api-client/src/DatasourcesApi.php was not matched in reported errors.
Static Code Analysis (8.3): src/Domain/Value/Link.php#L1
Ignored error pattern #^PHPDoc tag @var has invalid value \(list\<LinkAlternate\>1\)\: Unexpected token "1", expected TOKEN_HORIZONTAL_WS at offset 35 on line 2$# (phpDoc.parseError) in path /home/runner/work/php-content-api-client/php-content-api-client/src/Domain/Value/Link.php was not matched in reported errors.
Static Code Analysis (8.3): src/Domain/Value/Link.php#L97
Property Storyblok\Api\Domain\Value\Link::$alternates (list<Storyblok\Api\Domain\Value\LinkAlternate>) does not accept array<Storyblok\Api\Domain\Value\LinkAlternate>.
Static Code Analysis (8.3): src/LinksApi.php#L1
Ignored error pattern #^Parameter \#1 \$headers of static method Storyblok\\Api\\Domain\\Value\\Total\:\:fromHeaders\(\) expects array\<string, list\<string\>\>, array\<array\<string\>\> given\.$# (argument.type) in path /home/runner/work/php-content-api-client/php-content-api-client/src/LinksApi.php was not matched in reported errors.
Static Code Analysis (8.3): src/StoriesApi.php#L1
Ignored error pattern #^Parameter \#1 \$headers of static method Storyblok\\Api\\Domain\\Value\\Total\:\:fromHeaders\(\) expects array\<string, list\<string\>\>, array\<array\<string\>\> given\.$# (argument.type) in path /home/runner/work/php-content-api-client/php-content-api-client/src/StoriesApi.php was not matched in reported errors.
Static Code Analysis (8.3)
Process completed with exit code 1.