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

Fix phpunit with Moodle 4.3 and PHP 8.2. #734

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

timhunt
Copy link
Contributor

@timhunt timhunt commented Aug 5, 2024

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.

lucaboesch added a commit to lucaboesch/moodle-plagiarism_turnitin that referenced this pull request Aug 5, 2024
lucaboesch added a commit to lucaboesch/moodle-plagiarism_turnitin that referenced this pull request Aug 5, 2024
lucaboesch added a commit to lucaboesch/moodle-plagiarism_turnitin that referenced this pull request Aug 5, 2024
lucaboesch added a commit to lucaboesch/moodle-plagiarism_turnitin that referenced this pull request Aug 5, 2024
lucaboesch added a commit to lucaboesch/moodle-plagiarism_turnitin that referenced this pull request Aug 13, 2024
lucaboesch added a commit to lucaboesch/moodle-plagiarism_turnitin that referenced this pull request Aug 13, 2024
Copy link
Contributor

@jack-tii jack-tii left a 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.

@jack-tii jack-tii merged commit c6f045c into turnitin:develop Aug 14, 2024
@timhunt
Copy link
Contributor Author

timhunt commented Aug 14, 2024

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.

@timhunt timhunt deleted the fix-phpunit-4.3 branch August 14, 2024 10:05
lucaboesch added a commit to lucaboesch/moodle-plagiarism_turnitin that referenced this pull request Aug 15, 2024
lucaboesch added a commit to lucaboesch/moodle-plagiarism_turnitin that referenced this pull request Aug 21, 2024
lucaboesch added a commit to lucaboesch/moodle-plagiarism_turnitin that referenced this pull request Aug 22, 2024
lucaboesch added a commit to lucaboesch/moodle-plagiarism_turnitin that referenced this pull request Dec 20, 2024
lucaboesch added a commit to lucaboesch/moodle-plagiarism_turnitin that referenced this pull request Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants