Skip to content

Fix docs (#73)

Fix docs (#73) #404

Triggered via push May 15, 2024 07:04
Status Failure
Total duration 32s
Artifacts

static.yml

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

Annotations

6 errors
InvalidDocblock: src/ObjectProxy.php#L29
src/ObjectProxy.php:29:5: InvalidDocblock: Unexpected token . in docblock for Yiisoft\Proxy\ObjectProxy::getInstance (see https://psalm.dev/008)
RiskyTruthyFalsyComparison: src/ProxyManager.php#L35
src/ProxyManager.php:35:29: 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/ProxyManager.php#L73
src/ProxyManager.php:73: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)
InvalidStringClass: src/ProxyManager.php#L92
src/ProxyManager.php:92:16: InvalidStringClass: String cannot be used as a class (see https://psalm.dev/160)
InvalidDocblock: src/ProxyTrait.php#L28
src/ProxyTrait.php:28:5: InvalidDocblock: Unexpected token . in docblock for Yiisoft\Proxy\ProxyTrait::getCurrentError (see https://psalm.dev/008)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.