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
* 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
Copy file name to clipboardExpand all lines: Tests/LazyStringTest.php
+1-1Lines changed: 1 addition & 1 deletion
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