From 72ef50ceeab0cd1d63283998a4dbc95e3cc0a058 Mon Sep 17 00:00:00 2001 From: "Ryan C. Durham" Date: Thu, 21 Jan 2016 10:52:03 -0800 Subject: [PATCH] Add ApplicationHandler class --- composer.json | 2 +- src/ApplictionTestCase.php | 18 ++++++++++ src/Exceptions/ApplicationHandler.php | 50 +++++++++++++++++++++++++++ src/Exceptions/Handler.php | 38 +++----------------- 4 files changed, 74 insertions(+), 34 deletions(-) create mode 100644 src/ApplictionTestCase.php create mode 100644 src/Exceptions/ApplicationHandler.php diff --git a/composer.json b/composer.json index eff253d..acb07bf 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ }, "require": { "php": ">=5.5.0", - "laravel/framework": "~5.2.0", + "laravel/framework": "~5.2.7", "orchestra/database": "~3.2.0", "fzaninotto/faker": "~1.4", "symfony/css-selector": "2.8.*|3.0.*", diff --git a/src/ApplictionTestCase.php b/src/ApplictionTestCase.php new file mode 100644 index 0000000..9cb45ed --- /dev/null +++ b/src/ApplictionTestCase.php @@ -0,0 +1,18 @@ +singleton('Illuminate\Contracts\Debug\ExceptionHandler', 'Orchestra\Testbench\Exceptions\ApplicationHandler'); + } +} diff --git a/src/Exceptions/ApplicationHandler.php b/src/Exceptions/ApplicationHandler.php new file mode 100644 index 0000000..3f7967f --- /dev/null +++ b/src/Exceptions/ApplicationHandler.php @@ -0,0 +1,50 @@ +