-
Task
-
Resolution: Duplicate
-
Minor
-
None
-
3.7
-
None
-
MOODLE_37_STABLE
Since Moodle 3.7 (see MDL-63276), Moodle requires PHP 7.1.x.
There are a number of checks / comments / conditional coding in core looking for old PHP 5.x and 7.0.x versions.
This issue is about to visit all those cases, review them and, when unnecessary, take rid of those checks / comments / conditional coding, keeping core working with the supported PHP versions.
This is a quick and dirty grep about current cases needing review (note a bunch of them - composer, environment, install lang files, 3rd part libraries... - can be considered false positives...):
ag --php 'php.*(5\.[456]|7\.0)'
|
Results: https://pastebin.com/TxWa5b7a (worth updating this when the work here begins).
And that's all, ciao
- has been marked as being related by
-
MDL-74905 Decide Moodle 4.2 requirements and push them to environment.xml (due date: 2022-12-26)
- Closed
-
MDL-76724 Decide Moodle 4.3 requirements and push them to environment.xml (due date: 2023-05-08)
- Closed
-
MDL-78496 Decide Moodle 4.4 requirements and push them to environment.xml (due date for voting: 2023-11-13)
- Closed
-
MDL-70594 Decide Moodle 4.0 requirements and push them to environment.xml (due date: 2021-06-09)
- Closed
-
MDL-63276 Decide Moodle 3.7 requirements and push them to environment.xml (due date: 2018-12-17)
- Closed
-
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-69308 Decide Moodle 3.11 requirements and push them to environment.xml (due date: 2020-12-21)
- Closed
-
MDL-71747 Decide Moodle 4.1 requirements and push them to environment.xml (due date: 2022-06-01)
- Closed
-
MDL-79809 Decide Moodle 4.5 requirements and push them to environment.xml (due date: 2024-05-27)
- Closed
- is duplicated by
-
MDL-73700 Remove all the old php version checks from core
- Waiting for peer review