Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-70745

Prepare Moodle for PHP 8.0

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • Prepare Moodle for PHP 8.0
    • Hide

      A) Verify the docs have been updated with the information about PHP 8.0 support., at very least:

      B) Verify that 311_STABLE and master can be installed using PHP 8.0

      C) Verify that a 36_STABLE site can be upgraded to 311_STABLE and master using PHP 8.0

      D) Check that all CI jobs are passing ok with PHP 8.0.

      Show
      A) Verify the docs have been updated with the information about PHP 8.0 support., at very least: PHP 8.x support: https://moodledev.io/general/development/policies/php Release notes in all the branches affected, see: for 3.11: https://moodledev.io/general/releases/3.11#server-requirements for 4.0: https://moodledev.io/general/releases/4.0#server-requirements B) Verify that 311_STABLE and master can be installed using PHP 8.0 C) Verify that a 36_STABLE site can be upgraded to 311_STABLE and master using PHP 8.0 D) Check that all CI jobs are passing ok with PHP 8.0.

    Description


      (image taken before closing, now php80 is being tested everywhere, GHA, CI... so no need for those custom tests and branches anymore)

      Accumulative branches (with all the pending stuff still not upstream) are:

      An, hopefully, small epic to turn Moodle ready for PHP 8.0.

      When: Being cristal clear (aka transparent), the ideal target release for this is Moodle 3.11.0 (aka, supported since the very beginning of the branch), but be warned that full support may arrive later in any Moodle 3.11.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:

      Some basic requirements for this:

      • ...

      And some tasks to do once this is upstream:

      TODO 1: Review the travis and/or github actions configuration for various repositories. The new PHP version needs to be covered. Known to need review / fix repos include:

      TODO 2: Verify that this PR has been fixed/hopefully released @ MinkExtension (new PHP 8 warning) and update our dependencies to it.

      All the issues belonging to this epic should be pulled into both MOODLE_311_STABLE and master (unless they are bug fixes requiring patching older, still supported, branches)

      Attachments

        1. image.png
          image.png
          23 kB
        2. image-2022-06-30-10-17-07-102.png
          image-2022-06-30-10-17-07-102.png
          10 kB
        3. php80-progress.rtf
          57 kB
        4. taken_on_close.png
          taken_on_close.png
          23 kB

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              stronk7 Eloy Lafuente (stronk7)
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              35 Vote for this issue
              Watchers:
              66 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jul/22