Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error after installing version 2.0 #70

Closed
OskarStark opened this issue Mar 7, 2017 · 4 comments
Closed

error after installing version 2.0 #70

OskarStark opened this issue Mar 7, 2017 · 4 comments

Comments

@OskarStark
Copy link

OskarStark commented Mar 7, 2017

screenshot 2017-03-07 12 26 31

my tests are failing, I am wondering, why I can install version >=2.0, if i have PHPUnit 5.7.15 installed:

oskar.stark:/Volumes/development/workspaces/dashy (show-navi)$ composer show | grep phpunit/phpunit
phpunit/phpunit                                  5.7.15  The PHP Unit Testing framework.
oskar.stark:/Volumes/development/workspaces/dashy (show-navi)$ composer show | grep matthias
matthiasnoback/symfony-config-test               v3.0.1  Library for testing user classes related to the Symfony Config Component
matthiasnoback/symfony-dependency-injection-test v2.0.0  Library for testing user classes related to the Symfony Dependency Injection Component

IMO >=2.0 should have PHPUnit <=6.0 in the conflict section

@matthiasnoback
Copy link
Collaborator

I don't know how this is possible, since matthiasnoback/symfony-dependency-injection-test v2.0.0 requires phpunit/phpunit: ^6.0...

@matthiasnoback
Copy link
Collaborator

Ah, I get it now. It's because phpunit is in the require-dev section of symfony-dependency-injection-test. That's because people using a separate .phar containing PHPUnit. See also: #68 I can't fix this, you just need to take care of the dep on 6.0 yourself.

@OskarStark
Copy link
Author

good to know, thank you 👍

@matthiasnoback
Copy link
Collaborator

Thanks for reporting, and thanks for using this lib. I'll see if I can fix it by adding a warning about incorrect PHPUnit version usage :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants