X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fphpspec%2Fprophecy%2Fsrc%2FProphecy%2FProphet.php;h=a4fe4b0d2d1036302cfa591dfc4a7021186bcd9b;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=ac649234845d3b06c16d78bfb5eff77adde38300;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/vendor/phpspec/prophecy/src/Prophecy/Prophet.php b/vendor/phpspec/prophecy/src/Prophecy/Prophet.php index ac6492348..a4fe4b0d2 100644 --- a/vendor/phpspec/prophecy/src/Prophecy/Prophet.php +++ b/vendor/phpspec/prophecy/src/Prophecy/Prophet.php @@ -52,6 +52,7 @@ class Prophet $doubler = new Doubler; $doubler->registerClassPatch(new ClassPatch\SplFileInfoPatch); $doubler->registerClassPatch(new ClassPatch\TraversablePatch); + $doubler->registerClassPatch(new ClassPatch\ThrowablePatch); $doubler->registerClassPatch(new ClassPatch\DisableConstructorPatch); $doubler->registerClassPatch(new ClassPatch\ProphecySubjectPatch); $doubler->registerClassPatch(new ClassPatch\ReflectionClassNewInstancePatch);