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

Finalize PHP 8 support #72

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Finalize PHP 8 support #72

wants to merge 3 commits into from

Conversation

evll
Copy link

@evll evll commented Sep 14, 2021

I see that 075d60d adds PHP 8 support, but some things are still missing:

  1. travis-ci configuration still does not mention PHP 8
  2. composer config does not have PHP 8 support, which means that installing through composer requires --ignore-platform-req php

Note that Travis CI still breaks on PHP 8 because of code coverage, which is not supported for PHP 8 with the current PHPUnit version. I could upgrade PHPUnit to 9.5 (and make the required fixes in tests), but that would mean PHP 7.2 would no longer be supported (PHP 7.3 would be the minimum version).

Perhaps we could leave code coverage out? Or what is your preferred way of handling this?

In PHP 8 an empty path will trigger "Path cannot be empty"
ValueError, which will not be suppressed by `@`. Thus, we need
to check for an empty path separately.
@evll
Copy link
Author

evll commented Sep 29, 2021

@mihaeu could you provide your feedback?

@cojohn
Copy link

cojohn commented Apr 14, 2022

@mihaeu Any movement on this? --ignore-platform-reqs is not an option for our environment and we rely on Composer to manage PHP packages across an array of hosts. The composer.json change to include PHP 8 support would be very much appreciated.

@janpawellek
Copy link

@mihaeu Is this package still being maintained? We also need PHP 8 support and it seems as there is no movement on this since about a year.

@mihaeu
Copy link
Owner

mihaeu commented Jun 1, 2022

Hi @janpawellek and rest, sorry for slacking off :( I transitioned in my job and didn't give this project as much attention as it deserves. I'll try to get this PR merged within the next couple of days.

Thanks for the motivation 🤗

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.

None yet

4 participants