Bump theme version #42
Annotations
9 errors and 2 warnings
Run psalm:
src/Command/PopulateIndexCommand.php#L164
src/Command/PopulateIndexCommand.php:164: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)
|
Run psalm:
src/Command/PopulateIndexCommand.php#L243
src/Command/PopulateIndexCommand.php:243:13: RiskyTruthyFalsyComparison: Operand of type false|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)
|
Run psalm:
src/Command/PopulateIndexCommand.php#L387
src/Command/PopulateIndexCommand.php:387: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)
|
Run psalm:
src/Docs/Html/Document.php#L88
src/Docs/Html/Document.php:88: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)
|
Run psalm:
src/Docs/Html/Document.php#L137
src/Docs/Html/Document.php:137:16: InvalidReturnType: The declared return type 'DOMNodeList<DOMNode>|false' for App\Docs\Html\Document::evaluateXPathExpression is incorrect, got 'DOMNodeList<DOMNameSpaceNode|DOMNode>|false' (see https://psalm.dev/011)
|
Run psalm:
src/Docs/Html/Document.php#L142
src/Docs/Html/Document.php:142:16: InvalidReturnStatement: The inferred type 'DOMNodeList<DOMNameSpaceNode|DOMNode>|false' does not match the declared return type 'DOMNodeList<DOMNode>|false' for App\Docs\Html\Document::evaluateXPathExpression (see https://psalm.dev/128)
|
Run psalm:
src/Docs/Parser/TocParser.php#L67
src/Docs/Parser/TocParser.php:67:21: RiskyTruthyFalsyComparison: Operand of type false|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)
|
Run psalm:
src/Index/Manager.php#L210
src/Index/Manager.php:210: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)
|
Run psalm
Process completed with exit code 2.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading