Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class FaultActor extends AbstractElement |
||
17 | { |
||
18 | use StringElementTrait; |
||
19 | |||
20 | /** @var string */ |
||
21 | public const LOCALNAME = 'faultactor'; |
||
22 | |||
23 | /** @var null */ |
||
24 | public const NS = null; |
||
25 | |||
26 | /** @var null */ |
||
27 | public const NS_PREFIX = null; |
||
28 | |||
29 | |||
30 | /** |
||
31 | * Initialize an faultactor |
||
32 | * |
||
33 | * @param string $faultActor |
||
34 | */ |
||
35 | public function __construct(string $faultActor) |
||
36 | { |
||
37 | $this->setContent($faultActor); |
||
38 | } |
||
39 | |||
40 | |||
41 | /** |
||
42 | * Validate the content of the element. |
||
43 | * |
||
44 | * @param string $content The value to go in the XML textContent |
||
45 | * @throws \Exception on failure |
||
46 | * @return void |
||
47 | */ |
||
48 | protected function validateContent(string $content): void |
||
51 | } |
||
52 | } |
||
53 |
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