diff --git a/core/modules/system/system.install b/core/modules/system/system.install index badb347..83a6a25 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -7,7 +7,6 @@ use Drupal\Component\Utility\Crypt; use Drupal\Component\Utility\Environment; -use Drupal\Component\Utility\SafeMarkup; use Drupal\Core\Url; use Drupal\Core\Database\Database; use Drupal\Core\DrupalKernel; @@ -138,7 +137,9 @@ function system_requirements($phase) { if (function_exists('phpinfo')) { // $phpversion is safe and output of l() is safe, so this value is safe. if ($phase === 'runtime') { - $phpversion_label = SafeMarkup::set($phpversion . ' (' . \Drupal::l(t('more information'), new Url('system.php')) . ')'); + $phpversion_label = [ + '#markup' => $phpversion . ' (' . \Drupal::l(t('more information'), new Url('system.php')) . ')', + ]; } $requirements['php'] = array( 'title' => t('PHP'),