Skip to content

Add iterable_every and iterable_some #18

Add iterable_every and iterable_some

Add iterable_every and iterable_some #18

Triggered via push October 3, 2023 19:42
Status Failure
Total duration 23s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan: tests/IterableToDictionaryTest.php#L14
Unable to resolve the template type TKey in call to function ICanBoogie\iterable_to_dictionary
phpstan: tests/IterableToDictionaryTest.php#L16
Parameter #2 $key_selector of function ICanBoogie\iterable_to_dictionary expects callable(array{offset: string, value: string}): (int|non-empty-string), Closure(array): string given.
phpstan: tests/IterableToDictionaryTest.php#L28
Unable to resolve the template type TKey in call to function ICanBoogie\iterable_to_dictionary
phpstan: tests/IterableToDictionaryTest.php#L30
Parameter #2 $key_selector of function ICanBoogie\iterable_to_dictionary expects callable(array{offset: string, value: string}): (int|non-empty-string), Closure(array): string given.
phpstan: tests/IterableToDictionaryTest.php#L53
Unable to resolve the template type TKey in call to function ICanBoogie\iterable_to_dictionary
phpstan: tests/IterableToDictionaryTest.php#L55
Parameter #2 $key_selector of function ICanBoogie\iterable_to_dictionary expects callable(Test\ICanBoogie\Acme\SampleObject): (int|non-empty-string), Closure(Test\ICanBoogie\Acme\SampleObject): string given.
phpstan: tests/IterableToDictionaryTest.php#L67
Unable to resolve the template type TKey in call to function ICanBoogie\iterable_to_dictionary
phpstan: tests/IterableToDictionaryTest.php#L69
Parameter #2 $key_selector of function ICanBoogie\iterable_to_dictionary expects callable(Test\ICanBoogie\Acme\SampleObject): (int|non-empty-string), Closure(Test\ICanBoogie\Acme\SampleObject): string given.
phpstan: tests/IterableToGroupsTest.php#L14
Unable to resolve the template type TKey in call to function ICanBoogie\iterable_to_groups
phpstan: tests/IterableToGroupsTest.php#L16
Parameter #2 $key_selector of function ICanBoogie\iterable_to_groups expects callable(array{offset: string, value: string}): (int|non-empty-string), Closure(array): string given.
phpstan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/