From 9dadc1c821063f37312e7d419ddabdd2eb6d95e7 Mon Sep 17 00:00:00 2001 From: Joshua Sherman Date: Thu, 16 Jan 2014 17:45:42 -0500 Subject: [PATCH] Removed `finally` keyword, bringing back 5.4 --- .travis.yml | 1 + classes/Controller.php | 14 ++++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 92b4a23..fbcec8e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: php php: + - 5.4 - 5.5 - hhvm diff --git a/classes/Controller.php b/classes/Controller.php index edee928..6afd904 100644 --- a/classes/Controller.php +++ b/classes/Controller.php @@ -379,15 +379,13 @@ class Controller extends Object { $output = $e->getMessage(); } - finally - { - echo $output; - // Display the Profiler's report if the stars are aligned - if ($this->config->pickles['profiler']) - { - Profiler::report(); - } + echo $output; + + // Display the Profiler's report if the stars are aligned + if ($this->config->pickles['profiler']) + { + Profiler::report(); } }