Skip to content

Commit

Permalink
Merge pull request #7 from MGatou/feature/3916
Browse files Browse the repository at this point in the history
Adding Symfony4 support
  • Loading branch information
tristanbes committed Nov 21, 2017
2 parents 3ae355c + f382400 commit 06e2ea6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Resources/config/search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

<services>
<service id="my_poseo.search" class="%my_poseo.api.search_class%">
<service id="my_poseo.search" class="%my_poseo.api.search_class%" public="true">
<argument type="service" id="my_poseo.search.client"/>
</service>

<service id="my_poseo.search.client" class="Tristanbes\MyPoseoBundle\Connection\RestClient">
<service id="my_poseo.search.client" class="Tristanbes\MyPoseoBundle\Connection\RestClient" public="true">
<argument>%my_poseo.api.key%</argument>
<argument>%my_poseo.api.search.base_url%</argument>
<argument>null</argument>
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"require": {
"php": ">=5.4",
"psr/cache": "^1.0",
"symfony/config": ">=2.1|~3.0",
"symfony/http-kernel": ">=2.1|~3.0",
"symfony/dependency-injection": ">=2.1|~3.0",
"symfony/config": "~3.0|^4.0",
"symfony/http-kernel": "~3.0|^4.0",
"symfony/dependency-injection": "~3.0|^4.0",
"doctrine/doctrine-cache-bundle": "~1.0",
"php-http/httplug": "^1.0",
"php-http/client-implementation": "^1.0",
Expand Down

0 comments on commit 06e2ea6

Please sign in to comment.