Handler adapter for Whoops Handlers

Ha! Thanks for investigating.

I also had to pass true as the second param, even though the docs say this
is the default value. Weird.


On 5 August 2014 14:21, Andrew Lawson <notifications@github.com> wrote:

> In tests/unit/src/Graze/Monolog/Handler/WhoopsHandlerTest.php:
>
> > @@ -0,0 +1,89 @@
> > +<?php
> > +namespace Graze\Monolog\Handler;
> > +
> > +use Mockery as m;
> > +use Monolog\TestCase;
> > +
> > +class WhoopsHandlerTest extends TestCase
> > +{
> > +    public function setUp()
> > +    {
> > +        if (!class_exists('Whoops\Handler\HandlerInterface', false)) {
> > +            //$this->markTestSkipped('filp/whoops not installed');
>
>  No longer returns true for defined interfaces. Use interface_exists().
> — http://php.net/manual/en/function.class-exists.php
>
> Ugh. Can't believe that was it.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/graze/MonologExtensions/pull/4/files#r15811012>.
>



-- 



John Smith

Operations Developer



email      john@graze.com

phone     +44 20 3597 8344


graze