1 | <?php |
||
2 | /** |
||
3 | * Router modifier |
||
4 | * User: moyo |
||
5 | * Date: 2019-01-23 |
||
6 | * Time: 11:01 |
||
7 | */ |
||
8 | |||
9 | namespace Carno\HRPC\Accel\Modifier; |
||
10 | |||
11 | use Carno\HRPC\Accel\Routing; |
||
12 | use Carno\HRPC\Client\Contracts\Modify; |
||
0 ignored issues
–
show
|
|||
13 | use Carno\HRPC\Client\Endpoints; |
||
0 ignored issues
–
show
The type
Carno\HRPC\Client\Endpoints 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 ![]() |
|||
14 | |||
15 | class Router implements Modify |
||
16 | { |
||
17 | /** |
||
18 | * @param Endpoints $eps |
||
19 | */ |
||
20 | public function handle(Endpoints $eps) : void |
||
21 | { |
||
22 | $eps->routing()->typeset()->extend(new Routing); |
||
23 | } |
||
24 | } |
||
25 |
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