-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Is your feature request related to a problem? Please describe.
When I use this package and run my tests, I'm getting mutliple deprecation messages by the package: doctrine/dbal
34x: Subscribing to onSchemaCreateTable events is deprecated. (AbstractPlatform.php:2145 called by AbstractPlatform.php:2064, doctrine/dbal#5784, package doctrine/dbal)
1x: Not configuring a schema manager factory is deprecated. Use Doctrine\DBAL\Schema\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by DriverManager.php:197, doctrine/dbal#5812, package doctrine/dbal)
1x: Public access to Connection::connect() is deprecated. (Connection.php:366 called by ORMDatabaseTool.php:180, doctrine/dbal#4966, package doctrine/dbal)
1x: Connection::getSchemaManager() is deprecated, use Connection::createSchemaManager() instead. (Connection.php:1697 called by ORMDatabaseTool.php:182, doctrine/dbal#4515, package doctrine/dbal)
This only ocurrs when I use stuff made by this package like:
$databaseTool = static::getContainer()->get(DatabaseToolCollection::class)->get();
$databaseTool->loadAliceFixture(
Describe alternatives you've considered
Additional context
- Symfony Version: 7.0.*
- liip/test-fixtures-bundle: 2.7.2
- liip/functional-test-bundle: 4.11.0
- PHPUnit: 9.5
- doctrine/doctrine-bundle 2.11
- PHP Version 8.3
- MariaDB: 10.6.16
Hope this helps as additional context.
The test itself did nothing in this case. I purged everything and just run the code like I mentioned above and then got those deprecation messages.