And again #5
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)
|
MissingReturnType:
src/Adapter.php#L160
src/Adapter.php:160:24: MissingReturnType: Method Yiisoft\Queue\Db\Adapter::release does not have a return type, expecting void (see https://psalm.dev/050)
|
MissingReturnType:
src/Adapter.php#L179
src/Adapter.php:179:22: MissingReturnType: Method Yiisoft\Queue\Db\Adapter::moveExpired does not have a return type, expecting void (see https://psalm.dev/050)
|
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.3-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
|
psalm / PHP 8.3-ubuntu-latest
The operation was canceled.
|
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" 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)
|
MissingReturnType:
src/Adapter.php#L160
src/Adapter.php:160:24: MissingReturnType: Method Yiisoft\Queue\Db\Adapter::release does not have a return type, expecting void (see https://psalm.dev/050)
|
MissingReturnType:
src/Adapter.php#L179
src/Adapter.php:179:22: MissingReturnType: Method Yiisoft\Queue\Db\Adapter::moveExpired does not have a return type, expecting void (see https://psalm.dev/050)
|
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
The operation was canceled.
|