Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from dantleech/use_implicit_default_session
Browse files Browse the repository at this point in the history
Use implicit default session fixes #9
  • Loading branch information
dantleech committed Dec 5, 2016
2 parents a2a3b89 + c589d3c commit 5b59531
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<service id="phpcr_migrations.migrator_factory" class="PHPCR\Migrations\MigratorFactory">
<argument type="service" id="phpcr_migrations.version_storage" />
<argument type="service" id="phpcr_migrations.version_finder" />
<argument type="service" id="doctrine_phpcr.default_session" />
<argument type="service" id="doctrine_phpcr.session" />
</service>

<service id="phpcr_migrations.command.status" class="DTL\Bundle\PhpcrMigrations\Command\StatusCommand">
Expand All @@ -35,11 +35,5 @@
<argument type="service" id="phpcr_migrations.migrator_factory" />
<tag name="console.command" />
</service>

<service id="phpcr_migrations.migrator_factory" class="PHPCR\Migrations\MigratorFactory">
<argument type="service" id="phpcr_migrations.version_storage" />
<argument type="service" id="phpcr_migrations.version_finder" />
<argument type="service" id="doctrine_phpcr.default_session" />
</service>
</services>
</container>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"doctrine/phpcr-bundle": "^1.2"
},
"require-dev": {
"symfony/symfony": "~2.3 || ~3.0",
"symfony/symfony": "~2.8 || ~3.0",
"symfony-cmf/testing": "~1.3"
},
"autoload": {
Expand Down

0 comments on commit 5b59531

Please sign in to comment.