Skip to content

Commit 476e9c5

Browse files
committed
AC-2841:PHP 7.4 compatibility removal from the codebase
1 parent 4590177 commit 476e9c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/bootstrap.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
#ini_set('display_errors', 1);
1515

1616
/* PHP version validation */
17-
if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID < 70400) {
17+
if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID < 80100) {
1818
if (PHP_SAPI == 'cli') {
19-
echo 'Magento supports PHP 7.4.0 or later. ' .
19+
echo 'Magento supports PHP 8.1.0 or later. ' .
2020
'Please read https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements-tech.html';
2121
} else {
2222
echo <<<HTML
2323
<div style="font:12px/1.35em arial, helvetica, sans-serif;">
24-
<p>Magento supports PHP 7.4.0 or later. Please read
24+
<p>Magento supports PHP 8.1.0 or later. Please read
2525
<a target="_blank" href="https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements-tech.html">
2626
Magento System Requirements</a>.
2727
</div>

0 commit comments

Comments
 (0)