chore: bumps phpunit

This commit is contained in:
nuno maduro
2026-03-21 13:14:35 +00:00
parent 5d42e8fe3a
commit a753b41409
2 changed files with 4 additions and 3 deletions

View File

@ -26,6 +26,7 @@ final class ExceptionTrace
return $closure();
} catch (Throwable $throwable) {
if (Str::startsWith($message = $throwable->getMessage(), self::UNDEFINED_METHOD)) {
// @phpstan-ignore-next-line
$class = preg_match('/^Call to undefined method ([^:]+)::/', $message, $matches) === false ? null : $matches[1];
$message = str_replace(self::UNDEFINED_METHOD, 'Call to undefined method ', $message);