src/Rules/Json/JsonSchema/JsonSchemaRule.php 1 location
|
@@ 65-68 (lines=4) @@
|
62 |
|
} |
63 |
|
} |
64 |
|
|
65 |
|
if ($error == true) { |
66 |
|
$message = 'JSON file (' . (string)$response->getUri() . ') does not validate against the following JSON Schema files: ' . implode(", ", $messageParts); |
67 |
|
throw new ValidationFailedException($message); |
68 |
|
} |
69 |
|
} |
70 |
|
} |
71 |
|
} |
src/Rules/Xml/XmlValidXsdRule.php 1 location
|
@@ 46-49 (lines=4) @@
|
43 |
|
} |
44 |
|
} |
45 |
|
|
46 |
|
if ($error === true) { |
47 |
|
$message = 'XML file (' . $filename . ') does not validate against the following XSD files: ' . implode(", ", $messageParts); |
48 |
|
throw new ValidationFailedException($message); |
49 |
|
} |
50 |
|
} |
51 |
|
} |
52 |
|
|