-
Epic
-
Resolution: Done
-
Minor
-
3.8
-
MOODLE_38_STABLE
-
MOODLE_38_STABLE
-
Prepare Moodle for PHP 7.4
-
(image taken on close, the jobs running those tests have been already removed)
Accumulative branches (with all the pending stuff still not upstream) are:
- master: https://github.com/stronk7/moodle/compare/master...php74 (deleted)
- 38_STABLE: https://github.com/stronk7/moodle/compare/MOODLE_38_STABLE...php74_38 (deleted)
An, hopefully, small epic to turn Moodle ready for PHP 7.4 (end of 2019).
When: Being cristal clear (aka transparent), the ideal target release for this is Moodle 3.8.0 (aka, supported since the very beginning of the branch), but be warned that full support may arrive later in any Moodle 3.8.x minor release in the branch, depending of a number of factors (extensions availability and bugs, 3rd part libraries, last minute surprises...).
Some initial links:
- Main changes explained: https://stitcher.io/blog/new-in-php-74
- Changes detailed: https://github.com/php/php-src/blob/PHP-7.4/UPGRADING
- Accepted RFCs: https://wiki.php.net/rfc#php_74
- Deprecations: https://wiki.php.net/rfc/deprecations_php_7_4
Some basic requirements for this:
- get unit and acceptance tests passing against all databases.
- check all the changes details have been reviewed and fixed (attached file).
- ensure older versions of Moodle don't work with PHP 7.4 (
MDL-66262) - get travis working with the new php version (
MDL-66263) - get moodle-php-apache docker images working with the new php version
- Update docs (and others, see testing instructions) once this is ready.
- ...
All the issues belonging to this epic should be pulled into both MOODLE_38_STABLE and master (unless they are bug fixes requiring patching older, still supported, branches)
- blocks
-
MDL-68445 Bump to current (3.6.x) behat version
- Closed
- has a clone
-
MDL-70745 Prepare Moodle for PHP 8.0
- Closed
- has been marked as being related by
-
MDL-64614 Decide Moodle 3.8 requirements and push them to environment.xml (due date: 2019-06-10)
- Closed
-
MDL-65809 Decide Moodle 3.9 requirements and push them to environment.xml (due date: 2019-12-02)
- Closed
-
MDL-67415 Decide Moodle 3.10 requirements and push them to environment.xml (due date: 2020-07-24)
- Closed
-
MDL-67673 Upgrade phpunit to 8.5.x
- Closed
- has to be done after
-
MDL-63420 Prepare Moodle for PHP 7.3
- Closed
- Testing discovered
-
MDL-68655 Investigate phpunit failures with php74 + oracle
- Closed