| Conditions | 2 |
| Paths | 2 |
| Total Lines | 21 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | 1 | public function __construct(Traversable $reference) |
|
| 25 | { |
||
| 26 | $elements = [ |
||
| 27 | 1 | new FragmentInjection( |
|
| 28 | 1 | 'http://schemas.xmlsoap.org/soap/envelope/', |
|
| 29 | 1 | 'Header', |
|
| 30 | '<xrd:client xmlns:xrd="http://x-road.eu/xsd/xroad.xsd" ' . |
||
| 31 | 'xmlns:id="http://x-road.eu/xsd/identifiers" ' . |
||
| 32 | 1 | 'id:objectType="SUBSYSTEM"/>' |
|
| 33 | ), |
||
| 34 | ]; |
||
| 35 | |||
| 36 | 1 | foreach ($reference as $name => $value) { |
|
| 37 | 1 | $elements[] = new DOMElementInjection( |
|
| 38 | 1 | 'http://x-road.eu/xsd/xroad.xsd', |
|
| 39 | 1 | 'client', |
|
| 40 | 1 | new \DOMElement($name, $value, 'http://x-road.eu/xsd/identifiers') |
|
| 41 | ); |
||
| 42 | } |
||
| 43 | |||
| 44 | 1 | parent::__construct(...$elements); |
|
| 45 | 1 | } |
|
| 47 |
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