Skip to content

feat(StoryApi): improve story creation and error handling #35

feat(StoryApi): improve story creation and error handling

feat(StoryApi): improve story creation and error handling #35

Triggered via pull request January 27, 2025 16:39
Status Failure
Total duration 1m 1s
Artifacts

php.yml

on: pull_request
Matrix: checks
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
P8.4 - ubuntu-latest: src/Endpoints/StoryApi.php#L38
PHPDoc tag @param for parameter $logger with type Psr\Log\LoggerInterface|null is not subtype of native type Psr\Log\LoggerInterface.
P8.4 - ubuntu-latest: src/Endpoints/StoryApi.php#L244
Generator expects value type Storyblok\Mapi\Data\StoryData, mixed given.
P8.4 - ubuntu-latest: src/Endpoints/StoryApi.php#L255
PHPDoc tag @throws with type Storyblok\Mapi\Endpoints\InvalidArgumentException is not subtype of Throwable
P8.4 - ubuntu-latest: src/Endpoints/StoryApi.php#L271
PHPDoc tag @throws with type Storyblok\Mapi\Endpoints\InvalidArgumentException is not subtype of Throwable
P8.4 - ubuntu-latest: src/MapiClient.php#L94
Parameter #3 $logger of class Storyblok\Mapi\Endpoints\StoryApi constructor expects Psr\Log\LoggerInterface, Psr\Log\LoggerInterface|null given.
P8.4 - ubuntu-latest
Process completed with exit code 1.
P8.4 - ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636