You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 5.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
Copy file name to clipboardExpand all lines: Tests/LazyStringTest.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ public function testReturnTypeError()
39
39
$s = LazyString::fromCallable(fn () => []);
40
40
41
41
$this->expectException(\TypeError::class);
42
-
$this->expectExceptionMessage('Return value of '.__NAMESPACE__.'\{closure}() passed to '.LazyString::class.'::fromCallable() must be of the type string, array returned.');
42
+
$this->expectExceptionMessageMatches('{^Return value of .*\{closure.*\}\(\) passed to '.preg_quote(LazyString::class).'::fromCallable\(\) must be of the type string, array returned\.$}');
0 commit comments