From 8d75058c66328b972472ccfac3eb6e4e9089d574 Mon Sep 17 00:00:00 2001 From: lucashedding <lucashedding@1463982.no-reply.drupal.org> Date: Mon, 8 Jul 2019 10:14:12 -0600 Subject: [PATCH] Issue #3061238 by heddn: PhpSapi checker doesn't set current PHP_SAPI to state --- src/ReadinessChecker/PhpSapi.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ReadinessChecker/PhpSapi.php b/src/ReadinessChecker/PhpSapi.php index fc1bce3517..7b9628274b 100644 --- a/src/ReadinessChecker/PhpSapi.php +++ b/src/ReadinessChecker/PhpSapi.php @@ -37,6 +37,7 @@ class PhpSapi implements ReadinessCheckerInterface { if ($php_sapi !== PHP_SAPI) { $messages[] = $this->t('PHP changed from running as "@previous" to "@current". This can lead to inconsistent and misleading results.', ['@previous' => $php_sapi, '@current' => PHP_SAPI]); } + $this->state->set('automatic_updates.php_sapi', PHP_SAPI); return $messages; } -- GitLab