Closed (fixed)
Project:
Scheduler
Version:
2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 May 2020 at 08:24 UTC
Updated:
2 Nov 2022 at 09:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jonathan1055 commented'Drupal 9 compatibility' is the preferred tag for contrib projects preparing for D9
Comment #3
jonathan1055 commentedThe Scheduler Rules Integration tests have been temporarily skipped.
Comment #4
mrpauldriver commentedI am seeing a number of warnings when tested with Upgrade Status module. Are these cause for concern?
Comment #5
jonathan1055 commentedHi MrPaulDriver,
The 10 'class could not be loaded' warnings are all regarding Scheduler Rules Integration. I had to remove the 'require-dev Rules' to allow the module to be tested at 9.0 at all, because Rules will not get loaded at 9.0 so our tests never got started. See #3136553: Cannot use Rules module in D9. If you can think of a way to get the tests running without having to exclude Rules then that would be very good.
The warning about
Call to deprecated function drush_get_option()is not reported by PHPStan, so maybe Upgrade Status module is using a different list of functions or a different way to detect deprecated functions.By the way, please could you edit your post and add <code> and </code> around your output so that it is formatted in a more readable way.
Comment #6
mrpauldriver commentedThank you for reviewing. Post edited with < code > tags.
Comment #7
jonathan1055 commentedThanks. What version of Upgrade Status are you using? I am on 2.6.0 and Scheduler shows as green, nothing to report. It is working, because the report for Rules fails, see screen shot. I am not worried about the 10 'class not found and could not be autoloaded' as explained above, but I will investigate the
drush_get_option()problem. It would be nice to see this for myself on my report, though.Comment #8
mrpauldriver commentedWe are using the same version of Upgrade Status. I am also running 8.8.5.
Comment #9
jonathan1055 commentedI am using core 8.8-dev (which is later than 8.8.6) and also 8.9-dev (which is later than 8.9.0-beta3). I can understand why I am not seeing the Rules class warnings, because I do have Rules installed in those two environments. But it's the drush warning we need to resolve. Which Drush (if any) do you have? I'm using Drush 10.
Comment #10
grayle commenteddrush_get_option()is deprecated in drush 9 and I believe removed from drush 10, but a lot of people are still using drush 8. Drush 9/10 ignores drush.inc anyway afaik, so I think it's safe to leave it in for the D8 users.My upgrade status (2.9) doesn't seem to care about it either way. It did throw this though, against HEAD of 1.x-dev:
Comment #11
dave reidComment #13
jonathan1055 commentedThanks Grayle,
I decided to remove that datetime example completely, as it is not used at all in Scheduler, and even if the widget was used elsewhere the html date and time example nearly always never matches the users browser implementation of date input.
Just for info, and for anyone else reading, this issue is the parent meta issue for Drupal9 readiness. For any specific deprecation shown in d9checker/phpstan please post it to #3042677: Drupal 9 Deprecated Code Report for Scheduler. Thanks
Comment #15
jonathan1055 commentedWork will be done on 2.x first.
Comment #16
jonathan1055 commentedScheudler 8.x-1.x and 2.x have been compatible with Drupal 9 since April 2020 so this issue can be closed now.
#3079913: Add new 'core_version_requirement' key to .info.yml