-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add php 8.0 support #109
Comments
In our docker php images we have added it for 7.3, 7.4 and 8.0 images. Why those 3? Because the are the ones supported by Moodle 3.11 and up. Also note that for sure all 311 and master executions need it, at very least to get complete phpunit runs working. There are some environment tests that will fail (no matter it's a recommendation for 7.3 and 7.4 and a requirement only for 8.0). All them will fail that test. This is a 7.3 run against 311 missing the variable:
By comparison, in core's Travis (under peer-review now, see MDL-70900) and GHA (landed last week, see MDL-71390) we are setting it always (for 311 and master branches). So, surely, the easiest us to apply for it globally and done, only putting things in individual jobs where there is a difference (keeping them simpler). That's my feeling, at very least. BTW, also, be noted that for 8.0... surely you'll need also to add the Ciao :-) |
TNX @stronk7!
Do you mean even for any plug-in code? HTH, |
Yeah, yeah. Normally we don't execute complete runs and, in any case, they aren't controlled by the plugin own CI stuff. I ended mixing stuff because I've spent the last days fighting with php80 elsewhere. Note I use to run here my plugins as part of complete runs too (to verify that privacy and other aspects are ok), but yes, those aren't under plugins CI umbrella but core's one. Anyway, all we need to ensure is that the site is installable by CI and done, yep. And only requirement, so far, is the Ciao :-) |
Based on moodlehq/moodle-plugin-ci#94 it's time to address it into the skeleton too 😉.
Moodle 3.11 and above will support PHP 8.0 according to MDL-70745.
Besides, a new PHP setting requirement has been added too:
max_input_vars = 5000
(MDL-71390).Different paths on how to address the
php.ini
requirement can be adopted:a. add that setting on any PHP version of the matrix: scara/moodle-local_twittercard@9b8e324
b. add that setting only on those PHP versions requiring it: scara/moodle-local_twittercard@0a3bb44
/cc @stronk7
HTH,
Matteo
The text was updated successfully, but these errors were encountered: