From 28fadbd19d77196a28cf94f14bedaefb9eb98fcd Mon Sep 17 00:00:00 2001 From: Jens Brandt Date: Thu, 10 May 2018 15:29:32 +0200 Subject: Hotfix php7 syntax error --- src/Exceptions/Handler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Exceptions/Handler.php b/src/Exceptions/Handler.php index ee15717a..301e2b7c 100644 --- a/src/Exceptions/Handler.php +++ b/src/Exceptions/Handler.php @@ -64,7 +64,7 @@ class Handler $handler = $this->handler[$this->environment]; $handler->report($e); $handler->render($this->request, $e); - $this->die(); + $this->stirb(); } /** @@ -73,7 +73,7 @@ class Handler * @codeCoverageIgnore * @param string $message */ - protected function die($message = '') + protected function stirb($message = '') { echo $message; die(); -- cgit v1.2.3-54-g00ecf From cfc2493bb54cb6600c8319d4c6dcdb691e7a832b Mon Sep 17 00:00:00 2001 From: Jens Brandt Date: Mon, 14 May 2018 21:08:15 +0200 Subject: rename hotfix to english --- src/Exceptions/Handler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Exceptions/Handler.php b/src/Exceptions/Handler.php index 301e2b7c..aaba4e77 100644 --- a/src/Exceptions/Handler.php +++ b/src/Exceptions/Handler.php @@ -64,7 +64,7 @@ class Handler $handler = $this->handler[$this->environment]; $handler->report($e); $handler->render($this->request, $e); - $this->stirb(); + $this->terminate_application_immediately(); } /** @@ -73,7 +73,7 @@ class Handler * @codeCoverageIgnore * @param string $message */ - protected function stirb($message = '') + protected function terminate_application_immediately($message = '') { echo $message; die(); -- cgit v1.2.3-54-g00ecf From 4a5ef5f98a42ef68f9d9646aadedb7eb1c18f59e Mon Sep 17 00:00:00 2001 From: Jens Brandt Date: Mon, 14 May 2018 21:21:50 +0200 Subject: rename hotfix to camelCase --- src/Exceptions/Handler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Exceptions/Handler.php b/src/Exceptions/Handler.php index aaba4e77..f737bdd0 100644 --- a/src/Exceptions/Handler.php +++ b/src/Exceptions/Handler.php @@ -64,7 +64,7 @@ class Handler $handler = $this->handler[$this->environment]; $handler->report($e); $handler->render($this->request, $e); - $this->terminate_application_immediately(); + $this->terminateApplicationImmediately(); } /** @@ -73,7 +73,7 @@ class Handler * @codeCoverageIgnore * @param string $message */ - protected function terminate_application_immediately($message = '') + protected function terminateApplicationImmediately($message = '') { echo $message; die(); -- cgit v1.2.3-54-g00ecf