Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.

Commit e080789

Browse files
author
Piotr Makowski
committed
#dev-3.2.x: update
1 parent cbda31e commit e080789

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "behatch/contexts",
2+
"name": "astinus/contexts",
33
"description": "Behatch contexts",
44
"keywords": ["BDD", "Behat", "Symfony2", "Context"],
55
"type": "library",
@@ -34,6 +34,7 @@
3434
},
3535

3636
"replace": {
37+
"behatch/contexts": "self.version",
3738
"sanpi/behatch-contexts": "self.version"
3839
},
3940

src/Json/JsonSchema.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public function validate(Json $json, Validator $validator)
3636
foreach ($validator->getErrors() as $error) {
3737
$msg .= sprintf(" - [%s] %s".PHP_EOL, $error['property'], $error['message']);
3838
}
39+
$msg .= "JSON is:".PHP_EOL.$json->encode().PHP_EOL;
3940
throw new \Exception($msg);
4041
}
4142

0 commit comments

Comments
 (0)