diff --git a/tests/system/Commands/GenerateKeyTest.php b/tests/system/Commands/GenerateKeyTest.php index 4ba9e8e0ffba..fbe95abc5564 100644 --- a/tests/system/Commands/GenerateKeyTest.php +++ b/tests/system/Commands/GenerateKeyTest.php @@ -86,8 +86,7 @@ public function testGenerateKeyShowsEncodedKey() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testGenerateKeyCreatesNewKey() { diff --git a/tests/system/CommonFunctionsSendTest.php b/tests/system/CommonFunctionsSendTest.php index 03e675cfbfa5..365049315778 100644 --- a/tests/system/CommonFunctionsSendTest.php +++ b/tests/system/CommonFunctionsSendTest.php @@ -32,8 +32,7 @@ protected function setUp(): void * See https://github.com/codeigniter4/CodeIgniter4/issues/1393 * * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testRedirectResponseCookiesSent() { diff --git a/tests/system/CommonFunctionsTest.php b/tests/system/CommonFunctionsTest.php index ffe229ba424d..1b3f9aaf7e06 100644 --- a/tests/system/CommonFunctionsTest.php +++ b/tests/system/CommonFunctionsTest.php @@ -185,8 +185,7 @@ public function testEscapeBadContextZero() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testSessionInstance() { @@ -197,8 +196,7 @@ public function testSessionInstance() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testSessionVariable() { @@ -211,8 +209,7 @@ public function testSessionVariable() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testSessionVariableNotThere() { @@ -295,8 +292,7 @@ public function testModelExistsAbsoluteClassname() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testOldInput() { @@ -331,8 +327,7 @@ public function testOldInput() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testOldInputSerializeData() { @@ -367,8 +362,7 @@ public function testOldInputSerializeData() * @see https://github.com/codeigniter4/CodeIgniter4/issues/1492 * * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testOldInputArray() { @@ -481,7 +475,6 @@ public function testRedirectResponseCookies1() /** * @runInSeparateProcess - * * @preserveGlobalState disabled */ public function testTrace() @@ -505,8 +498,7 @@ public function testViewNotSaveData() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testForceHttpsNullRequestAndResponse() { @@ -586,8 +578,7 @@ public function testDWithCSP() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testTraceWithCSP() { diff --git a/tests/system/Config/BaseConfigTest.php b/tests/system/Config/BaseConfigTest.php index 0ecc1380b2ac..71ef095f0fcf 100644 --- a/tests/system/Config/BaseConfigTest.php +++ b/tests/system/Config/BaseConfigTest.php @@ -80,8 +80,7 @@ public function testUseDefaultValueTypeStringValue() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testServerValues() { @@ -177,8 +176,7 @@ public function testSetsDefaultValues() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testSetsDefaultValuesEncryptionUsingHex2Bin() { @@ -193,8 +191,7 @@ public function testSetsDefaultValuesEncryptionUsingHex2Bin() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testSetDefaultValuesEncryptionUsingBase64() { diff --git a/tests/system/Config/ConfigTest.php b/tests/system/Config/ConfigTest.php index af996652a92c..52951d7ef87c 100644 --- a/tests/system/Config/ConfigTest.php +++ b/tests/system/Config/ConfigTest.php @@ -55,8 +55,7 @@ public function testCreateNonConfig() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testInjection() { diff --git a/tests/system/Config/DotEnvTest.php b/tests/system/Config/DotEnvTest.php index e56aece895cc..b35ab39b5fb6 100644 --- a/tests/system/Config/DotEnvTest.php +++ b/tests/system/Config/DotEnvTest.php @@ -83,8 +83,7 @@ public function provideLoadVars(): iterable /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testLoadsHex2Bin() { @@ -98,8 +97,7 @@ public function testLoadsHex2Bin() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testLoadsBase64() { diff --git a/tests/system/Config/ServicesTest.php b/tests/system/Config/ServicesTest.php index 8f375d398484..ac515816fc0c 100644 --- a/tests/system/Config/ServicesTest.php +++ b/tests/system/Config/ServicesTest.php @@ -238,8 +238,7 @@ public function testNewViewcell() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testNewSession() { @@ -249,8 +248,7 @@ public function testNewSession() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testNewSessionWithNullConfig() { @@ -260,8 +258,7 @@ public function testNewSessionWithNullConfig() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testCallStatic() { @@ -275,8 +272,7 @@ public function testCallStatic() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testCallStaticDirectly() { @@ -287,8 +283,7 @@ public function testCallStaticDirectly() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testMockInjection() { @@ -310,8 +305,7 @@ public function testMockInjection() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testReset() { @@ -330,8 +324,7 @@ public function testReset() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testResetSingle() { diff --git a/tests/system/Events/EventsTest.php b/tests/system/Events/EventsTest.php index 58a8159f3e1c..b6a8aa1a4cb7 100644 --- a/tests/system/Events/EventsTest.php +++ b/tests/system/Events/EventsTest.php @@ -43,8 +43,7 @@ protected function tearDown(): void /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testInitialize() { diff --git a/tests/system/Filters/HoneypotTest.php b/tests/system/Filters/HoneypotTest.php index c9cff3fa4125..714a35ebaf60 100644 --- a/tests/system/Filters/HoneypotTest.php +++ b/tests/system/Filters/HoneypotTest.php @@ -80,8 +80,7 @@ public function testBeforeClean() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testAfter() { @@ -103,8 +102,7 @@ public function testAfter() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testAfterNotApplicable() { diff --git a/tests/system/HTTP/ContentSecurityPolicyTest.php b/tests/system/HTTP/ContentSecurityPolicyTest.php index 19d720d9f49b..b7294a55dccb 100644 --- a/tests/system/HTTP/ContentSecurityPolicyTest.php +++ b/tests/system/HTTP/ContentSecurityPolicyTest.php @@ -61,8 +61,7 @@ protected function work(string $parm = 'Hello') /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testExistence() { @@ -74,8 +73,7 @@ public function testExistence() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testReportOnly() { @@ -88,8 +86,7 @@ public function testReportOnly() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testDefaults() { @@ -108,8 +105,7 @@ public function testDefaults() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testChildSrc() { @@ -126,8 +122,7 @@ public function testChildSrc() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testConnectSrc() { @@ -143,8 +138,7 @@ public function testConnectSrc() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testFontSrc() { @@ -162,8 +156,7 @@ public function testFontSrc() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testFormAction() { @@ -181,8 +174,7 @@ public function testFormAction() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testFrameAncestor() { @@ -199,8 +191,7 @@ public function testFrameAncestor() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testFrameSrc() { @@ -217,8 +208,7 @@ public function testFrameSrc() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testImageSrc() { @@ -235,8 +225,7 @@ public function testImageSrc() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testMediaSrc() { @@ -253,8 +242,7 @@ public function testMediaSrc() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testManifestSrc() { @@ -271,8 +259,7 @@ public function testManifestSrc() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testPluginType() { @@ -289,8 +276,7 @@ public function testPluginType() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testPluginArray() { @@ -305,8 +291,7 @@ public function testPluginArray() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testObjectSrc() { @@ -323,8 +308,7 @@ public function testObjectSrc() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testScriptSrc() { @@ -341,8 +325,7 @@ public function testScriptSrc() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testStyleSrc() { @@ -359,8 +342,7 @@ public function testStyleSrc() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testBaseURIDefault() { @@ -373,8 +355,7 @@ public function testBaseURIDefault() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testBaseURI() { @@ -388,8 +369,7 @@ public function testBaseURI() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testBaseURIRich() { @@ -403,8 +383,7 @@ public function testBaseURIRich() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testDefaultSrc() { @@ -420,8 +399,7 @@ public function testDefaultSrc() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testReportURI() { @@ -436,8 +414,7 @@ public function testReportURI() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testSandboxFlags() { @@ -453,8 +430,7 @@ public function testSandboxFlags() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testUpgradeInsecureRequests() { @@ -468,8 +444,7 @@ public function testUpgradeInsecureRequests() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testBodyEmpty() { @@ -482,8 +457,7 @@ public function testBodyEmpty() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testBodyScriptNonce() { @@ -560,8 +534,7 @@ public function testBodyStyleNonceDisableAutoNonce() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testBodyStyleNonce() { @@ -600,8 +573,7 @@ public function testBodyStyleNonceCustomStyleTag() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testHeaderWrongCaseNotFound() { @@ -614,8 +586,7 @@ public function testHeaderWrongCaseNotFound() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testHeaderIgnoreCase() { @@ -628,8 +599,7 @@ public function testHeaderIgnoreCase() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testCSPDisabled() { @@ -660,8 +630,7 @@ public function testGetStyleNonce() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testHeaderScriptNonceEmittedOnceGetScriptNonceCalled() { diff --git a/tests/system/HTTP/DownloadResponseTest.php b/tests/system/HTTP/DownloadResponseTest.php index 538575ab4d9d..fe320705b290 100644 --- a/tests/system/HTTP/DownloadResponseTest.php +++ b/tests/system/HTTP/DownloadResponseTest.php @@ -300,8 +300,7 @@ public function testPretendOutput() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testRealOutput() { diff --git a/tests/system/HTTP/IncomingRequestTest.php b/tests/system/HTTP/IncomingRequestTest.php index ebfbafc590c8..ff9e105661ca 100644 --- a/tests/system/HTTP/IncomingRequestTest.php +++ b/tests/system/HTTP/IncomingRequestTest.php @@ -124,8 +124,7 @@ public function testCanGetOldInputArrayWithSESSION() * @see https://github.com/codeigniter4/CodeIgniter4/issues/1492 * * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testCanGetOldInputArrayWithSessionService() { diff --git a/tests/system/HTTP/RedirectResponseTest.php b/tests/system/HTTP/RedirectResponseTest.php index a3736f891a3d..6f91ad6ad93d 100644 --- a/tests/system/HTTP/RedirectResponseTest.php +++ b/tests/system/HTTP/RedirectResponseTest.php @@ -117,8 +117,7 @@ public function testRedirectRelativeConvertsToFullURI() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testWithInput() { @@ -138,8 +137,7 @@ public function testWithInput() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testWithValidationErrors() { @@ -159,8 +157,7 @@ public function testWithValidationErrors() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testWith() { @@ -176,8 +173,7 @@ public function testWith() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testRedirectBack() { @@ -193,8 +189,7 @@ public function testRedirectBack() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testRedirectBackMissing() { @@ -209,8 +204,7 @@ public function testRedirectBackMissing() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled * * @see https://github.com/codeigniter4/CodeIgniter4/issues/2119 */ @@ -251,8 +245,7 @@ public function testWithCookies() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testWithCookiesWithEmptyCookies() { diff --git a/tests/system/HTTP/ResponseSendTest.php b/tests/system/HTTP/ResponseSendTest.php index b30587d0493e..d482582e2207 100644 --- a/tests/system/HTTP/ResponseSendTest.php +++ b/tests/system/HTTP/ResponseSendTest.php @@ -44,8 +44,7 @@ final class ResponseSendTest extends CIUnitTestCase /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testHeadersMissingDate() { @@ -78,8 +77,7 @@ public function testHeadersMissingDate() * it makes sure that sending gives CSP a chance to do its thing. * * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testHeadersWithCSP() { @@ -115,8 +113,7 @@ public function testHeadersWithCSP() * @see https://github.com/codeigniter4/CodeIgniter4/issues/1393 * * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testRedirectResponseCookies() { diff --git a/tests/system/Helpers/FormHelperTest.php b/tests/system/Helpers/FormHelperTest.php index ffd150aa7424..6984e07df55a 100644 --- a/tests/system/Helpers/FormHelperTest.php +++ b/tests/system/Helpers/FormHelperTest.php @@ -816,8 +816,7 @@ public function testSetCheckboxWithValueZero() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testSetRadioFromSessionOldInput() { @@ -837,8 +836,7 @@ public function testSetRadioFromSessionOldInput() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testSetRadioFromPost() { @@ -851,8 +849,7 @@ public function testSetRadioFromPost() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testSetRadioFromPostWithValueZero() { diff --git a/tests/system/Test/TestCaseEmissionsTest.php b/tests/system/Test/TestCaseEmissionsTest.php index edc3d6b34ef4..981fa66fec5f 100644 --- a/tests/system/Test/TestCaseEmissionsTest.php +++ b/tests/system/Test/TestCaseEmissionsTest.php @@ -42,8 +42,7 @@ final class TestCaseEmissionsTest extends CIUnitTestCase /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testHeadersEmitted() { @@ -71,8 +70,7 @@ public function testHeadersEmitted() /** * @runInSeparateProcess - * - * @preserveGlobalState disabled + * @preserveGlobalState disabled */ public function testHeadersNotEmitted() {