PHP #451
ci.yaml
on: schedule
Matrix: Coding Standards
Matrix: Static Code Analysis
Matrix: Tests
Annotations
3 errors
Static Code Analysis (8.3)
Process completed with exit code 1.
|
Static Code Analysis (8.3):
src/Request/StoriesRequest.php#L129
Method Storyblok\Api\Request\StoriesRequest::toArray() should return array{language: string, page: int, per_page: int, sort_by?: string, filter_query?: list<mixed>, with_tag?: string, excluding_fields?: string, excluding_ids?: string, ...} but returns array{language: string, page: int, per_page: int<min, 100>, sort_by?: string, filter_query?: array, with_tag?: string, excluding_fields?: string, excluding_ids?: string, ...}.
|
Static Code Analysis (8.3):
src/Request/StoriesRequest.php#L0
Ignored error pattern #^Method Storyblok\\Api\\Request\\StoriesRequest\:\:toArray\(\) should return array\{language\: string, page\: int, per_page\: int, sort_by\?\: string, filter_query\?\: list\<mixed\>, with_tag\?\: string, excluding_fields\?\: string, excluding_ids\?\: string, \.\.\.\} but returns array\{language\: string, page\: int, per_page\: int, sort_by\?\: string, filter_query\?\: array, with_tag\?\: string, excluding_fields\?\: string, excluding_ids\?\: string, \.\.\.\}\.$# (return.type) in path /home/runner/work/php-content-api-client/php-content-api-client/src/Request/StoriesRequest.php was not matched in reported errors.
|