Skip to content

Commit f5c620f

Browse files
Merge branch '6.4' into 7.0
* 6.4: [ErrorHandler] Fix tests [CI] Remove experimental flag on PHP 8.4 job
2 parents 49657b6 + e388573 commit f5c620f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Tests/ErrorHandlerTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
*/
3232
class ErrorHandlerTest extends TestCase
3333
{
34+
public function tearDown(): void
35+
{
36+
$r = new \ReflectionProperty(ErrorHandler::class, 'exitCode');
37+
$r->setAccessible(true);
38+
$r->setValue(null, 0);
39+
}
40+
3441
public function testRegister()
3542
{
3643
$handler = ErrorHandler::register();

0 commit comments

Comments
 (0)