Skip to content

Allow PHP 8 #16

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 8 commits into from
Nov 30, 2020
Merged

Allow PHP 8 #16

merged 8 commits into from
Nov 30, 2020

Conversation

ddeboer
Copy link
Contributor

@ddeboer ddeboer commented Nov 30, 2020

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

What's in this PR?

Support PHP 8.0.

Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for looking into this

- php: 7.3
env: COVERAGE=true TEST_COMMAND="composer test-ci" DEPENDENCIES="henrikbjorn/phpspec-code-coverage:^1.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may need some discussion, but this dependency is deprecated so I decided to remove code coverage.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fine for me

@ddeboer ddeboer mentioned this pull request Nov 30, 2020
2 tasks
Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks.

i strongly disagree with nikolas on that one. its trivial to open a new major php version when it comes along, if there are no BC breaks affecting the library. if there are BC breaks, its a pain for users to figure out if they will have a problem when they use dependencies that don't properly declare what they are tested with. i keep closing issues on our guzzle6-adapter from people asking to support php 8, when guzzle 6 itself has failing tests on php 8 (but uses the >= 5.5 constraint [note how guzzle 7 properly declares php versions it is compatible with])

@dbu dbu merged commit f13422a into php-http:master Nov 30, 2020
@dbu
Copy link
Contributor

dbu commented Nov 30, 2020

@ddeboer ddeboer deleted the php8 branch November 30, 2020 13:37
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