Skip to content

Use non-empty-string #17

Use non-empty-string

Use non-empty-string #17

Triggered via push September 11, 2023 20:03
Status Failure
Total duration 26s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan: tests/IterableToDictionaryTest.php#L15
Unable to resolve the template type TKey in call to function ICanBoogie\iterable_to_dictionary
phpstan: tests/IterableToDictionaryTest.php#L17
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#L29
Unable to resolve the template type TKey in call to function ICanBoogie\iterable_to_dictionary
phpstan: tests/IterableToDictionaryTest.php#L31
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#L54
Unable to resolve the template type TKey in call to function ICanBoogie\iterable_to_dictionary
phpstan: tests/IterableToDictionaryTest.php#L56
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#L68
Unable to resolve the template type TKey in call to function ICanBoogie\iterable_to_dictionary
phpstan: tests/IterableToDictionaryTest.php#L70
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/