Bump sphinx theme #44
Annotations
9 errors
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.
|
Loading