Skip to content

Recommend to install PHPUnit from the .phar archive (without Composer)? #6625

Closed
@alexislefebvre

Description

@alexislefebvre

According to @wouterj:

You shouldn't require PHPunit as a dev dependency (and you've proofed with this issue again why you shouldn't).

Download the phpunit.phar and put it in a directory that's in your $PATH.

Source: symfony/symfony#18903 (comment)

But the documentation doesn't recommend to install PHPUnit without Composer: http://symfony.com/doc/current/book/testing.html

Should the documentation mention that using phpunit.phar is the recommended way to use PHPUnit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions