Merge pull request #29285 from nextcloud/fix/php-7.3-deprecation

Deprecate PHP7.3 for Nextcloud 23
This commit is contained in:
Christoph Wurst 2021-10-18 10:00:21 +02:00 committed by GitHub
commit 643e85cfe8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -299,7 +299,7 @@ class CheckSetupController extends Controller {
* @return bool
*/
protected function isPhpOutdated(): bool {
return PHP_VERSION_ID < 70300;
return PHP_VERSION_ID < 70400;
}
/**

View file

@ -290,9 +290,9 @@
type: OC.SetupChecks.MESSAGE_TYPE_INFO
})
}
if (data.phpSupported && data.phpSupported.version.substr(0, 3) === '7.2') {
if (data.phpSupported && data.phpSupported.version.substr(0, 3) === '7.3') {
messages.push({
msg: t('core', 'Nextcloud 20 is the last release supporting PHP 7.2. Nextcloud 21 requires at least PHP 7.3.'),
msg: t('core', 'Nextcloud 23 is the last release supporting PHP 7.3. Nextcloud 24 requires at least PHP 7.4.'),
type: OC.SetupChecks.MESSAGE_TYPE_INFO
})
}