also looking at this
Bump orchestra/testbench from 6.20.0 to 6.21.0
#107
2 files
+253
-195
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -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)) { |