Skip to content

Initial Version

Initial Version #3

Triggered via pull request March 25, 2024 21:51
@aphraohaphraoh
opened #2
master
Status Failure
Total duration 35s
Artifacts

static.yml

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

Annotations

29 errors
UndefinedDocblockClass: src/Adapter.php#L19
src/Adapter.php:19:13: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\Queue\Db\Mutex does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: src/Adapter.php#L21
src/Adapter.php:21:5: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\Queue\Db\Mutex does not exist (see https://psalm.dev/200)
PossiblyNullReference: src/Adapter.php#L92
src/Adapter.php:92:57: PossiblyNullReference: Cannot call method getSequenceName on possibly null value (see https://psalm.dev/083)
InvalidNullableReturnType: src/Adapter.php#L117
src/Adapter.php:117: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#L157
src/Adapter.php:157: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#L164
src/Adapter.php:164: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#L183
src/Adapter.php:183:22: MissingReturnType: Method Yiisoft\Queue\Db\Adapter::moveExpired does not have a return type, expecting void (see https://psalm.dev/050)
MissingPropertyType: src/Adapter.php#L196
src/Adapter.php:196:13: MissingPropertyType: Property Yiisoft\Queue\Db\Adapter::$reserveTime does not have a declared type - consider int<1, max>|null (see https://psalm.dev/045)
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.3-ubuntu-latest
The job was canceled because "ubuntu-latest_8_2" failed.
UndefinedDocblockClass: src/Adapter.php#L19
src/Adapter.php:19:13: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\Queue\Db\Mutex does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: src/Adapter.php#L21
src/Adapter.php:21:5: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\Queue\Db\Mutex does not exist (see https://psalm.dev/200)
PossiblyNullReference: src/Adapter.php#L92
src/Adapter.php:92:57: PossiblyNullReference: Cannot call method getSequenceName on possibly null value (see https://psalm.dev/083)
InvalidNullableReturnType: src/Adapter.php#L117
src/Adapter.php:117: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#L157
src/Adapter.php:157: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#L164
src/Adapter.php:164: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#L183
src/Adapter.php:183:22: MissingReturnType: Method Yiisoft\Queue\Db\Adapter::moveExpired does not have a return type, expecting void (see https://psalm.dev/050)
MissingPropertyType: src/Adapter.php#L196
src/Adapter.php:196:13: MissingPropertyType: Property Yiisoft\Queue\Db\Adapter::$reserveTime does not have a declared type - consider int<1, max>|null (see https://psalm.dev/045)
psalm / PHP 8.3-ubuntu-latest
The operation was canceled.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_2" failed.
UndefinedDocblockClass: src/Adapter.php#L19
src/Adapter.php:19:13: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\Queue\Db\Mutex does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: src/Adapter.php#L21
src/Adapter.php:21:5: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\Queue\Db\Mutex does not exist (see https://psalm.dev/200)
PossiblyNullReference: src/Adapter.php#L92
src/Adapter.php:92:57: PossiblyNullReference: Cannot call method getSequenceName on possibly null value (see https://psalm.dev/083)
InvalidNullableReturnType: src/Adapter.php#L117
src/Adapter.php:117: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#L157
src/Adapter.php:157: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#L164
src/Adapter.php:164: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#L183
src/Adapter.php:183:22: MissingReturnType: Method Yiisoft\Queue\Db\Adapter::moveExpired does not have a return type, expecting void (see https://psalm.dev/050)
MissingPropertyType: src/Adapter.php#L196
src/Adapter.php:196:13: MissingPropertyType: Property Yiisoft\Queue\Db\Adapter::$reserveTime does not have a declared type - consider int<1, max>|null (see https://psalm.dev/045)
psalm / PHP 8.1-ubuntu-latest
The operation was canceled.