Skip to content

Commit

Permalink
Symfony 2.7 deprecated notes fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
e-moe committed Jun 2, 2015
1 parent 0d71faf commit 4ff5009
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 3 additions & 2 deletions Resources/config/serializer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
<service id="misd_guzzle.request.visitor.body" class="%misd_guzzle.request.visitor.body.class%">
<argument type="service" id="jms_serializer.serializer" on-invalid="ignore"/>
</service>
<service id="misd_guzzle.response.parser.fallback" class="%misd_guzzle.response.parser.fallback.class%"
factory-class="%misd_guzzle.response.parser.fallback.class%" factory-method="getInstance"/>
<service id="misd_guzzle.response.parser.fallback" class="%misd_guzzle.response.parser.fallback.class%">
<factory class="%misd_guzzle.response.parser.fallback.class%" method="getInstance"/>
</service>
<service id="misd_guzzle.response.parser" class="%misd_guzzle.response.parser.class%">
<argument type="service" id="jms_serializer.serializer" on-invalid="ignore"/>
<argument type="service" id="misd_guzzle.response.parser.fallback"/>
Expand Down
4 changes: 2 additions & 2 deletions Resources/config/service_builder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
</parameters>

<services>
<service id="guzzle.service_builder" class="%guzzle.service_builder.class%"
factory-class="%guzzle.service_builder.class%" factory-method="factory">
<service id="guzzle.service_builder" class="%guzzle.service_builder.class%">
<factory class="%guzzle.service_builder.class%" method="factory"/>
<argument type="string" id="guzzle.service_builder.configuration_file">%guzzle.service_builder.configuration_file%</argument>
</service>
</services>
Expand Down
4 changes: 0 additions & 4 deletions Tests/Functional/app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ public function registerBundles()
return include $filename;
}

public function init()
{
}

public function getRootDir()
{
return __DIR__;
Expand Down

0 comments on commit 4ff5009

Please sign in to comment.