1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace Gewaer\Providers; |
||
6 | |||
7 | use Canvas\Providers\MiddlewareProvider as CanvasMiddlewareProvider; |
||
0 ignored issues
–
show
|
|||
8 | |||
9 | class MiddlewareProvider extends CanvasMiddlewareProvider |
||
10 | { |
||
11 | protected $globalMiddlewares = [ |
||
12 | // Before the handler has been executed |
||
13 | ]; |
||
14 | |||
15 | /** |
||
16 | * This are the routes you have access to via the Baka routes components. |
||
17 | * |
||
18 | * This follows the order you specify on this array so |
||
19 | * - Token will run before Auth |
||
20 | * |
||
21 | * @var array |
||
22 | */ |
||
23 | protected $routeMiddlewares = [ |
||
24 | ]; |
||
25 | } |
||
26 |
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