Skip to content

add Sequence::chunk() #247

add Sequence::chunk()

add Sequence::chunk() #247

Triggered via push July 5, 2024 15:54
Status Failure
Total duration 5m 41s
Artifacts

ci.yml

on: push
Matrix: BlackBox
Matrix: Coverage
Matrix: CS
Matrix: Psalm
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 18 warnings
InvalidReturnType: src/Sequence.php#L749
src/Sequence.php:749:16: InvalidReturnType: The declared return type 'Innmind\Immutable\Sequence<Innmind\Immutable\Sequence<T:Innmind\Immutable\Sequence as mixed>>' for Innmind\Immutable\Sequence::chunk is incorrect, got 'Innmind\Immutable\Sequence<(Innmind\Immutable\Sequence<V:fn-innmind\immutable\sequence::of as mixed>)|Innmind\Immutable\Sequence<mixed>|mixed>' (see https://psalm.dev/011)
InvalidReturnStatement: src/Sequence.php#L753
src/Sequence.php:753:16: InvalidReturnStatement: The inferred type 'Innmind\Immutable\Sequence<(Innmind\Immutable\Sequence<V:fn-innmind\immutable\sequence::of as mixed>)|Innmind\Immutable\Sequence<mixed>|mixed>' does not match the declared return type 'Innmind\Immutable\Sequence<Innmind\Immutable\Sequence<T:Innmind\Immutable\Sequence as mixed>>' for Innmind\Immutable\Sequence::chunk (see https://psalm.dev/128)
InvalidArgument: src/Sequence.php#L754
src/Sequence.php:754:19: InvalidArgument: Argument 1 of Innmind\Immutable\Sequence::map expects callable(T:Innmind\Immutable\Sequence as mixed):Innmind\Immutable\Sequence<V:fn-innmind\immutable\sequence::of as mixed>, but pure-Closure(V:fn-innmind\immutable\sequence::of as mixed...):Innmind\Immutable\Sequence<V:fn-innmind\immutable\sequence::of as mixed> provided (see https://psalm.dev/004)
MixedMethodCall: src/Sequence.php#L755
src/Sequence.php:755:57: MixedMethodCall: Cannot determine the type of $a when calling method size (see https://psalm.dev/015)
MixedMethodCall: src/Sequence.php#L757
src/Sequence.php:757:41: MixedMethodCall: Cannot determine the type of $a when calling method append (see https://psalm.dev/015)
Psalm (8.2)
Process completed with exit code 2.
Psalm (8.3)
The job was canceled because "_8_2" failed.
InvalidReturnType: src/Sequence.php#L749
src/Sequence.php:749:16: InvalidReturnType: The declared return type 'Innmind\Immutable\Sequence<Innmind\Immutable\Sequence<T:Innmind\Immutable\Sequence as mixed>>' for Innmind\Immutable\Sequence::chunk is incorrect, got 'Innmind\Immutable\Sequence<(Innmind\Immutable\Sequence<V:fn-innmind\immutable\sequence::of as mixed>)|Innmind\Immutable\Sequence<mixed>|mixed>' (see https://psalm.dev/011)
InvalidReturnStatement: src/Sequence.php#L753
src/Sequence.php:753:16: InvalidReturnStatement: The inferred type 'Innmind\Immutable\Sequence<(Innmind\Immutable\Sequence<V:fn-innmind\immutable\sequence::of as mixed>)|Innmind\Immutable\Sequence<mixed>|mixed>' does not match the declared return type 'Innmind\Immutable\Sequence<Innmind\Immutable\Sequence<T:Innmind\Immutable\Sequence as mixed>>' for Innmind\Immutable\Sequence::chunk (see https://psalm.dev/128)
InvalidArgument: src/Sequence.php#L754
src/Sequence.php:754:19: InvalidArgument: Argument 1 of Innmind\Immutable\Sequence::map expects callable(T:Innmind\Immutable\Sequence as mixed):Innmind\Immutable\Sequence<V:fn-innmind\immutable\sequence::of as mixed>, but pure-Closure(V:fn-innmind\immutable\sequence::of as mixed...):Innmind\Immutable\Sequence<V:fn-innmind\immutable\sequence::of as mixed> provided (see https://psalm.dev/004)
MixedMethodCall: src/Sequence.php#L755
src/Sequence.php:755:57: MixedMethodCall: Cannot determine the type of $a when calling method size (see https://psalm.dev/015)
MixedMethodCall: src/Sequence.php#L757
src/Sequence.php:757:41: MixedMethodCall: Cannot determine the type of $a when calling method append (see https://psalm.dev/015)
Psalm (8.3)
The operation was canceled.
Psalm (8.2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
CS (8.2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Coverage (ubuntu-latest, 8.3, lowest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Coverage (ubuntu-latest, 8.2, highest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Coverage (ubuntu-latest, 8.2, lowest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Coverage (ubuntu-latest, 8.3, highest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
BlackBox (ubuntu-latest, 8.2, lowest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
BlackBox (ubuntu-latest, 8.2, highest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
BlackBox (ubuntu-latest, 8.3, highest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
BlackBox (ubuntu-latest, 8.3, lowest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Coverage (macOS-latest, 8.3, lowest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Coverage (macOS-latest, 8.2, highest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
BlackBox (macOS-latest, 8.2, lowest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
BlackBox (macOS-latest, 8.3, highest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Coverage (macOS-latest, 8.3, highest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Coverage (macOS-latest, 8.2, lowest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
BlackBox (macOS-latest, 8.2, highest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
BlackBox (macOS-latest, 8.3, lowest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/