Skip to content

Added filter to remove extra dot in nested route names #85

Added filter to remove extra dot in nested route names

Added filter to remove extra dot in nested route names #85

Triggered via pull request December 27, 2024 11:06
Status Failure
Total duration 35s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpstan: src/PendingRouteTransformers/AddControllerUriToActions.php#L16
Method Spatie\RouteDiscovery\PendingRouteTransformers\AddControllerUriToActions::transform() has parameter $pendingRoutes with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue
phpstan: src/PendingRouteTransformers/AddControllerUriToActions.php#L16
Method Spatie\RouteDiscovery\PendingRouteTransformers\AddControllerUriToActions::transform() return type with generic class Illuminate\Support\Collection does not specify its types: TKey, TValue
phpstan: src/PendingRouteTransformers/AddDefaultRouteName.php#L16
Method Spatie\RouteDiscovery\PendingRouteTransformers\AddDefaultRouteName::transform() has parameter $pendingRoutes with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue
phpstan: src/PendingRouteTransformers/AddDefaultRouteName.php#L16
Method Spatie\RouteDiscovery\PendingRouteTransformers\AddDefaultRouteName::transform() return type with generic class Illuminate\Support\Collection does not specify its types: TKey, TValue
phpstan: src/PendingRouteTransformers/AddDefaultRouteName.php#L22
No error to ignore is reported on line 22.
phpstan: src/PendingRouteTransformers/AddDefaultRouteName.php#L35
Parameter #1 ...$values of method Illuminate\Support\Collection<int,string>::push() expects non-falsy-string, string given.
phpstan: src/PendingRouteTransformers/AddDefaultRouteName.php#L35
Parameter #2 $callback of method Illuminate\Support\Collection<int,string>::when() expects (callable(Illuminate\Support\Collection<int, non-falsy-string>, string): Illuminate\Support\Collection<int, string>)|null, Closure(Illuminate\Support\Collection, mixed): Illuminate\Support\Collection<int, non-falsy-string> given.
phpstan: src/PendingRouteTransformers/HandleDoNotDiscoverAttribute.php#L17
Method Spatie\RouteDiscovery\PendingRouteTransformers\HandleDoNotDiscoverAttribute::transform() has parameter $pendingRoutes with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue
phpstan: src/PendingRouteTransformers/HandleDoNotDiscoverAttribute.php#L17
Method Spatie\RouteDiscovery\PendingRouteTransformers\HandleDoNotDiscoverAttribute::transform() return type with generic class Illuminate\Support\Collection does not specify its types: TKey, TValue
phpstan: src/PendingRouteTransformers/HandleDomainAttribute.php#L11
Method Spatie\RouteDiscovery\PendingRouteTransformers\HandleDomainAttribute::transform() has parameter $pendingRoutes with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpstan
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/