src/Rules/Json/JsonSchema/JsonSchemaRule.php 1 location
|
@@ 60-63 (lines=4) @@
|
| 57 |
|
} |
| 58 |
|
} |
| 59 |
|
|
| 60 |
|
if ($errorStatus === true) { |
| 61 |
|
$message = 'JSON file (' . (string) $response->getUri() . ') does not validate against the following JSON Schema files: ' . implode(', ', $messageParts); |
| 62 |
|
throw new ValidationFailedException($message); |
| 63 |
|
} |
| 64 |
|
} |
| 65 |
|
} |
| 66 |
|
} |
src/Rules/Xml/XmlValidXsdRule.php 1 location
|
@@ 48-51 (lines=4) @@
|
| 45 |
|
} |
| 46 |
|
} |
| 47 |
|
|
| 48 |
|
if ($error === true) { |
| 49 |
|
$message = 'XML file (' . (string)$response->getUri() . ') does not validate against the following XSD files: ' . implode(', ', $messageParts); |
| 50 |
|
throw new ValidationFailedException($message); |
| 51 |
|
} |
| 52 |
|
} |
| 53 |
|
} |
| 54 |
|
|