diff --git a/composer.json b/composer.json index 4f4f3041..5b222782 100644 --- a/composer.json +++ b/composer.json @@ -58,7 +58,6 @@ "require-dev": { "devster/ubench": "^2.0", "eaglewu/swoole-ide-helper": "dev-master", - "filp/whoops": "^2.4", "infection/infection": "^0.14.2", "phpstan/phpstan": "^0.11.16", "phpunit/phpcov": "^6.0", diff --git a/config/autoload/errorhandler.local.php.dist b/config/autoload/errorhandler.local.php.dist deleted file mode 100644 index 6dea98cb..00000000 --- a/config/autoload/errorhandler.local.php.dist +++ /dev/null @@ -1,29 +0,0 @@ - [ - 'invokables' => [ - 'Zend\Expressive\Whoops' => Whoops\Run::class, - 'Zend\Expressive\WhoopsPageHandler' => Whoops\Handler\PrettyPageHandler::class, - ], - ], - - 'whoops' => [ - 'json_exceptions' => [ - 'display' => true, - 'show_trace' => true, - 'ajax_only' => true, - ], - ], - - 'error_handler' => [ - 'plugins' => [ - 'factories' => [ - 'text/html' => WhoopsErrorResponseGeneratorFactory::class, - ], - ], - ], -];