Skip to content
Triggered via pull request May 28, 2024 23:28
@timacdonaldtimacdonald
synchronize #16
ci
Status Failure
Total duration 55s
Artifacts

main.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Check: src/Cards/ValidationErrors.php#L29
Return type of call to method Illuminate\Support\Collection<(int|string),mixed>::map() contains unresolvable type.
Check: src/Cards/ValidationErrors.php#L37
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),mixed>::map() expects callable(mixed, int|string): (object{bag: mixed, uri: mixed, name: mixed, action: mixed, method: mixed, message: mixed, count: mixed, key_hash: string}&stdClass), Closure(object): (object{bag: mixed, uri: mixed, name: mixed, action: mixed, method: mixed, message: mixed, count: mixed, key_hash: non-falsy-string}&stdClass) given.
Check: src/Cards/ValidationErrors.php#L38
Access to an undefined property object::$key.
Check: src/Cards/ValidationErrors.php#L50
Access to an undefined property object::$count.
Check: src/Cards/ValidationErrors.php#L51
Access to an undefined property object::$key.
Check: src/Cards/ValidationErrors.php#L65
Only iterables can be unpacked, mixed given.
Check: src/Recorders/ValidationErrors.php#L102
Method TiMacDonald\Pulse\Recorders\ValidationErrors::parseValidationErrors() should return Illuminate\Support\Collection<int, array{0: string, 1: string, 2?: string}> but returns Illuminate\Support\Collection<int, array{0: string, 1: string, 2?: string}>|null.
Check: src/Recorders/ValidationErrors.php#L153
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),mixed>::flatMap() expects callable(mixed, int|string): (array<array{string, string, string}>|Illuminate\Support\Collection<int|string, array{string, string, string}>), Closure(array, string): array<array{string, string, string}> given.
Check: src/Recorders/ValidationErrors.php#L200
Method TiMacDonald\Pulse\Recorders\ValidationErrors::parseUnknownValidationErrors() should return Illuminate\Support\Collection<int, array{0: string, 1: string, 2?: string}>|null but returns Illuminate\Support\Collection<int, non-empty-array<int, string>>.
Check: tests/RecorderTest.php#L52
Call to an undefined method Illuminate\Database\Query\Builder::whereType().