Sorry for the delay in responding,
The file name to reproduce this error is Phake/Matchers/Factory.php in
line 77, see below:
elseif (interface_exists('Hamcrest_Matcher')
&& $argument instanceof Hamcrest_Matcher)
{
return new Phake_Matchers_HamcrestMatcherAdapter($argument);
}
I managed to solve installing with pear the hamcrest and how I am
using the Yii framework, put in the bootstrap file require_once of
hamcrast / Hamcrast.php.
Could you install the dependency with the Hamcrast Phake, avoiding
problems?
Thanks Mike!
On 28 mar, 16:56, Mike Lively <
mjlivel...@gmail.com> wrote:
> It sounds like you may be attempting to use the ham crest matchers without
> including hamcrest.php first.
>
> Do you have code to reproduce and maybe a file name and line number that
> this error occurs on?
>
> You can get more info on hamcrest (an optional dependency)
> fromhttps://
github.com/cordoval/hamcrest-php