Skip to content
This repository was archived by the owner on May 16, 2018. It is now read-only.
This repository was archived by the owner on May 16, 2018. It is now read-only.

PHPUnit_Extensions_Database_DataSet_QueryTable can not be found #700

Open

Description

@CaporalDead

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.

Activity

  1. froschdesign commented on Jun 3, 2016

    @froschdesign
    Member

    @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.

  2. jonsa commented on Jun 28, 2016

    @jonsa

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions