@@ -272,8 +272,8 @@ public function testEscapeRecursiveArrayRaw(): void
272272 $ this ->assertSame ($ data , esc ($ data , 'raw ' ));
273273 }
274274
275- #[RunInSeparateProcess]
276275 #[PreserveGlobalState(false )]
276+ #[RunInSeparateProcess]
277277 public function testSessionInstance (): void
278278 {
279279 // Workaround for errors on PHPUnit 10 and PHP 8.3.
@@ -285,8 +285,8 @@ public function testSessionInstance(): void
285285 $ this ->assertInstanceOf (Session::class, session ());
286286 }
287287
288- #[RunInSeparateProcess]
289288 #[PreserveGlobalState(false )]
289+ #[RunInSeparateProcess]
290290 public function testSessionVariable (): void
291291 {
292292 // Workaround for errors on PHPUnit 10 and PHP 8.3.
@@ -300,8 +300,8 @@ public function testSessionVariable(): void
300300 $ this ->assertSame ('Hi there ' , session ('notbogus ' ));
301301 }
302302
303- #[RunInSeparateProcess]
304303 #[PreserveGlobalState(false )]
304+ #[RunInSeparateProcess]
305305 public function testSessionVariableNotThere (): void
306306 {
307307 // Workaround for errors on PHPUnit 10 and PHP 8.3.
@@ -426,8 +426,8 @@ public function testModelExistsAbsoluteClassname(): void
426426 $ this ->assertInstanceOf (JobModel::class, model (JobModel::class));
427427 }
428428
429- #[RunInSeparateProcess]
430429 #[PreserveGlobalState(false )]
430+ #[RunInSeparateProcess]
431431 public function testOldInput (): void
432432 {
433433 // Workaround for errors on PHPUnit 10 and PHP 8.3.
@@ -463,8 +463,8 @@ public function testOldInput(): void
463463 $ this ->assertSame ('fritz ' , old ('zibble ' ));
464464 }
465465
466- #[RunInSeparateProcess]
467466 #[PreserveGlobalState(false )]
467+ #[RunInSeparateProcess]
468468 public function testOldInputSerializeData (): void
469469 {
470470 // Workaround for errors on PHPUnit 10 and PHP 8.3.
@@ -501,8 +501,8 @@ public function testOldInputSerializeData(): void
501501 /**
502502 * @see https://github.com/codeigniter4/CodeIgniter4/issues/1492
503503 */
504- #[RunInSeparateProcess]
505504 #[PreserveGlobalState(false )]
505+ #[RunInSeparateProcess]
506506 public function testOldInputArray (): void
507507 {
508508 // Workaround for errors on PHPUnit 10 and PHP 8.3.
@@ -620,8 +620,8 @@ public function testRedirectResponseCookies1(): void
620620 $ this ->assertTrue ($ answer1 ->hasCookie ('login_time ' ));
621621 }
622622
623- #[RunInSeparateProcess]
624623 #[PreserveGlobalState(false )]
624+ #[RunInSeparateProcess]
625625 public function testTrace (): void
626626 {
627627 // Workaround for errors on PHPUnit 10 and PHP 8.3.
@@ -645,8 +645,8 @@ public function testViewNotSaveData(): void
645645 $ this ->assertStringContainsString ('<h1>is_not</h1> ' , view ('\Tests\Support\View\Views\simples ' ));
646646 }
647647
648- #[RunInSeparateProcess]
649648 #[PreserveGlobalState(false )]
649+ #[RunInSeparateProcess]
650650 public function testForceHttpsNullRequestAndResponse (): void
651651 {
652652 // Workaround for errors on PHPUnit 10 and PHP 8.3.
@@ -761,8 +761,8 @@ public function testDWithCSP(): void
761761 Kint::$ cli_detection = $ cliDetection ;
762762 }
763763
764- #[RunInSeparateProcess]
765764 #[PreserveGlobalState(false )]
765+ #[RunInSeparateProcess]
766766 public function testTraceWithCSP (): void
767767 {
768768 // Workaround for errors on PHPUnit 10 and PHP 8.3.
0 commit comments