| Total Complexity | 1 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class XPath extends XPathUtils |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Get a DOMXPath object that can be used to search for XMLDSIG elements. |
||
| 21 | * |
||
| 22 | * @param \DOMNode $node The document to associate to the DOMXPath object. |
||
| 23 | * @param bool $autoregister Whether to auto-register all namespaces used in the document |
||
| 24 | * |
||
| 25 | * @return \DOMXPath A DOMXPath object ready to use in the given document, with the XMLDSIG namespace already |
||
| 26 | * registered. |
||
| 27 | */ |
||
| 28 | public static function getXPath(DOMNode $node, bool $autoregister = false): DOMXPath |
||
| 38 |
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