Skip to content

loophp/iterators: 3.1.1 -> 3.2.0 #1920

loophp/iterators: 3.1.1 -> 3.2.0

loophp/iterators: 3.1.1 -> 3.2.0 #1920

Triggered via pull request February 18, 2024 17:23
Status Failure
Total duration 1m 8s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 1 warning
InvalidArgument: tests/static-analysis/scanLeft1.php#L45
tests/static-analysis/scanLeft1.php:45:27: InvalidArgument: Argument 1 of scanLeft1_checkMixedInput expects loophp\collection\Contract\Collection<int|string, int|string>, but loophp\collection\Contract\Collection<int|string, int<0, 255>|string>&loophp\collection\Contract\Collection<int|string, int<0, 255>|string>&loophp\collection\Contract\Collection provided (see https://psalm.dev/004)
InvalidArgument: tests/static-analysis/scanRight1.php#L45
tests/static-analysis/scanRight1.php:45:28: InvalidArgument: Argument 1 of scanRight1_checkMixedInput expects loophp\collection\Contract\Collection<int|string, int|string>, but loophp\collection\Contract\Collection<int|string, int<0, 255>|string>&loophp\collection\Contract\Collection<int|string, int<0, 255>|string>&loophp\collection\Contract\Collection provided (see https://psalm.dev/004)
UnusedBaselineEntry: src/Collection.php#L1
src/Collection.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyNullArgument" has 2 extra entries. (see https://psalm.dev/316)
Static Analysis (ubuntu-latest, 8.1)
Process completed with exit code 1.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L102
Method loophp\collection\Collection::coalesce() should return loophp\collection\Contract\Collection<TKey, T> but returns loophp\collection\Collection<mixed, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L107
Method loophp\collection\Collection::collapse() should return loophp\collection\Contract\Collection<TKey, T> but returns loophp\collection\Collection<mixed, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L164
Method loophp\collection\Collection::cycle() should return loophp\collection\Contract\Collection<TKey, T> but returns loophp\collection\Collection<mixed, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L311
Method loophp\collection\Collection::flip() should return loophp\collection\Contract\Collection<T, TKey> but returns loophp\collection\Collection<mixed, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L321
Parameter #1 $ of closure expects callable(mixed, mixed, mixed, iterable): mixed, callable(T|V, T, TKey, iterable<TKey, T>): V given.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L331
Parameter #1 $ of closure expects callable(mixed, mixed, mixed, iterable): mixed, callable(T|V, T, TKey, iterable<TKey, T>): V given.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L341
Method loophp\collection\Collection::frequency() should return loophp\collection\Contract\Collection<int, T> but returns loophp\collection\Collection<int, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L467
Method loophp\collection\Collection::init() should return loophp\collection\Contract\Collection<TKey, T> but returns loophp\collection\Collection<mixed, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L515
Method loophp\collection\Collection::keys() should return loophp\collection\Contract\Collection<int, TKey> but returns loophp\collection\Collection<int, mixed>.
Static Analysis (ubuntu-latest, 8.1): src/Collection.php#L570
Method loophp\collection\Collection::normalize() should return loophp\collection\Contract\Collection<int, T> but returns loophp\collection\Collection<int, mixed>.
Static Analysis (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.