Open CaporalDead opened 8 years ago
@CaporalDead PHPUnit 3.4 is old and a no longer supported version.
In the past you could use:
"repositories" : [
{
"type" : "pear",
"url" : "http://pear.phpunit.de"
}
],
"require-dev" : {
"pear-pear.phpunit.de/PHPUnit" : "3.4.*"
}
But that no longer works. "http://pear.phpunit.de" is gone - 410!
I think, a manually download of an old PHPUnit 3.4 archive could help.
@CaporalDead If you can update to PHPUnit ^4.x you can include the currently unmaintained phpunit/dbunit
project which contains the missing class.
@froschdesign Maybe the composer.json
should be updated with a suggests section since some parts of Zend Framework 1 does not work if the right packages are not included manually. E.g. DatabaseTestCase does not work of the above package is not added.
Hi,
I'm getting some trouble while trying to migrate an old zf 1.11 app to 1.12 using composer. Indeed, one of my test case use the Zend_Test_PHPUnit_Db_DataSet_QueryTable class which extends the PHPUnit_Extensions_Database_DataSet_QueryTable but the composer.json file use phpunit 3.7.19 and this class has been deleted since.
Any idea on how to fix this issue ? Thanks.