Issue #2927344 by Wim Leers, xjm, TR, webchick, larowlan, David_Rothstein,...
Issue #2927344 by Wim Leers, xjm, TR, webchick, larowlan, David_Rothstein, catch, yoroy: Specifically warn about end dates for PHP support for old versions
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
// Warn if still on PHP 5. If If at least PHP 7.0, relax from "warning" to
// Warn if still on PHP 5. If at least PHP 7.0, relax from "warning" to
// "info", and show it at runtime only, to not scare users while installing.
if(version_compare($phpversion,'7.0')<0){
$requirements['php']['description']=t('Drupal will drop support for this version on March 6, 2019. Upgrade to PHP version %recommended or higher to ensure your site can receive updates and remain secure. See <a href="http://php.net/supported-versions.php">PHP\'s version support documentation</a> and the <a href=":php_requirements">Drupal 8 PHP requirements handbook page</a> for more information.',['%recommended'=>DRUPAL_RECOMMENDED_PHP,':php_requirements'=>'https://www.drupal.org/docs/8/system-requirements/php']);