-
-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hello, I'm trying to setup Foundry in my Symfony project to enjoy your amazing work !
I face an issue when using the ResetDatabase
trait in my tests :
RuntimeException: Error running "doctrine:schema:update --em=default --force -v":
[WARNING] Not passing the "--complete" option to "doctrine:schema:update" is deprecated and will not be supported when
using doctrine/dbal 4
/vendor/zenstruck/foundry/src/symfony_console.php:27
/vendor/zenstruck/foundry/src/ORM/ResetDatabase/SchemaDatabaseResetter.php:47
/vendor/zenstruck/foundry/src/ORM/ResetDatabase/SchemaDatabaseResetter.php:41
/vendor/zenstruck/foundry/src/ORM/ResetDatabase/BaseOrmResetter.php:53
/vendor/zenstruck/foundry/src/Persistence/ResetDatabase/ResetDatabaseManager.php:100
/vendor/zenstruck/foundry/src/Test/ResetDatabase.php:54
I use Foundry 2.6.1, which seems to use sufficient recent versions of both Doctrine ORM (^2.16) and DoctrineBundle (^2.10) to add this missing option without causing any harm to Foundry users.
If this is okay for you I can create a PR for this.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working