-
-
Notifications
You must be signed in to change notification settings - Fork 19
Better to move phpunit/phpunit into require-dev #5
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
Comments
May I ask why?
For Where do you see the benefit in having it in |
Yes, it actually makes no diffrences. For every normal packages, they have phpunit in There is another scene: Suppose that I already have phpunit installed as cli-tools, then the |
It does. If one for what ever reason would not specify phpunit as dependency php-mock-phpunit would appear broken. More over php-mock-phpunit is not compatible with every phpunit version. If someone has let's say a dependency to phpunit-3 and wants to require php-mock-phpunit, composer will clearly say what's wrong. This will not happen if phpunit is a require-dev dependency of php-mock-phpunit.
It's not a good practice to suppose such things. If you want to manage your dependencies your self, don't use composer. |
I mean, if I always |
No description provided.
The text was updated successfully, but these errors were encountered: