-
Notifications
You must be signed in to change notification settings - Fork 72
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
Fix phpunit with Moodle 4.3 and PHP 8.2. #734
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'm currently trying to improve our CI processes for these plugins so that we can find things like this faster ourselves... Hopefully won't have to be relying on others for long.
Thanks! And, in case you have not seen this bit of Moodle development news: Right now there is a know issue with https://moodlehq.github.io/moodle-plugin-ci/. See moodlehq/moodle-plugin-ci#309 and nvm-sh/nvm#3405 for details. Hopefully that gets sorted soon. |
We were seeing PHPunit failures after installing this plugin into Moodle 4.3 (with PHP 8.2).
This is one way to fix it. May not be the most elegant, but I hope it is OK.
Among other things, this fixes issue #712.
I tested on Moodle 4.1 with PHP 7.4 to verify that I had not broken anything.
I hope this is helpful @carl-hostrander.