Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class ExchangeFactory |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $class; |
||
19 | |||
20 | /** |
||
21 | * ExchangeFactory constructor. |
||
22 | * @param $class |
||
23 | */ |
||
24 | public function __construct($class) |
||
25 | { |
||
26 | $this->class = sprintf('\\Mokka\\Exchange\\Market\\%s', ucfirst($class)); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param $args |
||
31 | * @return ExchangeInterface |
||
32 | * @throws ClassNotFoundException |
||
33 | */ |
||
34 | public function make(array $args) |
||
43 | } |
||
44 | |||
45 | } |
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