-
Notifications
You must be signed in to change notification settings - Fork 55
Update composer.json #31
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
Conversation
I agree to the PHP constraint but I'm not sure about phpunit. I'd rather leave this up to every developer. Some might prefer to install phpunit system wide. Actually I'm a bit confused about the |
composer.json
Outdated
@@ -9,6 +9,12 @@ | |||
"email": "haertl.mike@gmail.com" | |||
} | |||
], | |||
"require": { | |||
"php": "^5.4.0 || ^7.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about a single >=5.4.0
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's what I did initially, CI failed for php7. You can see why in the output of job 99.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, i see a ^5.4.0
, not a >=5.4.0
in your initial commit.
Regarding |
From my point of view, it doesn't hurt to install phpunit locally even if it's already installed system wide. EDIT because of cross-post : Well yes, the |
So far the development team is very small. I can't see why we want to bloat everyone elses vendor directory with phpunit. It's not required to use this library. And the few developers here will know how to install phpunit if they need it. So: Sorry, I'm a bit insistent on this one. :). I have a personal aversion against software that doesn't respect my valuable disk space by default. |
Duly noted, I'll leave that out of this PR :). |
Great :). Can you also give |
A straightforward change.
The goal of this PR is to have a php version requirement (I chose the lowest one from the CI setup) and also to install phpunit locally as a dev dependency.