Skip to content

Initial Version

Initial Version #9

Triggered via pull request March 25, 2024 23:11
@aphraohaphraoh
opened #5
master
Status Failure
Total duration 27s
Artifacts

static.yml

on: pull_request
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors
InvalidNullableReturnType: src/Adapter.php#L113
src/Adapter.php:113:16: InvalidNullableReturnType: The declared return type 'array<array-key, mixed>|false' for Yiisoft\Queue\Db\Adapter::reserve is not nullable, but 'array{attempt: int, job?: false|mixed|string, reserved_at: int<1, max>, ...<array-key, mixed>}|null' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Adapter.php#L153
src/Adapter.php:153:20: NullableReturnStatement: The declared return type 'array<array-key, mixed>|false' for Yiisoft\Queue\Db\Adapter::reserve is not nullable, but the function returns 'array{attempt: int, job?: false|mixed|string, reserved_at: int<1, max>, ...<array-key, mixed>}|null' (see https://psalm.dev/139)
psalm / PHP 8.3-ubuntu-latest
Process completed with exit code 2.
InvalidNullableReturnType: src/Adapter.php#L113
src/Adapter.php:113:16: InvalidNullableReturnType: The declared return type 'array<array-key, mixed>|false' for Yiisoft\Queue\Db\Adapter::reserve is not nullable, but 'array{attempt: int, job?: false|mixed|string, reserved_at: int<1, max>, ...<array-key, mixed>}|null' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Adapter.php#L153
src/Adapter.php:153:20: NullableReturnStatement: The declared return type 'array<array-key, mixed>|false' for Yiisoft\Queue\Db\Adapter::reserve is not nullable, but the function returns 'array{attempt: int, job?: false|mixed|string, reserved_at: int<1, max>, ...<array-key, mixed>}|null' (see https://psalm.dev/139)
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
InvalidNullableReturnType: src/Adapter.php#L113
src/Adapter.php:113:16: InvalidNullableReturnType: The declared return type 'array<array-key, mixed>|false' for Yiisoft\Queue\Db\Adapter::reserve is not nullable, but 'array{attempt: int, job?: false|mixed|string, reserved_at: int<1, max>, ...<array-key, mixed>}|null' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Adapter.php#L153
src/Adapter.php:153:20: NullableReturnStatement: The declared return type 'array<array-key, mixed>|false' for Yiisoft\Queue\Db\Adapter::reserve is not nullable, but the function returns 'array{attempt: int, job?: false|mixed|string, reserved_at: int<1, max>, ...<array-key, mixed>}|null' (see https://psalm.dev/139)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.