Skip to content

And again

And again #6

Triggered via pull request March 25, 2024 22:28
@aphraohaphraoh
synchronize #3
master
Status Failure
Total duration 29s
Artifacts

static.yml

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

Annotations

17 errors
PossiblyNullReference: src/Adapter.php#L88
src/Adapter.php:88:57: PossiblyNullReference: Cannot call method getSequenceName on possibly null value (see https://psalm.dev/083)
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)
PropertyNotSetInConstructor: src/Adapter.php#L195
src/Adapter.php:195:13: PropertyNotSetInConstructor: Property Yiisoft\Queue\Db\Adapter::$reserveTime is not defined in constructor of Yiisoft\Queue\Db\Adapter or in any private or final methods called in the constructor (see https://psalm.dev/074)
psalm / PHP 8.3-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
PossiblyNullReference: src/Adapter.php#L88
src/Adapter.php:88:57: PossiblyNullReference: Cannot call method getSequenceName on possibly null value (see https://psalm.dev/083)
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)
PropertyNotSetInConstructor: src/Adapter.php#L195
src/Adapter.php:195:13: PropertyNotSetInConstructor: Property Yiisoft\Queue\Db\Adapter::$reserveTime is not defined in constructor of Yiisoft\Queue\Db\Adapter or in any private or final methods called in the constructor (see https://psalm.dev/074)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
PossiblyNullReference: src/Adapter.php#L88
src/Adapter.php:88:57: PossiblyNullReference: Cannot call method getSequenceName on possibly null value (see https://psalm.dev/083)
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)
PropertyNotSetInConstructor: src/Adapter.php#L195
src/Adapter.php:195:13: PropertyNotSetInConstructor: Property Yiisoft\Queue\Db\Adapter::$reserveTime is not defined in constructor of Yiisoft\Queue\Db\Adapter or in any private or final methods called in the constructor (see https://psalm.dev/074)
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.