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
Add support for PHP 8 + PHPUnit 9 #295
Conversation
@@ -17,6 +17,8 @@ jobs: | |||
env: SYMFONY_VERSION="^5.0" MIN_STABILITY=dev | |||
- php: 7.4 | |||
env: CHECKS=yes | |||
- php: nightly | |||
env: 'COMPOSER_FLAGS="--ignore-platform-reqs"' |
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.
open question: what is failing without it ?
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.
phpunit/phpunit 9.3.9 requires phpspec/prophecy, but it is not installable on PHP 8.
Here's a relevant discussion with the man himself: phpspec/prophecy#491 (comment)
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.
ack. thanks.
@@ -41,7 +41,8 @@ | |||
"symfony/yaml": "^2.0.5 || ^3.0 || ^4.0 || ^5.0" | |||
}, | |||
"require-dev": { | |||
"phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0" | |||
"phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0 || ^8.0 || ^9.0", | |||
"sanmai/phpunit-legacy-adapter": "^6.1 || ^8.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.
i do understand the need and the approach.
I'm still crying internally.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
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.
no worry, all good
thanks @sanmai |
|
i wanna see can we do #289 in the same release, first. thanks for understanding |
Thank you for 2.4.0! 🎉 |
* Update .travis.yml to include PHP 7.4 (php-coveralls#283) * Fix incorrect version in README (php-coveralls#286) * Add Guzzle 7 support (php-coveralls#288) * Add Guzzle 7 support * Update composer.json Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com> * DX: Configurator - reduce cyclomatic complexity (php-coveralls#291) * CI: reduce amount of jobs (php-coveralls#292) * Allow to specify endpoint in arguments (php-coveralls#290) * Allow to specify endpoint in arguments * use new helper Co-authored-by: Dariusz Ruminski <dariusz.ruminski@gmail.com> * DX: Allow PHPUnit 7 (php-coveralls#294) * Added COVERALLS_PARALLEL support and Configured CI_BUILD_NUMBER for Travis CI (php-coveralls#279) * updated to detect COVERALLS_PARALLEL env var * added CI_BUILD_NUMBER into Configuration * updated README * fixed tests * Update RequirementsNotSatisfiedException.php * fix CS * fix checking of required fields + tests * add missing class property Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com> * Prepare v2.3.0 * Add support for PHP 8 + PHPUnit 9 (php-coveralls#295) * Add support for PHP 8 + PHPUnit 9 * Add PHPUnit 4.8 workarounds * Do --ignore-platform-reqs on PHP 8 * Skip failing test due to missing get_debug_type() * Add insecure option (php-coveralls#289) * Add Github Actions and COVERALLS_FLAG_NAME support (php-coveralls#296) Co-authored-by: Smolevich <smolevich90@gmail.com> Co-authored-by: Simon Podlipsky <simon@podlipsky.net> * DX: .gitignore cache PHPUnit (php-coveralls#297) * Prepare v2.4.0 * Fix support of branch name with hyphen and "(no branch)" (php-coveralls#298) * Fix no-branch on CI error * fix support of dash in branch names * little tests cleanup * Prepare v2.4.1 * Correct spelling error in Github (php-coveralls#299) * Add COVERALLS_REPO_TOKEN to error message when run on Github Action (php-coveralls#302) * Update README.md (php-coveralls#303) Version 2.4.0 does not have a phar file, change to v2.4.2 * Add file missing for PHP 8 (php-coveralls#308) fixes php-coveralls#307 * Prepare v2.4.3 * Update CiEnvVarsCollector.php Re-arrange methods to avoid merge conflicts with upstream * Update JsonFileTest.php Remove duplicate method `shouldSetParallel()` * Update JsonFile.php Remove duplicate property `$parallel` * Update JsonFile.php Remove duplicate method `setParallel()` * Update CiEnvVarsCollector.php Fix code style * Update JsonFileTest.php Fix broken test Co-authored-by: Alexey Kopytko <alexey@kopytko.com> Co-authored-by: Viktor Szépe <viktor@szepe.net> Co-authored-by: Dmitry Ivanov <dmitry.g.ivanov@gmail.com> Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com> Co-authored-by: Dmitry Shemin <shemindmitry@gmail.com> Co-authored-by: Yih Yang <yyngo788n88@hotmail.com> Co-authored-by: Twin Huang <twinhuang@qq.com> Co-authored-by: Smolevich <smolevich90@gmail.com> Co-authored-by: Simon Podlipsky <simon@podlipsky.net> Co-authored-by: Danny van der Sluijs <danny.vandersluijs@icloud.com> Co-authored-by: Oanh Nguyen <oanhnn.bk@gmail.com> Co-authored-by: Jimmy Cleuren <jimmy.cleuren@gmail.com> Co-authored-by: Christian Raue <christian.raue@gmail.com>
This PR
Replace #293
Fix #281