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

Prepare Moodle for PHP 8.0

XMLWordPrintable

    • 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.


      (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)

            Votes:
            35 Vote for this issue
            Watchers:
            69 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.