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

Allow PHP 8.x in v1 branch #420

Closed
wants to merge 1 commit into from
Closed

Allow PHP 8.x in v1 branch #420

wants to merge 1 commit into from

Conversation

drastik
Copy link

@drastik drastik commented Dec 15, 2022

Solves #419

@codecov
Copy link

codecov bot commented Dec 16, 2022

Codecov Report

Merging #420 (db419fc) into v1 (c211986) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                 v1     #420   +/-   ##
=========================================
  Coverage     99.58%   99.58%           
  Complexity      360      360           
=========================================
  Files            20       20           
  Lines           960      960           
=========================================
  Hits            956      956           
  Misses            4        4           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ankitpokhrel
Copy link
Owner

Hi @drastik, I believe this requires other upgrades as well. For instance, phpunit/phpunit 7.5.20 won't work with PHP8. Any reason you can't upgrade to tus-php@v2 if you are already using PHP8?

@drastik
Copy link
Author

drastik commented Dec 17, 2022

@ankitpokhrel Yes, Drupal 9 is PHP 8 but Symfony 4.

@ankitpokhrel
Copy link
Owner

@drastik I see, thanks!

End of bug fixes for Symfony 4 is November 2022 and the end of security fixes will be on November 2023. PHP7.* and 8.0 has reached its end of life.

I don't know if it would be wise to work on adding support for PHP8 in v1 at this point if this requires a lot of work. I am open for PR tho. Or, perhaps you can maintain a fork for the time being?

@drastik
Copy link
Author

drastik commented Dec 19, 2022

I feel ya. Yeah they recommend/soft-require PHP 8.1+, but I wish they hadn't stuck with Symfony 4 at the time of D9 development. I guess we can close this?

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