Open
Description
Preconditions
I've been upgrading old project and I began suddenly getting errors
Error: Call to undefined method Doctrine\DBAL\Connection::createSchemaManager()
/home/www/_project_/vendor/liip/test-fixtures-bundle/src/Services/DatabaseTools/ORMDatabaseTool.php:182
Later I've found that newest liip/test-fixtures-bundle 2.7.3
does not work with my current doctrine/dbal 2.13.9
because liip/test-fixtures-bundle
has, based on this commit doctrine/dbal@79ee9d0, undeclared dependency on doctrine/dbal ^3.1.0 | ^4.0.1
Steps to reproduce
Have project with liip/test-fixtures-bundle 2.7.3
and doctrine/dbal 2.13.9
and run tests.
Expected result
Composer should not allow me such combination even install. Alternatively liip/test-fixtures-bundle
should throw exception that it needs specific version of doctrine/dbal
.
Actual result
Error: Call to undefined method Doctrine\DBAL\Connection::createSchemaManager()