diff --git a/tests/Core/Config/IniSetTest.php b/tests/Core/Config/IniSetTest.php index d9977f6d3a..9a82908bee 100644 --- a/tests/Core/Config/IniSetTest.php +++ b/tests/Core/Config/IniSetTest.php @@ -300,10 +300,10 @@ public static function dataIniValueCannotBeUpdatedAtRuntime() return [ // Using Core directives available PHP cross-version to prevent the tests failing // on an unavailable directive or due to an extension not being available. - 'php.ini only option: disable_classes' => [ - 'option' => 'disable_classes', - 'newValue' => 'DateTime,DOMComment', - 'alternativeValue' => 'DOMComment,DateTime', + 'php.ini only option: expose_php' => [ + 'option' => 'expose_php', + 'newValue' => '0', + 'alternativeValue' => '1', ], 'INI_PERDIR option: short_open_tag (bool)' => [ 'option' => 'short_open_tag', diff --git a/tests/Core/Ruleset/IniSetFailIniOnlyTest.xml b/tests/Core/Ruleset/IniSetFailIniOnlyTest.xml index 73476fdfb3..3b30f200e9 100644 --- a/tests/Core/Ruleset/IniSetFailIniOnlyTest.xml +++ b/tests/Core/Ruleset/IniSetFailIniOnlyTest.xml @@ -2,7 +2,7 @@ Ruleset to test ini values which can not be changed at runtime will be reported as such when set from the ruleset. - + diff --git a/tests/Core/Ruleset/ProcessRulesetIniSetTest.php b/tests/Core/Ruleset/ProcessRulesetIniSetTest.php index 5b1b4cb1fa..db073687b2 100644 --- a/tests/Core/Ruleset/ProcessRulesetIniSetTest.php +++ b/tests/Core/Ruleset/ProcessRulesetIniSetTest.php @@ -116,10 +116,10 @@ public static function dataIniValueCannotBeUpdatedAtRuntime() return [ // Using Core directives available PHP cross-version to prevent the tests failing // on an unavailable directive or due to an extension not being available. - 'php.ini only option: disable_classes' => [ + 'php.ini only option: expose_php' => [ 'standard' => __DIR__.'/IniSetFailIniOnlyTest.xml', - 'option' => 'disable_classes', - 'expected' => 'DateTime,DOMComment', + 'option' => 'expose_php', + 'expected' => '0', ], 'INI_PERDIR option: short_open_tag' => [ 'standard' => __DIR__.'/IniSetFailIniPerDirTest.xml',