Total Complexity | 5 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class CommandProvider |
||
10 | { |
||
11 | /** |
||
12 | * @var CommandList |
||
13 | */ |
||
14 | private $commandList; |
||
15 | |||
16 | /** |
||
17 | * @var AllowedCommandsContainer |
||
18 | */ |
||
19 | private $allowedCommandsContainer; |
||
20 | |||
21 | /** |
||
22 | * @param CommandList $commandList |
||
23 | * @param AllowedCommandsContainer $allowedCommandsContainer |
||
24 | */ |
||
25 | public function __construct(CommandList $commandList, AllowedCommandsContainer $allowedCommandsContainer) |
||
26 | { |
||
27 | $this->commandList = $commandList; |
||
28 | $this->allowedCommandsContainer = $allowedCommandsContainer; |
||
29 | } |
||
30 | |||
31 | public function getByName(string $name): ?Command |
||
40 | } |
||
41 | } |
||
42 |
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