Skip to content

Convert envelope trait to abstract class #1144

Convert envelope trait to abstract class

Convert envelope trait to abstract class #1144

Triggered via pull request May 8, 2025 11:16
Status Failure
Total duration 33s
Artifacts

static.yml

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

Annotations

15 errors
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.
LessSpecificReturnStatement: src/Message/Envelope.php#L15
src/Message/Envelope.php:15:16: LessSpecificReturnStatement: The type 'Yiisoft\Queue\Message\EnvelopeInterface&static' is more general than the declared return type 'Yiisoft\Queue\Message\Envelope&static' for Yiisoft\Queue\Message\Envelope::fromData (see https://psalm.dev/129)
MoreSpecificReturnType: src/Message/Envelope.php#L13
src/Message/Envelope.php:13:94: MoreSpecificReturnType: The declared return type 'Yiisoft\Queue\Message\Envelope&static' for Yiisoft\Queue\Message\Envelope::fromData is more specific than the inferred return type 'Yiisoft\Queue\Message\EnvelopeInterface&static' (see https://psalm.dev/070)
psalm / PHP 8.2-ubuntu-latest
The operation was canceled.
LessSpecificReturnStatement: src/Message/Envelope.php#L15
src/Message/Envelope.php:15:16: LessSpecificReturnStatement: The type 'Yiisoft\Queue\Message\EnvelopeInterface&static' is more general than the declared return type 'Yiisoft\Queue\Message\Envelope&static' for Yiisoft\Queue\Message\Envelope::fromData (see https://psalm.dev/129)
MoreSpecificReturnType: src/Message/Envelope.php#L13
src/Message/Envelope.php:13:94: MoreSpecificReturnType: The declared return type 'Yiisoft\Queue\Message\Envelope&static' for Yiisoft\Queue\Message\Envelope::fromData is more specific than the inferred return type 'Yiisoft\Queue\Message\EnvelopeInterface&static' (see https://psalm.dev/070)
psalm / PHP 8.2-ubuntu-latest
The strategy configuration was canceled because "psalm.psalm.ubuntu-latest_8_1" failed
psalm / PHP 8.4-ubuntu-latest
The operation was canceled.
LessSpecificReturnStatement: src/Message/Envelope.php#L15
src/Message/Envelope.php:15:16: LessSpecificReturnStatement: The type 'Yiisoft\Queue\Message\EnvelopeInterface&static' is more general than the declared return type 'Yiisoft\Queue\Message\Envelope&static' for Yiisoft\Queue\Message\Envelope::fromData (see https://psalm.dev/129)
MoreSpecificReturnType: src/Message/Envelope.php#L13
src/Message/Envelope.php:13:94: MoreSpecificReturnType: The declared return type 'Yiisoft\Queue\Message\Envelope&static' for Yiisoft\Queue\Message\Envelope::fromData is more specific than the inferred return type 'Yiisoft\Queue\Message\EnvelopeInterface&static' (see https://psalm.dev/070)
psalm / PHP 8.4-ubuntu-latest
The strategy configuration was canceled because "psalm.psalm.ubuntu-latest_8_1" failed
psalm / PHP 8.3-ubuntu-latest
The operation was canceled.
LessSpecificReturnStatement: src/Message/Envelope.php#L15
src/Message/Envelope.php:15:16: LessSpecificReturnStatement: The type 'Yiisoft\Queue\Message\EnvelopeInterface&static' is more general than the declared return type 'Yiisoft\Queue\Message\Envelope&static' for Yiisoft\Queue\Message\Envelope::fromData (see https://psalm.dev/129)
MoreSpecificReturnType: src/Message/Envelope.php#L13
src/Message/Envelope.php:13:94: MoreSpecificReturnType: The declared return type 'Yiisoft\Queue\Message\Envelope&static' for Yiisoft\Queue\Message\Envelope::fromData is more specific than the inferred return type 'Yiisoft\Queue\Message\EnvelopeInterface&static' (see https://psalm.dev/070)
psalm / PHP 8.3-ubuntu-latest
The strategy configuration was canceled because "psalm.psalm.ubuntu-latest_8_1" failed