axotion /
TaskManager
| 1 | <?php |
||
| 2 | |||
| 3 | namespace TaskManager\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 | \TaskManager\Http\Middleware\TrimStrings::class, |
||
| 20 | \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, |
||
| 21 | ]; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The application's route middleware groups. |
||
| 25 | * |
||
| 26 | * @var array |
||
| 27 | */ |
||
| 28 | protected $middlewareGroups = [ |
||
| 29 | 'web' => [ |
||
| 30 | \TaskManager\Http\Middleware\EncryptCookies::class, |
||
| 31 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, |
||
| 32 | \Illuminate\Session\Middleware\StartSession::class, |
||
| 33 | // \Illuminate\Session\Middleware\AuthenticateSession::class, |
||
| 34 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, |
||
| 35 | \TaskManager\Http\Middleware\VerifyCsrfToken::class, |
||
| 36 | \Illuminate\Routing\Middleware\SubstituteBindings::class, |
||
| 37 | ], |
||
| 38 | |||
| 39 | 'api' => [ |
||
| 40 | 'throttle:60,1', |
||
| 41 | 'bindings', |
||
| 42 | ], |
||
| 43 | ]; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * The application's route middleware. |
||
| 47 | * |
||
| 48 | * These middleware may be assigned to groups or used individually. |
||
| 49 | * |
||
| 50 | * @var array |
||
| 51 | */ |
||
| 52 | protected $routeMiddleware = [ |
||
| 53 | 'auth' => \Illuminate\Auth\Middleware\Authenticate::class, |
||
| 54 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, |
||
| 55 | 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class, |
||
| 56 | 'can' => \Illuminate\Auth\Middleware\Authorize::class, |
||
| 57 | 'guest' => \TaskManager\Http\Middleware\RedirectIfAuthenticated::class, |
||
| 58 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, |
||
| 59 | 'API' => \TaskManager\Http\Middleware\API::class |
||
|
0 ignored issues
–
show
|
|||
| 60 | ]; |
||
| 61 | } |
||
| 62 |
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