MDL-63421 env: Moodle 3.4.x and 3.5.x do not support PHP 7.3

This commit is contained in:
Eloy Lafuente (stronk7)
2018-10-05 13:39:12 +02:00
parent f1ad334f3a
commit 9dfe3e0be1
3 changed files with 14 additions and 0 deletions
+11
View File
@@ -1604,3 +1604,14 @@ function restrict_php_version_71(&$result) {
function restrict_php_version_72(&$result) {
return restrict_php_version($result, '7.2');
}
/**
* Check if the current PHP version is greater than or equal to
* PHP version 7.3.
*
* @param object $result an environment_results instance
* @return bool result of version check
*/
function restrict_php_version_73(&$result) {
return restrict_php_version($result, '7.3');
}