8000 Merge branch '5.4' into 6.4 · symfony/symfony@9cce9a8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9cce9a8

Browse files
Merge branch '5.4' into 6.4
* 5.4: [ErrorHandler] Fix tests [CI] Remove experimental flag on PHP 8.4 job
2 parents 37e436f + 8832a0a commit 9cce9a8

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
mode: low-deps
3434
- php: '8.3'
3535
- php: '8.4'
36-
mode: experimental
36+
#mode: experimental
3737
fail-fast: false
3838

3939
runs-on: ubuntu-20.04

src/Symfony/Component/ErrorHandler/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)
0