Update to newest version of Whoops middleware

This commit is contained in:
Franz Liedke 2015-10-31 12:56:38 +01:00
parent d46316e979
commit 17619843b5
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@
"symfony/translation": "^2.7", "symfony/translation": "^2.7",
"doctrine/dbal": "^2.5", "doctrine/dbal": "^2.5",
"monolog/monolog": "^1.16.0", "monolog/monolog": "^1.16.0",
"franzl/whoops-middleware": "^0.1.0", "franzl/whoops-middleware": "^0.2.0",
"matthiasmullie/minify": "^1.3" "matthiasmullie/minify": "^1.3"
}, },
"require-dev": { "require-dev": {

View File

@ -14,7 +14,7 @@ use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request; use Psr\Http\Message\ServerRequestInterface as Request;
use Zend\Diactoros\Response\HtmlResponse; use Zend\Diactoros\Response\HtmlResponse;
use Zend\Stratigility\ErrorMiddlewareInterface; use Zend\Stratigility\ErrorMiddlewareInterface;
use Franzl\Middleware\Whoops\Middleware as WhoopsMiddleware; use Franzl\Middleware\Whoops\ErrorMiddleware as WhoopsMiddleware;
class HandleErrors implements ErrorMiddlewareInterface class HandleErrors implements ErrorMiddlewareInterface
{ {