Skip to content

Fix

Fix #13439

Triggered via push November 23, 2024 18:10
Status Failure
Total duration 1m 30s
Artifacts

shepherd.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
UndefinedClass: src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php#L692
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php:692:53: UndefinedClass: Class, interface or enum named Decimal\Decimal does not exist (see https://psalm.dev/019)
MixedArgument: src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php#L692
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php:692:53: MixedArgument: Argument 1 of Psalm\Type\Atomic\TNamedObject::__construct cannot be mixed, expecting string (see https://psalm.dev/030)
RiskyTruthyFalsyComparison: src/Psalm/Internal/Codebase/ClassLikes.php#L1958
src/Psalm/Internal/Codebase/ClassLikes.php:1958:25: RiskyTruthyFalsyComparison: Operand of type array<string, Psalm\Internal\MethodIdentifier>|null contains type array<string, Psalm\Internal\MethodIdentifier>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RedundantCondition: src/Psalm/Internal/Diff/FileStatementsDiffer.php#L139
src/Psalm/Internal/Diff/FileStatementsDiffer.php:139:29: RedundantCondition: Type non-empty-list<string> for $name_parts is never falsy (see https://psalm.dev/122)
RedundantCondition: src/Psalm/Internal/Diff/FileStatementsDiffer.php#L167
src/Psalm/Internal/Diff/FileStatementsDiffer.php:167:29: RedundantCondition: Type non-empty-list<string> for $name_parts is never falsy (see https://psalm.dev/122)
RedundantCondition: src/Psalm/Internal/Diff/NamespaceStatementsDiffer.php#L120
src/Psalm/Internal/Diff/NamespaceStatementsDiffer.php:120:29: RedundantCondition: Type non-empty-list<string> for $name_parts is never falsy (see https://psalm.dev/122)
RedundantCondition: src/Psalm/Internal/Diff/NamespaceStatementsDiffer.php#L135
src/Psalm/Internal/Diff/NamespaceStatementsDiffer.php:135:29: RedundantCondition: Type non-empty-list<string> for $name_parts is never falsy (see https://psalm.dev/122)
RedundantCondition: src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeNodeScanner.php#L156
src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeNodeScanner.php:156:20: RedundantCondition: '' can never contain non-empty-string (see https://psalm.dev/122)
RiskyTruthyFalsyComparison: src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeDocblockParser.php#L434
src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeDocblockParser.php:434:22: 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: tests/Internal/Codebase/InternalCallMapHandlerTest.php#L625
tests/Internal/Codebase/InternalCallMapHandlerTest.php:625:38: 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)