Skip to content

Commit

Permalink
Fix deprecated factory definition, bump Symfony to 2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
StudioMaX committed Sep 17, 2018
1 parent d4d2e94 commit 0c576e4
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 1,872 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/Propel/om/
/Propel/map/
/vendor/
composer.lock
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2

before_script:
- composer self-update
Expand Down
3 changes: 2 additions & 1 deletion Resources/config/couchdb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
<argument>%bazinga.oauth.model.access_token.class%</argument>
</service>

<service id="bazinga.oauth.document_manager" factory-service="doctrine_couchdb" factory-method="getManager" class="Doctrine\ODM\CouchDB\DocumentManager" public="false">
<service id="bazinga.oauth.document_manager" class="Doctrine\ODM\CouchDB\DocumentManager" public="false">
<factory service="doctrine_couchdb" method="getManager" />
<argument>%bazinga.oauth.model_manager_name%</argument>
</service>
</services>
Expand Down
3 changes: 2 additions & 1 deletion Resources/config/mongodb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
<argument>%bazinga.oauth.model.access_token.class%</argument>
</service>

<service id="bazinga.oauth.document_manager" factory-service="doctrine_mongodb" factory-method="getManager" class="Doctrine\ODM\MongoDB\DocumentManager" public="false">
<service id="bazinga.oauth.document_manager" class="Doctrine\ODM\MongoDB\DocumentManager" public="false">
<factory service="doctrine_mongodb" method="getManager" />
<argument>%bazinga.oauth.model_manager_name%</argument>
</service>
</services>
Expand Down
3 changes: 2 additions & 1 deletion Resources/config/orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
<argument>%bazinga.oauth.model.access_token.class%</argument>
</service>

<service id="bazinga.oauth.entity_manager" factory-service="doctrine" factory-method="getManager" class="Doctrine\ORM\EntityManager" public="false">
<service id="bazinga.oauth.entity_manager" class="Doctrine\ORM\EntityManager" public="false">
<factory service="doctrine" method="getManager" />
<argument>%bazinga.oauth.model_manager_name%</argument>
</service>
</services>
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
],
"require": {
"php": ">=5.3.3",
"symfony/console": "~2.3",
"symfony/framework-bundle": "~2.3",
"symfony/security-bundle": "~2.3"
"symfony/console": "~2.8",
"symfony/framework-bundle": "~2.8",
"symfony/security-bundle": "~2.8"
},
"require-dev": {
"doctrine/doctrine-bundle": "1.3.*@dev",
Expand Down
Loading

0 comments on commit 0c576e4

Please sign in to comment.