Skip to content

Bard Refactor

Bard Refactor #46

Triggered via pull request October 20, 2023 22:34
Status Failure
Total duration 43s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors
MixedOperand: packages/bard/src/Console/Command/PushCommand.php#L33
packages/bard/src/Console/Command/PushCommand.php:33:36: MixedOperand: Left operand cannot be mixed (see https://psalm.dev/059)
UnusedVariable: packages/bard/src/Console/Command/PushCommand.php#L34
packages/bard/src/Console/Command/PushCommand.php:34:9: UnusedVariable: $formatter is never referenced or the value is not used (see https://psalm.dev/077)
PossiblyNullIterator: packages/bard/src/Console/Command/PushCommand.php#L37
packages/bard/src/Console/Command/PushCommand.php:37:18: PossiblyNullIterator: Cannot iterate over nullable var array<array-key, mixed>|int|null|string (see https://psalm.dev/097)
MixedAssignment: packages/bard/src/Console/Command/PushCommand.php#L37
packages/bard/src/Console/Command/PushCommand.php:37:57: MixedAssignment: Unable to determine the type that $pkg is being assigned to (see https://psalm.dev/032)
MixedOperand: packages/bard/src/Console/Command/PushCommand.php#L38
packages/bard/src/Console/Command/PushCommand.php:38:45: MixedOperand: Left operand cannot be mixed (see https://psalm.dev/059)
MixedArrayAccess: packages/bard/src/Console/Command/PushCommand.php#L38
packages/bard/src/Console/Command/PushCommand.php:38:86: MixedArrayAccess: Cannot access array value on mixed variable $pkg (see https://psalm.dev/051)
MixedOperand: packages/bard/src/Console/Command/PushCommand.php#L38
packages/bard/src/Console/Command/PushCommand.php:38:86: MixedOperand: Right operand cannot be mixed (see https://psalm.dev/059)
PossiblyInvalidArgument: packages/bard/src/Console/Command/PushCommand.php#L41
packages/bard/src/Console/Command/PushCommand.php:41:54: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|string, but possibly different type array<array-key, mixed>|int|null|string provided (see https://psalm.dev/092)
MixedArrayAccess: packages/bard/src/Console/Command/PushCommand.php#L45
packages/bard/src/Console/Command/PushCommand.php:45:50: MixedArrayAccess: Cannot access array value on mixed variable $pkg (see https://psalm.dev/051)
MixedArrayAccess: packages/bard/src/Console/Command/PushCommand.php#L45
packages/bard/src/Console/Command/PushCommand.php:45:64: MixedArrayAccess: Cannot access array value on mixed variable $pkg (see https://psalm.dev/051)