Test Failed
Pull Request — master (#101)
by Maximo
05:24
created

MiddlewareProvider

Complexity

Total Complexity 0

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 3
dl 0
loc 15
c 0
b 0
f 0
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
Bug introduced by
The type Canvas\Providers\MiddlewareProvider 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
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