Skip to content

Fixes

Fixes #13421

Triggered via push November 23, 2024 17:19
Status Failure
Total duration 1m 3s
Artifacts

shepherd.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
MixedAssignment: src/Psalm/Internal/Cli/Psalm.php#L660
src/Psalm/Internal/Cli/Psalm.php:660:9: MixedAssignment: Unable to determine the type that $error_baseline is being assigned to (see https://psalm.dev/032)
UndefinedConstant: src/Psalm/Internal/Cli/Psalm.php#L661
src/Psalm/Internal/Cli/Psalm.php:661:41: UndefinedConstant: Constant Psalm\Config::DEFAULT_BASELINE_NAME is not defined (see https://psalm.dev/020)
MixedArgument: src/Psalm/Internal/Cli/Psalm.php#L666
src/Psalm/Internal/Cli/Psalm.php:666:17: MixedArgument: Argument 2 of Psalm\ErrorBaseline::read cannot be mixed|string, expecting string (see https://psalm.dev/030)
MixedArgument: src/Psalm/Internal/Cli/Psalm.php#L674
src/Psalm/Internal/Cli/Psalm.php:674:13: MixedArgument: Argument 2 of Psalm\ErrorBaseline::create cannot be mixed|string, 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)