Affects Version/s: 3.7
Fix Version/s: None
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...):
Results: https://pastebin.com/TxWa5b7a (worth updating this when the work here begins).
And that's all, ciao