Skip to content

Fix missing namespace in README.md #17

Fix missing namespace in README.md

Fix missing namespace in README.md #17

Triggered via push January 29, 2024 14:34
Status Failure
Total duration 38s
Artifacts

static.yml

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

Annotations

6 errors
RedundantConditionGivenDocblockType: src/Mailer.php#L96
src/Mailer.php:96:13: RedundantConditionGivenDocblockType: Docblock-defined type yii\di\Container for Yii::$container is always isset (see https://psalm.dev/156)
ArgumentTypeCoercion: src/Mailer.php#L124
src/Mailer.php:124:30: ArgumentTypeCoercion: Argument 1 of Symfony\Component\Mailer\Transport::__construct expects array<array-key, Symfony\Component\Mailer\Transport\TransportFactoryInterface>, but parent type Traversable<int, Symfony\Component\Mailer\Transport\TransportFactoryInterface>|list<object> provided (see https://psalm.dev/193)
MoreSpecificImplementedParamType: src/Mailer.php#L160
src/Mailer.php:160:36: MoreSpecificImplementedParamType: Argument 1 of yii\symfonymailer\Mailer::sendMessage has the more specific type 'yii\symfonymailer\MessageWrapperInterface&yii\mail\MessageInterface', expecting 'yii\mail\MessageInterface' as defined by yii\mail\BaseMailer::sendMessage (see https://psalm.dev/140)
DocblockTypeContradiction: src/Mailer.php#L162
src/Mailer.php:162:15: DocblockTypeContradiction: Docblock-defined type yii\symfonymailer\MessageWrapperInterface&yii\mail\MessageInterface for yii\symfonymailer\MessageWrapperInterface&yii\mail\MessageInterface is always yii\symfonymailer\MessageWrapperInterface (see https://psalm.dev/155)
NoValue: src/Mailer.php#L166
src/Mailer.php:166:27: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.