Total Complexity | 6 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Coverage | 89.47% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
12 | class DalliApiBody extends BaseXmlObject |
||
13 | { |
||
14 | /** @var string */ |
||
15 | protected $authToken; |
||
16 | /** @var string */ |
||
17 | protected $apiMethodName = 'testMehod'; |
||
18 | /** @var SimpleXMLElement */ |
||
19 | protected $mainElement; |
||
20 | |||
21 | 1 | public function __construct(?string $apiMethodName, ?string $authToken) |
|
34 | 1 | } |
|
35 | |||
36 | /** |
||
37 | * @param BaseXmlObject $object |
||
38 | * @return $this |
||
39 | * @throws ReflectionException |
||
40 | */ |
||
41 | 1 | public function add(BaseXmlObject $object): self |
|
49 | } |
||
50 | |||
51 | /** |
||
52 | * @param BaseXmlObject|null $object |
||
53 | * @return string |
||
54 | */ |
||
55 | 1 | public function getAsXmlString(BaseXmlObject $object = null): string |
|
60 |
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