This commit is contained in:
Sara Arjona 2024-02-21 17:49:52 +01:00
commit 93b3eff237
No known key found for this signature in database
3 changed files with 14 additions and 0 deletions

View File

@ -3939,6 +3939,7 @@
<VENDOR name="oracle" version="19" />
</DATABASE>
<PHP version="8.0.0" level="required">
<RESTRICT function="restrict_php_version_83" message="unsupportedphpversion83" />
</PHP>
<PCREUNICODE level="optional">
<FEEDBACK>
@ -4128,6 +4129,7 @@
<VENDOR name="oracle" version="19" />
</DATABASE>
<PHP version="8.0.0" level="required">
<RESTRICT function="restrict_php_version_83" message="unsupportedphpversion83" />
</PHP>
<PCREUNICODE level="optional">
<FEEDBACK>

View File

@ -1502,6 +1502,7 @@ $string['unsupportedphpversion74'] = 'PHP version 7.4 and higher are not support
$string['unsupportedphpversion80'] = 'PHP version 8.0 and higher are not supported.';
$string['unsupportedphpversion81'] = 'PHP version 8.1 and higher are not supported.';
$string['unsupportedphpversion82'] = 'PHP version 8.2 and higher are not supported.';
$string['unsupportedphpversion83'] = 'PHP version 8.3 and higher are not supported.';
$string['unsuspenduser'] = 'Activate user account';
$string['updateaccounts'] = 'Update existing accounts';
$string['updatecomponent'] = 'Update component';

View File

@ -1686,3 +1686,14 @@ function restrict_php_version_81($result) {
function restrict_php_version_82($result) {
return restrict_php_version($result, '8.2');
}
/**
* Check if the current PHP version is greater than or equal to
* PHP version 8.3
*
* @param object $result an environment_results instance
* @return bool result of version check
*/
function restrict_php_version_83($result) {
return restrict_php_version($result, '8.3');
}