also looking at this
Bump pestphp/pest from 1.15.0 to 1.19.0
#109
15 files
+214
-326
| @@ -21,7 +21,7 @@ trait ForwardsCalls | ||
| 21 | 21 | { |
| 22 | 22 | try { |
| 23 | 23 | return $object->{$method}(...$parameters); |
| 24 | } catch (Error | BadMethodCallException $e) { | |
| 24 | } catch (Error|BadMethodCallException $e) { | |
| 25 | 25 | $pattern = '~^Call to undefined method (?P<class>[^:]+)::(?P<method>[^\(]+)\(\)$~'; |
| 26 | 26 | |
| 27 | 27 | if (! preg_match($pattern, $e->getMessage(), $matches)) { |