From 4830b92725428fb887f2b042be466130e19e13f4 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Fri, 27 Apr 2012 07:06:28 -0700 Subject: [PATCH] Curly braces on same line for try/catch, as suggested by @stof in https://github.com/Seldaek/monolog/pull/76#r743295 --- tests/Monolog/Handler/RavenHandlerTest.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/Monolog/Handler/RavenHandlerTest.php b/tests/Monolog/Handler/RavenHandlerTest.php index e146a9ce..afad94fd 100644 --- a/tests/Monolog/Handler/RavenHandlerTest.php +++ b/tests/Monolog/Handler/RavenHandlerTest.php @@ -76,12 +76,9 @@ class RavenHandlerTest extends TestCase $ravenClient = $this->getRavenClient(); $handler = $this->getHandler($ravenClient); - try - { + try { $this->methodThatThrowsAnException(); - } - catch (\Exception $e) - { + } catch (\Exception $e) { $record = $this->getRecord(Logger::ERROR, $e->getMessage(), array('exception' => $e)); $handler->handle($record); }