From d2d8c34740c88d78d5724db0d6e6d091b44d5f5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Kucha=C5=99?= <honza.kuchar@grifart.cz>
Date: Tue, 16 Apr 2019 08:58:06 +0200
Subject: [PATCH] removed unnecessary \Symfony\...\RuntimeException

---
 tests/simple.phpt                  |  3 +--
 tests/simple_exception-message.txt | 14 +++++++-------
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/tests/simple.phpt b/tests/simple.phpt
index 2573cc2..baa9075 100644
--- a/tests/simple.phpt
+++ b/tests/simple.phpt
@@ -4,7 +4,6 @@ namespace Grifart\SuppressedExceptions\__tests;
 
 use Grifart\SuppressedExceptions\SuppressedExceptions;
 use Grifart\SuppressedExceptions\WithSuppressedExceptions;
-use Symfony\Component\Console\Exception\RuntimeException;
 use Tester\Assert;
 
 require __DIR__ . '/bootstrap.php';
@@ -15,7 +14,7 @@ class TestingSuppressedExceptionsException extends \RuntimeException implements
 
 }
 
-$previous = new TestingSuppressedExceptionsException('previous', -1, new RuntimeException());
+$previous = new TestingSuppressedExceptionsException('previous', -1, new \RuntimeException());
 $exception = new TestingSuppressedExceptionsException('message', 42, $previous);
 
 $exception->addSuppressed($suppressed1 = new \RuntimeException());
diff --git a/tests/simple_exception-message.txt b/tests/simple_exception-message.txt
index e82674a..7512541 100644
--- a/tests/simple_exception-message.txt
+++ b/tests/simple_exception-message.txt
@@ -1,9 +1,9 @@
 message
 Suppressed exceptions:
-- simple.phpt:21 - RuntimeException
-- simple.phpt:22 - This is message (LogicException)
-- simple.phpt:23 - Error
-- simple.phpt:24 - With previous (Exception)
-    previous: simple.phpt:18 - previous (Grifart\SuppressedExceptions\__tests\TestingSuppressedExceptionsException)
-    previous: simple.phpt:18 - Symfony\Component\Console\Exception\RuntimeException
-- simple.phpt:25 - Grifart\SuppressedExceptions\__tests\TestingSuppressedExceptionsException
+- simple.phpt:20 - RuntimeException
+- simple.phpt:21 - This is message (LogicException)
+- simple.phpt:22 - Error
+- simple.phpt:23 - With previous (Exception)
+    previous: simple.phpt:17 - previous (Grifart\SuppressedExceptions\__tests\TestingSuppressedExceptionsException)
+    previous: simple.phpt:17 - RuntimeException
+- simple.phpt:24 - Grifart\SuppressedExceptions\__tests\TestingSuppressedExceptionsException
-- 
GitLab