We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 5 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | class XmlSchemesValidator extends AbstractDlfValidator |
||
| 28 | { |
||
| 29 | use LibXmlTrait; |
||
|
|
|||
| 30 | |||
| 31 | private array $schemes; |
||
| 32 | |||
| 33 | public function __construct(array $configuration) |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Combines the schemes to one schema and validates the DOMDocument against this. |
||
| 41 | * |
||
| 42 | * @param $value DOMDocument The value to validate |
||
| 43 | * @return bool True if is valid |
||
| 44 | */ |
||
| 45 | protected function isSchemeValid(DOMDocument $value): bool |
||
| 53 | } |
||
| 54 | |||
| 55 | protected function isValid($value): void |
||
| 64 |