Skip to content

Commit f1ba624

Browse files
Merge branch '6.4' into 7.0
* 6.4: Fix CI Bump ext-redis in CI on PHP >= 8.4 Adjust pretty name of closures on PHP 8.4 implement NodeVisitorInterface instead of extending AbstractNodeVisitor sync .github/expected-missing-return-types.diff skip test assertions that are no longer valid with PHP >= 8.2.18/8.3.5
2 parents 46a4cc1 + ba221d0 commit f1ba624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/ErrorHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function testCallErrorExceptionInfo()
161161
$this->assertSame('Undefined variable $foo', $e->getMessage());
162162
$this->assertSame(__FILE__, $e->getFile());
163163
$this->assertSame(0, $e->getCode());
164-
$this->assertSame('Symfony\Component\ErrorHandler\{closure}', $trace[0]['function']);
164+
$this->assertStringMatchesFormat('%A{closure%A}', $trace[0]['function']);
165165
$this->assertSame(ErrorHandler::class, $trace[0]['class']);
166166
$this->assertSame('triggerNotice', $trace[1]['function']);
167167
$this->assertSame(__CLASS__, $trace[1]['class']);

0 commit comments

Comments
 (0)