-
Notifications
You must be signed in to change notification settings - Fork 35
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
fetch_reports.php no longer working after upgrading to php8.4 - Filesystem: Implicitly marking parameter $pathNormalizer as nullable is deprecated #156
Comments
I think this issue report should go to |
Already fixed thephpleague/flysystem@2df5d73 |
This project should upgrade to v3 Line 22 in b098f56
Please double check |
Thank you for the information! |
This will raise the PHP version requirement to 8.0.2 minimum. Perhaps this should have been done a long time ago. |
Hm. I was unable to reproduce this error on flysystem v2.5.0 and php 8.4. But I will update it. |
This is a breaking change, maybe require 2 or 3 |
I think users appreciate php 7 compatibility |
This is not a problem for me. I haven't used PHP 8 code anywhere in my project. Is it normal that my code requires PHP 7 and one optional dependencies requires PHP 8? |
As long as you use an OR operator it can support both versions |
May I close this? |
Is there new commits done for this one? |
Are you suggesting to set Added: Honestly, I still haven't figured out why I haven't reproduced this error with v2.5 |
Yes exactly, this would ensure the project can be installed on older versions |
@williamdes Thanks for the detailed response. I think PHP 7.3 is enough for me for now. |
Using latest version from git via git pull 2.2.1, same effect was on previous used version 1.8:
I upgraded from old php7.4 to 8.4 via sury ppa on ubuntu 22.04 and cronjob to fetch reports stopped working.
Error on php8.4:
Running it manually with old php7.4 is OK and works.
Web app via apache and php8.4 seems to work ok.
PHP versions used:
The text was updated successfully, but these errors were encountered: