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

Commit

Permalink
#dev-3.2.x: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Makowski committed Mar 25, 2019
1 parent cbda31e commit e080789
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "behatch/contexts",
"name": "astinus/contexts",
"description": "Behatch contexts",
"keywords": ["BDD", "Behat", "Symfony2", "Context"],
"type": "library",
Expand Down Expand Up @@ -34,6 +34,7 @@
},

"replace": {
"behatch/contexts": "self.version",
"sanpi/behatch-contexts": "self.version"
},

Expand Down
1 change: 1 addition & 0 deletions src/Json/JsonSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public function validate(Json $json, Validator $validator)
foreach ($validator->getErrors() as $error) {
$msg .= sprintf(" - [%s] %s".PHP_EOL, $error['property'], $error['message']);
}
$msg .= "JSON is:".PHP_EOL.$json->encode().PHP_EOL;
throw new \Exception($msg);
}

Expand Down

0 comments on commit e080789

Please sign in to comment.