1 | <?php |
||
2 | |||
3 | namespace App\Http; |
||
4 | |||
5 | use Illuminate\Foundation\Http\Kernel as HttpKernel; |
||
6 | |||
7 | class Kernel extends HttpKernel |
||
8 | { |
||
9 | /** |
||
10 | * The application's global HTTP middleware stack. |
||
11 | * |
||
12 | * These middleware are run during every request to your application. |
||
13 | * |
||
14 | * @var array |
||
15 | */ |
||
16 | protected $middleware = [ |
||
17 | \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class, |
||
18 | \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, |
||
19 | \App\Http\Middleware\TrimStrings::class, |
||
0 ignored issues
–
show
|
|||
20 | \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, |
||
21 | \App\Http\Middleware\TrustProxies::class, |
||
0 ignored issues
–
show
The type
App\Http\Middleware\TrustProxies was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
22 | ]; |
||
23 | |||
24 | /** |
||
25 | * The application's route middleware groups. |
||
26 | * |
||
27 | * @var array |
||
28 | */ |
||
29 | protected $middlewareGroups = [ |
||
30 | 'web' => [ |
||
31 | \App\Http\Middleware\EncryptCookies::class, |
||
0 ignored issues
–
show
The type
App\Http\Middleware\EncryptCookies was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
32 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, |
||
33 | \Illuminate\Session\Middleware\StartSession::class, |
||
34 | // \Illuminate\Session\Middleware\AuthenticateSession::class, |
||
35 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, |
||
36 | \App\Http\Middleware\VerifyCsrfToken::class, |
||
0 ignored issues
–
show
The type
App\Http\Middleware\VerifyCsrfToken was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
37 | \Illuminate\Routing\Middleware\SubstituteBindings::class, |
||
38 | ], |
||
39 | |||
40 | 'api' => [ |
||
41 | 'throttle:60,1', |
||
42 | 'bindings', |
||
43 | ], |
||
44 | ]; |
||
45 | |||
46 | /** |
||
47 | * The application's route middleware. |
||
48 | * |
||
49 | * These middleware may be assigned to groups or used individually. |
||
50 | * |
||
51 | * @var array |
||
52 | */ |
||
53 | protected $routeMiddleware = [ |
||
54 | 'auth' => \Illuminate\Auth\Middleware\Authenticate::class, |
||
55 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, |
||
56 | 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class, |
||
57 | 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, |
||
58 | 'can' => \Illuminate\Auth\Middleware\Authorize::class, |
||
59 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, |
||
0 ignored issues
–
show
The type
App\Http\Middleware\RedirectIfAuthenticated was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
60 | 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, |
||
61 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, |
||
62 | 'uccello.permissions' => \Uccello\Core\Http\Middleware\CheckPermissions::class, |
||
63 | 'uccello.settings' => \Uccello\Core\Http\Middleware\CheckSettingsPanel::class, |
||
64 | ]; |
||
65 | } |
||
66 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths