Skip to content

Commit

Permalink
Allow doctrine-bundle v2 (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas authored and dmaicher committed Nov 25, 2019
1 parent 32039d7 commit a60b071
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
],
"require": {
"php": "^7.1",
"symfony/framework-bundle": "~2.7|~3.0|~4.0",
"symfony/framework-bundle": "~3.4|~4.0",
"doctrine/dbal": "^2.9,>=2.9.3",
"doctrine/doctrine-bundle": "~1.4"
"doctrine/doctrine-bundle": "~1.4|~2.0"
},
"require-dev": {
"phpunit/phpunit": "~7.0|~8.0",
Expand Down
3 changes: 0 additions & 3 deletions tests/phpunit.bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ function bootstrap()

$application = new \Symfony\Bundle\FrameworkBundle\Console\Application($kernel);
$application->setAutoExit(false);
$application->add(new \Doctrine\Bundle\DoctrineBundle\Command\DropDatabaseDoctrineCommand());
$application->add(new \Doctrine\Bundle\DoctrineBundle\Command\CreateDatabaseDoctrineCommand());
$application->add(new \Doctrine\Bundle\DoctrineBundle\Command\Proxy\RunSqlDoctrineCommand());

$application->run(new \Symfony\Component\Console\Input\ArrayInput([
'command' => 'doctrine:database:drop',
Expand Down

0 comments on commit a60b071

Please sign in to comment.