Skip to content

run psalm against php 8.4 #298

run psalm against php 8.4

run psalm against php 8.4 #298

Triggered via push January 16, 2025 15:02
Status Cancelled
Total duration 7m 42s
Artifacts

ci.yml

on: push
Matrix: blackbox / BlackBox
Matrix: coverage / Coverage
Matrix: Psalm
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 11 warnings
InvalidFalsableReturnType: src/Accumulate.php#L32
src/Accumulate.php:32:16: InvalidFalsableReturnType: The declared return type 'S' for Innmind\Immutable\Accumulate::current does not allow false, but 'S|false' contains false (see https://psalm.dev/143)
FalsableReturnStatement: src/Accumulate.php#L41
src/Accumulate.php:41:16: FalsableReturnStatement: The declared return type 'S' for Innmind\Immutable\Accumulate::current does not allow false, but the function returns 'S|false' (see https://psalm.dev/137)
PossiblyNullArgument: src/Sequence/Aggregate.php#L62
src/Sequence/Aggregate.php:62:43: PossiblyNullArgument: Argument 1 cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Sequence/Aggregate.php#L62
src/Sequence/Aggregate.php:62:48: PossiblyNullArgument: Argument 2 cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Sequence/Lazy.php#L864
src/Sequence/Lazy.php:864:33: PossiblyNullArgument: Argument 1 cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Sequence/Primitive.php#L613
src/Sequence/Primitive.php:613:29: PossiblyNullArgument: Argument 1 cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyFalseIterator: src/Str.php#L291
src/Str.php:291:18: PossiblyFalseIterator: Cannot iterate over falsable var false|non-empty-list<string> (see https://psalm.dev/164)
MixedAssignment: src/Str.php#L291
src/Str.php:291:30: MixedAssignment: Unable to determine the type that $string is being assigned to (see https://psalm.dev/032)
MixedArgument: src/Str.php#L292
src/Str.php:292:46: MixedArgument: Argument 1 of Innmind\Immutable\Str::__construct cannot be mixed, expecting string (see https://psalm.dev/030)
Psalm (8.4, highest) / Psalm (8.4, highest)
Process completed with exit code 2.
Psalm (8.4, lowest) / Psalm (8.4, lowest)
FailFast: cancelling since parallel instance has failed
InvalidFalsableReturnType: src/Accumulate.php#L32
src/Accumulate.php:32:16: InvalidFalsableReturnType: The declared return type 'S' for Innmind\Immutable\Accumulate::current does not allow false, but 'S|false' contains false (see https://psalm.dev/143)
FalsableReturnStatement: src/Accumulate.php#L41
src/Accumulate.php:41:16: FalsableReturnStatement: The declared return type 'S' for Innmind\Immutable\Accumulate::current does not allow false, but the function returns 'S|false' (see https://psalm.dev/137)
PossiblyNullArgument: src/Sequence/Aggregate.php#L62
src/Sequence/Aggregate.php:62:43: PossiblyNullArgument: Argument 1 cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Sequence/Aggregate.php#L62
src/Sequence/Aggregate.php:62:48: PossiblyNullArgument: Argument 2 cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Sequence/Lazy.php#L864
src/Sequence/Lazy.php:864:33: PossiblyNullArgument: Argument 1 cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Sequence/Primitive.php#L613
src/Sequence/Primitive.php:613:29: PossiblyNullArgument: Argument 1 cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyFalseIterator: src/Str.php#L291
src/Str.php:291:18: PossiblyFalseIterator: Cannot iterate over falsable var false|non-empty-list<string> (see https://psalm.dev/164)
MixedAssignment: src/Str.php#L291
src/Str.php:291:30: MixedAssignment: Unable to determine the type that $string is being assigned to (see https://psalm.dev/032)
MixedArgument: src/Str.php#L292
src/Str.php:292:46: MixedArgument: Argument 1 of Innmind\Immutable\Str::__construct cannot be mixed, expecting string (see https://psalm.dev/030)
Psalm (8.4, lowest) / Psalm (8.4, lowest)
Process completed with exit code 2.
Psalm (8.3, highest) / Psalm (8.3, highest)
FailFast: cancelling since parallel instance has failed
Psalm (8.3, highest) / Psalm (8.3, highest)
The operation was canceled.
Psalm (8.2, lowest) / Psalm (8.2, lowest)
FailFast: cancelling since parallel instance has failed
Psalm (8.2, lowest) / Psalm (8.2, lowest)
The operation was canceled.
Psalm (8.3, lowest) / Psalm (8.3, lowest)
FailFast: cancelling since parallel instance has failed
Psalm (8.3, lowest) / Psalm (8.3, lowest)
The operation was canceled.
cs / CS (8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Psalm (8.2, highest) / Psalm (8.2, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Psalm (8.4, highest) / Psalm (8.4, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636