Closed fkoyer closed 3 years ago
Which version of the bundle was installed?
composer show dama/doctrine-test-bundle
Looks like version 4.0.2
name : dama/doctrine-test-bundle
descrip. : Symfony 2/3 bundle to isolate doctrine database tests and improve test performance
keywords : Symfony 3, doctrine, isolation, performance, symfony, symfony 2, tests
versions : * v4.0.2
type : symfony-bundle
license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
homepage :
source : [git] https://github.com/dmaicher/doctrine-test-bundle.git 438346b3380cc7675e37fbcdca912fdc33471d32
dist : [zip] https://api.github.com/repos/dmaicher/doctrine-test-bundle/zipball/438346b3380cc7675e37fbcdca912fdc33471d32 438346b3380cc7675e37fbcdca912fdc33471d32
path : ***********\web\vendor\dama\doctrine-test-bundle
names : dama/doctrine-test-bundle
support
issues : https://github.com/dmaicher/doctrine-test-bundle/issues
source : https://github.com/dmaicher/doctrine-test-bundle/tree/master
autoload
psr-4
DAMA\DoctrineTestBundle\ => src/DAMA/DoctrineTestBundle
requires
doctrine/dbal ~2.5
doctrine/doctrine-bundle ~1.4
php >=5.5.0
symfony/framework-bundle ~2.7|~3.0|~4.0
requires (dev)
phpunit/phpunit ^5.4.4|~6.0
symfony/yaml ~2.7|~3.0
My app is using Symfony 3.4 so could that be the issue?
Ok that version 4.0.2 is quite outdated and not maintained anymore.
My app is using Symfony 3.4 so could that be the issue?
Symfony 3.4 is still supported by this bundle's latest version 6.5.
Maybe check with composer why-not dama/doctrine-test-bundle ^6.5
why no newer version is installed.
Thanks for your help. Seems to be a problem with my doctrine version. I will work it out.
symfony/framework-standard-edition 3.4.x-dev requires (for development) dama/doctrine-test-bundle (^4.0)
dama/doctrine-test-bundle v6.5.0 requires doctrine/dbal (^2.9.3 || ^3.0)
symfony/framework-standard-edition 3.4.x-dev does not require doctrine/dbal (but v2.5.13 is installed)
dama/doctrine-test-bundle v6.5.0 requires doctrine/doctrine-bundle (^1.11 || ^2.0)
symfony/framework-standard-edition 3.4.x-dev does not require doctrine/doctrine-bundle (but 1.10.3 is installed)
Hi,
I installed with
composer require --dev dama/doctrine-test-bundle
but I seem to be missing this file:I have PHPUnitListener.php but not PHPUnitExtension.php. What am I doing wrong?
Composer 2.0.8 PHPUnit 8.3.5 PHP 7.3.21
Thanks Kent