Skip to content

Commit

Permalink
Merge branch '5.0'
Browse files Browse the repository at this point in the history
* 5.0:
  Tweak the code to avoid fabbot false positives
  Remove UPGRADE files for 4.x
  • Loading branch information
fabpot committed Apr 12, 2020
2 parents f9c8218 + dc50ad5 commit 9b37b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/Bundle/Reader/JsonBundleReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function read(string $path, string $locale)
$data = json_decode(file_get_contents($fileName), true);

if (null === $data) {
throw new RuntimeException(sprintf('The resource bundle "%s" contains invalid JSON: %s.', $fileName, json_last_error_msg()));
throw new RuntimeException(sprintf('The resource bundle "%s" contains invalid JSON: '.json_last_error_msg(), $fileName));
}

return $data;
Expand Down

0 comments on commit 9b37b1d

Please sign in to comment.