From 6f079639d0dd47dfc2b023a7cb0bcb6b69c066eb Mon Sep 17 00:00:00 2001 From: Christian Raue <christian.raue@gmail.com> Date: Wed, 16 Jul 2014 14:11:35 +0200 Subject: [PATCH] fixed Exception use statements --- core/Development.php | 2 +- core/Plugin/Report.php | 2 +- tests/PHPUnit/IntegrationTestCase.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/Development.php b/core/Development.php index 60d3dcd81c..a2dd44c673 100644 --- a/core/Development.php +++ b/core/Development.php @@ -9,7 +9,7 @@ namespace Piwik; -use \Exception; +use Exception; /** * Development related checks and tools. You can enable/disable development using `./console development:enable` and diff --git a/core/Plugin/Report.php b/core/Plugin/Report.php index 1db9b77f07..69f4c17953 100644 --- a/core/Plugin/Report.php +++ b/core/Plugin/Report.php @@ -18,7 +18,7 @@ use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable; use Piwik\Translate; use Piwik\WidgetsList; use Piwik\ViewDataTable\Factory as ViewDataTableFactory; -use \Exception; +use Exception; /** * Defines a new report. This class contains all information a report defines except the corresponding API method which diff --git a/tests/PHPUnit/IntegrationTestCase.php b/tests/PHPUnit/IntegrationTestCase.php index b255b4f189..a7a6b35f1b 100755 --- a/tests/PHPUnit/IntegrationTestCase.php +++ b/tests/PHPUnit/IntegrationTestCase.php @@ -7,6 +7,7 @@ */ namespace Piwik\Tests; +use Exception; use Piwik\API\DocumentationGenerator; use Piwik\API\Proxy; use Piwik\API\Request; -- GitLab