Exclude method "middleware" from discovered routes #72
Annotations
10 errors and 3 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/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:
src/PendingRouteTransformers/HandleDomainAttribute.php#L11
Method Spatie\RouteDiscovery\PendingRouteTransformers\HandleDomainAttribute::transform() return type with generic class Illuminate\Support\Collection does not specify its types: TKey, TValue
|
phpstan:
src/PendingRouteTransformers/HandleFullUriAttribute.php#L16
Method Spatie\RouteDiscovery\PendingRouteTransformers\HandleFullUriAttribute::transform() has parameter $pendingRoutes with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue
|
phpstan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
phpstan
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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/
|