mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 03:32:49 +08:00
Update to newest version of Whoops middleware
This commit is contained in:
parent
d46316e979
commit
17619843b5
|
@ -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": {
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user