We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c1fed4 commit c3c86ddCopy full SHA for c3c86dd
Tests/ErrorHandlerTest.php
@@ -171,7 +171,7 @@ public function testCallErrorExceptionInfo()
171
}
172
$this->assertSame(__FILE__, $e->getFile());
173
$this->assertSame(0, $e->getCode());
174
- $this->assertSame('Symfony\Component\ErrorHandler\{closure}', $trace[0]['function']);
+ $this->assertStringMatchesFormat('%A{closure%A}', $trace[0]['function']);
175
$this->assertSame(ErrorHandler::class, $trace[0]['class']);
176
$this->assertSame('triggerNotice', $trace[1]['function']);
177
$this->assertSame(__CLASS__, $trace[1]['class']);
0 commit comments