| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function decrypt(EncryptionAlgorithmInterface $decryptor): SerializableElementInterface |
||
| 35 | { |
||
| 36 | $xml = DOMDocumentFactory::fromString($this->decryptData($decryptor))->documentElement; |
||
| 37 | |||
| 38 | $id = implode(':', [$xml->namespaceURI, $xml->localName]); |
||
| 39 | switch ($id) { |
||
| 40 | case NameID::NS . ':NameID': |
||
| 41 | return NameID::fromXML($xml); |
||
| 42 | case AbstractBaseID::NS . ':BaseID': |
||
| 43 | return AbstractBaseID::fromXML($xml); |
||
| 44 | default: |
||
| 45 | // Fall thru |
||
| 46 | } |
||
| 47 | throw new InvalidArgumentException('Unknown or unsupported encrypted identifier.'); |
||
| 48 | } |
||
| 50 |
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