Router   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 3 1
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
Bug introduced by
The type Carno\HRPC\Client\Contracts\Modify 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...
13
use Carno\HRPC\Client\Endpoints;
0 ignored issues
show
Bug introduced by
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. 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...
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