Total Complexity | 2 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
18 | class Router extends BaseRouter implements WAMPRouterInterface |
||
|
|||
19 | { |
||
20 | /** |
||
21 | * RPC router |
||
22 | * |
||
23 | * @var \sonrac\WAMP\Contracts\RPCRouterInterface |
||
24 | */ |
||
25 | protected $rpcRouter; |
||
26 | |||
27 | /** |
||
28 | * Publisher/subscription router |
||
29 | * |
||
30 | * @var \sonrac\WAMP\Contracts\PubSubRouterInterface |
||
31 | */ |
||
32 | protected $pubSubRouter; |
||
33 | |||
34 | /** |
||
35 | * @inheritDoc |
||
36 | */ |
||
37 | public function __construct( |
||
38 | \sonrac\WAMP\Contracts\RPCRouterInterface $RPCRouter, |
||
39 | \sonrac\WAMP\Contracts\PubSubRouterInterface $pubSubRouter |
||
40 | ) { |
||
41 | $this->rpcRouter = $RPCRouter; |
||
42 | $this->pubSubRouter = $pubSubRouter; |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @inheritDoc |
||
47 | */ |
||
48 | public function dispatch() |
||
50 | // TODO: Implement dispatch() method. |
||
51 | } |
||
54 |
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