-
Notifications
You must be signed in to change notification settings - Fork 5
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
Allow PHP 8 #16
Conversation
"Arrays MUST use the short syntax." https://docs.styleci.io/fixers#short_array_syntax
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.
thanks for looking into this
"CodeCoverage should not be used with spec testing in order to see how good your tests are." https://github.com/henrikbjorn/PhpSpecCodeCoverageExtension
- php: 7.3 | ||
env: COVERAGE=true TEST_COMMAND="composer test-ci" DEPENDENCIES="henrikbjorn/phpspec-code-coverage:^1.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.
This may need some discussion, but this dependency is deprecated so I decided to remove code coverage.
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.
fine for me
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.
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])
tagged a release https://github.com/php-http/stopwatch-plugin/releases/tag/1.4.0 |
What's in this PR?
Support PHP 8.0.