Skip to content

Some changes in composer.json #34

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

Merged
merged 2 commits into from
Sep 8, 2018
Merged

Some changes in composer.json #34

merged 2 commits into from
Sep 8, 2018

Conversation

prisis
Copy link
Contributor

@prisis prisis commented Sep 8, 2018

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets -
Documentation -
License MIT

What's in this PR?

  • moved phpunit to require-dev
  • updated php version to php5.5 Class name resolution via ::class is not supported in php 5.4
  • changed path in script test, composer knows all vendor bins

Why?

is much cleaner like this

updated php version to php5.5 Class name resolution via ::class is not supported in php 5.4
changed path in script test, composer knows all vendor bins
@Nyholm
Copy link
Member

Nyholm commented Sep 8, 2018

Are you sure composer knows the vendor bin? I’ve never seen that before.

I would like to have PHPUnit in require. This library provides tests. PHPUnit is actually a dependency.

Most other libraries use PHPUnit as a tool to run tests. For those libraries it make sense to have it in require-dev

👍 I like this cleanup!

@prisis
Copy link
Contributor Author

prisis commented Sep 8, 2018

@Nyholm
Copy link
Member

Nyholm commented Sep 8, 2018

Thank you

@Nyholm Nyholm merged commit d809977 into php-http:master Sep 8, 2018
@prisis prisis deleted the fix/composer branch September 8, 2018 16:31
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

Successfully merging this pull request may close these issues.

2 participants