Skip to content
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

PHP 8.0 support #37

Closed
6 tasks
boesing opened this issue Oct 4, 2020 · 4 comments · Fixed by #38
Closed
6 tasks

PHP 8.0 support #37

boesing opened this issue Oct 4, 2020 · 4 comments · Fixed by #38
Labels
Enhancement New feature or request hacktoberfest-accepted Issues/Pull-Requests which can be fixed during Hacktoberfest: https://hacktoberfest.digitalocean.com Help Wanted
Projects

Comments

@boesing
Copy link
Member

boesing commented Oct 4, 2020

Feature Request

Q A
New Feature yes

Summary

To be prepared for the december release of PHP 8.0, this repository has some additional TODOs to be tested against the new major version.

In order to make this repository compatible, one has to follow these steps:

  • Modify composer.json to provide support for PHP 8.0 by adding the constraint ~8.0.0
  • Modify composer.json to drop support for PHP less than 7.3
  • Modify composer.json to implement phpunit 9.3 which supports PHP 7.3+
  • Modify .travis.yml to ignore platform requirements when installing composer dependencies (simply add --ignore-platform-reqs to COMPOSER_ARGS env variable)
  • Modify .travis.yml to add PHP 8.0 to the matrix (NOTE: Do not allow failures as PHP 8.0 has a feature freeze since 2020-08-04!)
  • Modify source code in case there are incompatibilities with PHP 8.0
@boesing boesing added Help Wanted Enhancement New feature or request hacktoberfest-accepted Issues/Pull-Requests which can be fixed during Hacktoberfest: https://hacktoberfest.digitalocean.com labels Oct 4, 2020
@boesing boesing added this to To do in PHP 8.0 via automation Oct 4, 2020
@arueckauer
Copy link
Contributor

On it.

@elie29
Copy link
Contributor

elie29 commented Mar 25, 2021

@arueckauer hey Andi, you can change composer.json to use "elie29/zend-phpdi-config": "^8.0", for php 8 support. Thank you.

@arueckauer
Copy link
Contributor

@elie29 Thanks for the notice. What do we need to take into account when upgrading from current version ^6.0 to ^8.0 of elie29/zend-phpdi-config?

@elie29
Copy link
Contributor

elie29 commented Mar 26, 2021

@arueckauer elie29/zend-phpdi-config is now full compatible with php 8.0, nothing else has changed

PHP 8.0 automation moved this from To do to Done May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request hacktoberfest-accepted Issues/Pull-Requests which can be fixed during Hacktoberfest: https://hacktoberfest.digitalocean.com Help Wanted
Projects
No open projects
PHP 8.0
  
Done
Development

Successfully merging a pull request may close this issue.

3 participants