Skip to content

Feature/cake5 improvements #48

Feature/cake5 improvements

Feature/cake5 improvements #48

Triggered via pull request December 9, 2024 20:17
Status Failure
Total duration 2m 3s
Artifacts

ci.yml

on: pull_request
cs-stan  /  Coding Standard & Static Analysis
35s
cs-stan / Coding Standard & Static Analysis
Matrix: testsuite / testsuite-linux
Fit to window
Zoom out
Zoom in

Annotations

9 errors
cs-stan / Coding Standard & Static Analysis: src/Command/PurgeQueueCommand.php#L137
Parameter #1 $queueConfig of method CakeDC\QueueMonitor\Service\EnqueueClientService::purgeQueue() expects string, string|null given.
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
RiskyTruthyFalsyComparison: src/Command/PurgeQueueCommand.php#L99
src/Command/PurgeQueueCommand.php:99:13: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PossiblyNullArgument: src/Command/PurgeQueueCommand.php#L137
src/Command/PurgeQueueCommand.php:137:57: PossiblyNullArgument: Argument 1 of CakeDC\QueueMonitor\Service\EnqueueClientService::purgeQueue cannot be null, possibly null value provided (see https://psalm.dev/078)
RiskyTruthyFalsyComparison: src/Command/PurgeQueueCommand.php#L154
src/Command/PurgeQueueCommand.php:154:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Command/PurgeQueueCommand.php#L180
src/Command/PurgeQueueCommand.php:180:13: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
UndefinedFunction: src/Mailer/TestQueueMailer.php#L44
src/Mailer/TestQueueMailer.php:44:26: UndefinedFunction: Function CakeDC\QueueMonitor\Mailer\__ does not exist (see https://psalm.dev/021)
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 2.