Skip to content

Commit

Permalink
allow jms serializer bundle 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
goetas committed May 17, 2017
1 parent 3d46f0a commit c7628b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/DependencyInjection/BazingaHateoasExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function testLoad()
$container = $this->getContainerForConfig(array(array()));
$container->compile();

$serializer = $container->get('serializer');
$serializer = $container->get('jms_serializer');

$this->assertEquals(
json_encode(array(
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"php": ">5.4",
"symfony/framework-bundle": "~2.2 || ~3.0",
"willdurand/hateoas": "^2.10.0",
"jms/serializer-bundle": "~1.0"
"jms/serializer-bundle": "~1.0 || ^2.0"
},
"require-dev": {
"symfony/expression-language": "~2.4 || ~3.0",
Expand Down

0 comments on commit c7628b8

Please sign in to comment.