Tom
Tom

Reputation: 19

Different PHPUnit versions

I'm having an issue with my PHPUnit version (currently version 8).

When I try to run a specific test suite, it's giving me an error, which, based on what I've read online, is a result of the test suite being written for version 7. So, it seems like I'll need to get that version to run the suite. Would you happen to know if I'd necessarily have to uninstall v. 8, or is there a way to overwrite v. 8 with v. 7 (or to have both on my system)?

Upvotes: 1

Views: 129

Answers (1)

Sebastian Bergmann
Sebastian Bergmann

Reputation: 8326

Using a global installation of PHPUnit is not recommended. Instead, PHPUnit should be managed as a project-local dependency.

Upvotes: 3

Related Questions