From e66a822d8a3070beae67ee42f851f4532fa3ca6e Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Tue, 8 Mar 2022 14:11:26 +0100 Subject: [PATCH] MDL-73586 phpunit: Simply, remove the setting It's not available since PHP 7.0, so no use at all. --- lib/phpunit/bootstrap.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/phpunit/bootstrap.php b/lib/phpunit/bootstrap.php index f3ca297b132..56b7fb92007 100644 --- a/lib/phpunit/bootstrap.php +++ b/lib/phpunit/bootstrap.php @@ -39,8 +39,6 @@ ini_set('log_errors', '1'); if (ini_get('opcache.enable') and strtolower(ini_get('opcache.enable')) !== 'off') { if (!ini_get('opcache.save_comments') or strtolower(ini_get('opcache.save_comments')) === 'off') { ini_set('opcache.enable', 0); - } else { - ini_set('opcache.load_comments', 1); } }