diff options
author | Christian Raue <christian.raue@gmail.com> | 2014-07-16 16:11:35 +0400 |
---|---|---|
committer | Christian Raue <christian.raue@gmail.com> | 2014-07-19 12:31:13 +0400 |
commit | 6f079639d0dd47dfc2b023a7cb0bcb6b69c066eb (patch) | |
tree | 40016b5ec374340029919e02b3939aa571e5e29a | |
parent | 7381c119a60438a14763284f967b3b112e86d214 (diff) |
fixed Exception use statements
-rw-r--r-- | core/Development.php | 2 | ||||
-rw-r--r-- | core/Plugin/Report.php | 2 | ||||
-rwxr-xr-x | 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; |