Jacob Waller
Jacob Waller

Reputation: 4229

PHP composer install PHPUnit runner

I am trying to install PHPUnit/Runner/Version.php using PHP composer and I get the following error.

I am not sure if I am install the wrong package or what. The following is what I have in my composer.json file.

{
    "require-dev": {
        "phpunit/phpunit": "4.1.*",
        "phpunit/php-invoker": "*",
        "phpunit/dbunit": ">=1.2",
        "phpunit/phpunit-selenium": ">=1.2",
        "phpunit/phpunit-story": "*",
        "phpunit/phpunit-runner": "*" - with this removed that file is unavailable
    }
}

Any help would be great.

Upvotes: 2

Views: 1154

Answers (1)

Sven
Sven

Reputation: 70863

The class PHPUnit_Runner_Version is part of the core PHPUnit package phpunit/phpunit in any version.

So there is no need to require it seperately because the package name you invented does not exist.

You probably have a different problem you didn't ask in this question about some software not being able to require this class, but this likely isn't being solved this way.

Upvotes: 1

Related Questions