Symfony bundle to isolate your app's doctrine database tests and improve the test performance
MIT License
1.08k
stars
60
forks
source link
The "DAMA\DoctrineTestBundle\Doctrine\DBAL\VersionAwarePlatformStaticDriver" class implements deprecated "Doctrine\DBAL\VersionAwarePlatformDriver" #240
User Deprecated: The "DAMA\DoctrineTestBundle\Doctrine\DBAL\VersionAwarePlatformStaticDriver" class implements "Doctrine\DBAL\VersionAwarePlatformDriver" that is deprecated All drivers will have to be aware of the server version in the next major release.
I get the following deprecation info:
User Deprecated: The "DAMA\DoctrineTestBundle\Doctrine\DBAL\VersionAwarePlatformStaticDriver" class implements "Doctrine\DBAL\VersionAwarePlatformDriver" that is deprecated All drivers will have to be aware of the server version in the next major release.
https://github.com/doctrine/dbal/blob/3.5.x/UPGRADE.md#deprecated-driver-level-apis-that-dont-take-the-server-version-into-account
doctrine/dbal: 3.5.2 dama/doctrine-test-bundle: 7.1.1
I think the change is in the
Middleware.php
, where now always aStaticDriver
should be returned :man_shrugging:Is there a way for me to mitigate this?
Like setting some configuration so my own
Middleware.php
is used or something like this?