Skip to content

v1.0.12: fix StaticDriver usage (#23)

Compare
Choose a tag to compare
@dmaicher dmaicher released this 03 May 07:25
· 3 commits to 1.x since this release
* fix StaticDriver usage

In some scenarios where the doctrine dbal connection was configured using 'url: ...' the StaticDriver was not used because Doctrine ignores the 'driverClass' param in that case :(

See https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/DriverManager.php#L403

* keep test suite compatible with phpunit 4.x