- Issue created by @magicmyth
- @magicmyth opened merge request.
- Status changed to Needs review
almost 2 years ago 8:40am 28 January 2023 - 🇬🇧United Kingdom jonathan1055
Hi magicmyth,
Thanks for reporting this and for making the MR. I've not used the 7.x-1.x branch with PHP8 so these things have gone unnoticed. - 🇬🇧United Kingdom jonathan1055
I have now added a branch test for 7.x using php8.1
- 🇬🇧United Kingdom jonathan1055
That's good - the new branch test fails with
exception: [Deprecated function] Line 440 of sites/all/modules/scheduler/scheduler.module: strncasecmp(): Passing null to parameter #1 ($string1) of type string is deprecated
but this is the only failure when running on php8.1
-
jonathan1055 →
committed 5cd63bd6 on 7.x-1.x authored by
magicmyth →
Issue #3336969 by magicmyth: strncasecmp() Passing null to parameter #1...
-
jonathan1055 →
committed 5cd63bd6 on 7.x-1.x authored by
magicmyth →
- Status changed to Fixed
almost 2 years ago 3:47pm 28 January 2023 - 🇬🇧United Kingdom jonathan1055
Thanks again for raising this. It's prompted me to add a branch test for php8.1 and this is now the issue testing default too.
- 🇬🇧United Kingdom magicmyth
Thanks for looking into this so fast! Great to have the test in place now. With PHP 7.4 EOL I'll be moving a bunch of sites over to 8.1 soon so that will really help for keeping an eye on things.
- 🇬🇧United Kingdom jonathan1055
You're welcome, and thank you for reporting it. It was an oversight that Scheduler 7.x was not being tested at PHP8. I'm pleased that this was the only test failure, as we can see on https://www.drupal.org/pift-ci-job/2579521 → which I ran this commit. Of course, there could be other things which are not compatible with PHP8 and are not covered in the tests. If you find anything, please report it.
Would it help if I released Scheduler 7.x-1.7? It's been more than two years since 7.x-1.6 but there are only a few things that have been committed, see 📌 Features and Fixes for Scheduler 7.x-1.7 release Fixed . But it's probably good to have a new release now that this php8 fix is done.
Automatically closed - issue fixed for 2 weeks with no activity.