diff options
author | sgiehl <stefan@piwik.org> | 2015-12-22 01:11:26 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-12-22 01:11:26 +0300 |
commit | d3431336539276e1a6429e3feb96c45da1dde04c (patch) | |
tree | 64fc7d8398c2e1121a1e3671607b6de210964707 /plugins | |
parent | 462c82d873f8cc72b8eef1b79b4cfa4fbfe714e8 (diff) |
remove unused use statements
Diffstat (limited to 'plugins')
62 files changed, 0 insertions, 75 deletions
diff --git a/plugins/API/Controller.php b/plugins/API/Controller.php index 3f5f96d9de..5a15c6dbe7 100644 --- a/plugins/API/Controller.php +++ b/plugins/API/Controller.php @@ -13,7 +13,6 @@ use Piwik\API\Proxy; use Piwik\API\Request; use Piwik\Common; use Piwik\Config; -use Piwik\Container\StaticContainer; use Piwik\Piwik; use Piwik\Plugin\Report; use Piwik\Url; diff --git a/plugins/API/RowEvolution.php b/plugins/API/RowEvolution.php index 711a48316c..b8afec8e39 100644 --- a/plugins/API/RowEvolution.php +++ b/plugins/API/RowEvolution.php @@ -12,7 +12,6 @@ use Exception; use Piwik\API\DataTableManipulator\LabelFilter; use Piwik\API\DataTablePostProcessor; use Piwik\API\Request; -use Piwik\API\ResponseBuilder; use Piwik\Common; use Piwik\DataTable; use Piwik\DataTable\Filter\CalculateEvolutionFilter; diff --git a/plugins/API/tests/Integration/RssRendererTest.php b/plugins/API/tests/Integration/RssRendererTest.php index daf73d5a8c..555e3f6bcd 100644 --- a/plugins/API/tests/Integration/RssRendererTest.php +++ b/plugins/API/tests/Integration/RssRendererTest.php @@ -8,7 +8,6 @@ namespace Piwik\Plugins\API\tests\Integration; -use Piwik\Access; use Piwik\DataTable; use Piwik\Plugins\API\Renderer\Rss; use Piwik\Tests\Framework\Fixture; diff --git a/plugins/Actions/Actions.php b/plugins/Actions/Actions.php index dfd773bea4..bf47a6b9fa 100644 --- a/plugins/Actions/Actions.php +++ b/plugins/Actions/Actions.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\Actions; use Piwik\ArchiveProcessor; -use Piwik\Common; use Piwik\Db; use Piwik\Site; use Piwik\Plugin\ViewDataTable; diff --git a/plugins/Actions/Metrics.php b/plugins/Actions/Metrics.php index 006fd6043d..d7aa94fc80 100644 --- a/plugins/Actions/Metrics.php +++ b/plugins/Actions/Metrics.php @@ -11,9 +11,7 @@ namespace Piwik\Plugins\Actions; use Piwik\DataTable; use Piwik\Metrics as PiwikMetrics; use Piwik\Piwik; -use Piwik\RankingQuery; use Piwik\Tracker\Action; -use Piwik\Plugins\Actions\Actions\ActionSiteSearch; /** * Class encapsulating logic to process Day/Period Archiving for the Actions reports diff --git a/plugins/Actions/Reports/GetEntryPageUrls.php b/plugins/Actions/Reports/GetEntryPageUrls.php index f3795db099..838bb414d0 100644 --- a/plugins/Actions/Reports/GetEntryPageUrls.php +++ b/plugins/Actions/Reports/GetEntryPageUrls.php @@ -8,10 +8,8 @@ */ namespace Piwik\Plugins\Actions\Reports; -use Piwik\Common; use Piwik\Piwik; use Piwik\Plugin\ViewDataTable; -use Piwik\API\Request; use Piwik\Plugins\Actions\Columns\EntryPageUrl; use Piwik\Plugins\Actions\Columns\Metrics\AveragePageGenerationTime; use Piwik\Plugins\Actions\Columns\Metrics\AverageTimeOnPage; diff --git a/plugins/Actions/Reports/GetExitPageUrls.php b/plugins/Actions/Reports/GetExitPageUrls.php index 2ef5d7a957..092a54adfe 100644 --- a/plugins/Actions/Reports/GetExitPageUrls.php +++ b/plugins/Actions/Reports/GetExitPageUrls.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\Actions\Reports; -use Piwik\Common; use Piwik\Piwik; use Piwik\Plugin\ViewDataTable; use Piwik\API\Request; diff --git a/plugins/Actions/Reports/GetPageTitles.php b/plugins/Actions/Reports/GetPageTitles.php index 8f7e193f9b..1466efce8a 100644 --- a/plugins/Actions/Reports/GetPageTitles.php +++ b/plugins/Actions/Reports/GetPageTitles.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\Actions\Reports; use Piwik\Piwik; use Piwik\Plugin\ViewDataTable; use Piwik\API\Request; -use Piwik\Common; use Piwik\Plugins\Actions\Columns\PageTitle; use Piwik\Plugins\Actions\Columns\Metrics\AveragePageGenerationTime; use Piwik\Plugins\Actions\Columns\Metrics\AverageTimeOnPage; diff --git a/plugins/Annotations/Controller.php b/plugins/Annotations/Controller.php index 2572864a80..86859bd37f 100755 --- a/plugins/Annotations/Controller.php +++ b/plugins/Annotations/Controller.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\Annotations; use Piwik\API\Request; use Piwik\Common; use Piwik\Date; -use Piwik\Piwik; use Piwik\View; /** diff --git a/plugins/BulkTracking/Tracker/Handler.php b/plugins/BulkTracking/Tracker/Handler.php index 9c1d23c961..c68667f062 100644 --- a/plugins/BulkTracking/Tracker/Handler.php +++ b/plugins/BulkTracking/Tracker/Handler.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\BulkTracking\Tracker; -use Piwik\Archiver\Request; use Piwik\AuthResult; use Piwik\Container\StaticContainer; use Piwik\Exception\InvalidRequestParameterException; diff --git a/plugins/BulkTracking/tests/Integration/TrackerTest.php b/plugins/BulkTracking/tests/Integration/TrackerTest.php index a872b0524c..cc51d0a851 100644 --- a/plugins/BulkTracking/tests/Integration/TrackerTest.php +++ b/plugins/BulkTracking/tests/Integration/TrackerTest.php @@ -15,7 +15,6 @@ use Piwik\Plugins\BulkTracking\tests\Framework\TestCase\BulkTrackingTestCase; use Piwik\Plugins\BulkTracking\Tracker\Handler; use Piwik\Tests\Framework\Fixture; use Piwik\Tracker; -use Piwik\Translate; use Piwik\Tests\Framework\Mock\Tracker\RequestSet; class TestIntegrationTracker extends Tracker { diff --git a/plugins/Contents/Columns/ContentTarget.php b/plugins/Contents/Columns/ContentTarget.php index 5f6bd47e54..26c7a0d7a2 100644 --- a/plugins/Contents/Columns/ContentTarget.php +++ b/plugins/Contents/Columns/ContentTarget.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\Contents\Columns; use Piwik\Piwik; use Piwik\Plugin\Dimension\ActionDimension; use Piwik\Plugins\Actions\Segment; -use Piwik\Plugins\Contents\Actions\ActionContent; use Piwik\Tracker\Action; use Piwik\Tracker\Request; diff --git a/plugins/Contents/Reports/Base.php b/plugins/Contents/Reports/Base.php index f07baf973d..b1ea92d075 100644 --- a/plugins/Contents/Reports/Base.php +++ b/plugins/Contents/Reports/Base.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\Contents\Reports; -use Piwik\Columns\Dimension; use Piwik\Common; use Piwik\Piwik; use Piwik\Plugin\Report; diff --git a/plugins/CoreAdminHome/tests/Integration/Commands/DeleteLogsDataTest.php b/plugins/CoreAdminHome/tests/Integration/Commands/DeleteLogsDataTest.php index 7c474d9c8b..6b47e946a5 100644 --- a/plugins/CoreAdminHome/tests/Integration/Commands/DeleteLogsDataTest.php +++ b/plugins/CoreAdminHome/tests/Integration/Commands/DeleteLogsDataTest.php @@ -7,12 +7,10 @@ */ namespace Piwik\Plugins\CoreAdminHome\tests\Integration\Commands; -use Piwik\Common; use Piwik\Container\StaticContainer; use Piwik\DataAccess\RawLogDao; use Piwik\Tests\Fixtures\ManySitesImportedLogs; use Piwik\Tests\Framework\TestCase\ConsoleCommandTestCase; -use Piwik\Tests\Framework\TestCase\IntegrationTestCase; use Symfony\Component\Console\Helper\QuestionHelper; /** diff --git a/plugins/CoreConsole/Commands/GenerateDimension.php b/plugins/CoreConsole/Commands/GenerateDimension.php index 248adc8486..900b6c0533 100644 --- a/plugins/CoreConsole/Commands/GenerateDimension.php +++ b/plugins/CoreConsole/Commands/GenerateDimension.php @@ -12,7 +12,6 @@ namespace Piwik\Plugins\CoreConsole\Commands; use Piwik\Common; use Piwik\DbHelper; use Piwik\Plugin\Report; -use Piwik\Translate; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; diff --git a/plugins/CoreConsole/Commands/GitPull.php b/plugins/CoreConsole/Commands/GitPull.php index e69c13bf10..aefbd18d69 100644 --- a/plugins/CoreConsole/Commands/GitPull.php +++ b/plugins/CoreConsole/Commands/GitPull.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\CoreConsole\Commands; -use Piwik\Development; use Piwik\Plugin\ConsoleCommand; use Piwik\SettingsPiwik; use Symfony\Component\Console\Input\InputInterface; diff --git a/plugins/CoreHome/Columns/Metrics/ActionsPerVisit.php b/plugins/CoreHome/Columns/Metrics/ActionsPerVisit.php index 0ced958086..ef2aaa1514 100644 --- a/plugins/CoreHome/Columns/Metrics/ActionsPerVisit.php +++ b/plugins/CoreHome/Columns/Metrics/ActionsPerVisit.php @@ -10,7 +10,6 @@ namespace Piwik\Plugins\CoreHome\Columns\Metrics; use Piwik\DataTable\Row; use Piwik\Piwik; use Piwik\Plugin\ProcessedMetric; -use Piwik\Translate; /** * The average number of actions per visit. Calculated as: diff --git a/plugins/CoreHome/Columns/UserId.php b/plugins/CoreHome/Columns/UserId.php index a611ca8def..4534dac531 100644 --- a/plugins/CoreHome/Columns/UserId.php +++ b/plugins/CoreHome/Columns/UserId.php @@ -12,7 +12,6 @@ use Piwik\Cache; use Piwik\DataTable; use Piwik\DataTable\Map; use Piwik\Metrics; -use Piwik\Period\Range; use Piwik\Piwik; use Piwik\Plugin\Dimension\VisitDimension; use Piwik\Plugin\Segment; diff --git a/plugins/CoreHome/Columns/VisitTotalTime.php b/plugins/CoreHome/Columns/VisitTotalTime.php index 22afceb6a5..54b8a7ab43 100644 --- a/plugins/CoreHome/Columns/VisitTotalTime.php +++ b/plugins/CoreHome/Columns/VisitTotalTime.php @@ -12,7 +12,6 @@ use Piwik\Config; use Piwik\Plugin\Dimension\VisitDimension; use Piwik\Plugins\CoreHome\Segment; use Piwik\Tracker\Action; -use Piwik\Tracker\GoalManager; use Piwik\Tracker\Request; use Piwik\Tracker\Visitor; diff --git a/plugins/CoreHome/tests/Integration/Column/UserIdTest.php b/plugins/CoreHome/tests/Integration/Column/UserIdTest.php index 70715a4dc2..738a9f13f7 100644 --- a/plugins/CoreHome/tests/Integration/Column/UserIdTest.php +++ b/plugins/CoreHome/tests/Integration/Column/UserIdTest.php @@ -8,12 +8,10 @@ namespace Piwik\Plugins\CoreHome\tests\Integration\Column; -use Piwik\Access; use Piwik\Cache; use Piwik\DataAccess\ArchiveTableCreator; use Piwik\Db; use Piwik\Metrics; -use Piwik\Plugin\Manager; use Piwik\Plugins\CoreHome\Columns\UserId; use Piwik\Tests\Framework\Fixture; use Piwik\Tests\Framework\Mock\FakeAccess; diff --git a/plugins/CoreHome/tests/Integration/CoreHomeTest.php b/plugins/CoreHome/tests/Integration/CoreHomeTest.php index b04c98df64..c93e6d129b 100644 --- a/plugins/CoreHome/tests/Integration/CoreHomeTest.php +++ b/plugins/CoreHome/tests/Integration/CoreHomeTest.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\CoreHome\tests\Integration; use Piwik\Piwik; -use Piwik\Plugins\CoreHome\CoreHome; use Piwik\Tests\Framework\TestCase\IntegrationTestCase; /** diff --git a/plugins/CoreHome/tests/Unit/CoreHomeTest.php b/plugins/CoreHome/tests/Unit/CoreHomeTest.php index e40f7bf5d3..2936cd860d 100644 --- a/plugins/CoreHome/tests/Unit/CoreHomeTest.php +++ b/plugins/CoreHome/tests/Unit/CoreHomeTest.php @@ -8,7 +8,6 @@ namespace Piwik\Plugins\CoreHome\tests\Unit; -use Piwik\Piwik; use Piwik\Plugins\CoreHome\CoreHome; /** diff --git a/plugins/CorePluginsAdmin/Marketplace.php b/plugins/CorePluginsAdmin/Marketplace.php index b46d1932e4..5fcd51641d 100644 --- a/plugins/CorePluginsAdmin/Marketplace.php +++ b/plugins/CorePluginsAdmin/Marketplace.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\CorePluginsAdmin; use Piwik\Date; -use Piwik\Piwik; use Piwik\Plugin\Dependency as PluginDependency; /** diff --git a/plugins/CoreUpdater/CoreUpdater.php b/plugins/CoreUpdater/CoreUpdater.php index 737017d048..77298402fe 100644 --- a/plugins/CoreUpdater/CoreUpdater.php +++ b/plugins/CoreUpdater/CoreUpdater.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\CoreUpdater; use Exception; -use Piwik\Access; use Piwik\API\ResponseBuilder; use Piwik\Common; use Piwik\Filesystem; @@ -17,7 +16,6 @@ use Piwik\FrontController; use Piwik\Piwik; use Piwik\UpdateCheck; use Piwik\Updater as PiwikCoreUpdater; -use Piwik\UpdaterErrorException; use Piwik\Version; /** diff --git a/plugins/DevicesDetection/DevicesDetection.php b/plugins/DevicesDetection/DevicesDetection.php index 2fd7b59fd2..ffebe3b37c 100644 --- a/plugins/DevicesDetection/DevicesDetection.php +++ b/plugins/DevicesDetection/DevicesDetection.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\DevicesDetection; use Piwik\ArchiveProcessor; use Piwik\Db; -use Piwik\Piwik; require_once PIWIK_INCLUDE_PATH . '/plugins/DevicesDetection/functions.php'; diff --git a/plugins/Ecommerce/Menu.php b/plugins/Ecommerce/Menu.php index 992f50aa3c..069ab48cb8 100644 --- a/plugins/Ecommerce/Menu.php +++ b/plugins/Ecommerce/Menu.php @@ -10,7 +10,6 @@ namespace Piwik\Plugins\Ecommerce; use Piwik\Common; use Piwik\Menu\MenuReporting; -use Piwik\Menu\MenuUser; use Piwik\Piwik; use Piwik\Site; use Piwik\Url; diff --git a/plugins/Ecommerce/Reports/Base.php b/plugins/Ecommerce/Reports/Base.php index 08a766792a..b4ec63c9a5 100644 --- a/plugins/Ecommerce/Reports/Base.php +++ b/plugins/Ecommerce/Reports/Base.php @@ -8,13 +8,10 @@ */ namespace Piwik\Plugins\Ecommerce\Reports; -use Piwik\API\Proxy; use Piwik\Common; use Piwik\Piwik; use Piwik\Plugin\Report; use Piwik\Site; -use Piwik\ViewDataTable\Factory as ViewDataTableFactory; -use Piwik\WidgetsList; abstract class Base extends Report { diff --git a/plugins/Goals/Controller.php b/plugins/Goals/Controller.php index 7a66581c69..4aac0eb736 100644 --- a/plugins/Goals/Controller.php +++ b/plugins/Goals/Controller.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\Goals; -use Exception; use Piwik\API\Request; use Piwik\Common; use Piwik\DataTable; diff --git a/plugins/Goals/Goals.php b/plugins/Goals/Goals.php index d26e2cf77e..223f05a212 100644 --- a/plugins/Goals/Goals.php +++ b/plugins/Goals/Goals.php @@ -9,12 +9,10 @@ namespace Piwik\Plugins\Goals; use Piwik\ArchiveProcessor; -use Piwik\Common; use Piwik\Db; use Piwik\Piwik; use Piwik\Plugin\Report; use Piwik\Tracker\GoalManager; -use Piwik\Translate; /** * diff --git a/plugins/Goals/tests/Integration/APITest.php b/plugins/Goals/tests/Integration/APITest.php index a55498f7f8..913bebf0a6 100644 --- a/plugins/Goals/tests/Integration/APITest.php +++ b/plugins/Goals/tests/Integration/APITest.php @@ -8,7 +8,6 @@ namespace Piwik\Plugins\Goals\tests\Integration; -use Piwik\Access; use Piwik\Piwik; use Piwik\Plugins\Goals\API; use Piwik\Tests\Framework\Fixture; diff --git a/plugins/ImageGraph/StaticGraph.php b/plugins/ImageGraph/StaticGraph.php index e70e4f8fbe..3cd7b738ee 100644 --- a/plugins/ImageGraph/StaticGraph.php +++ b/plugins/ImageGraph/StaticGraph.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\ImageGraph; -use Exception; use pData; use pImage; use Piwik\Container\StaticContainer; diff --git a/plugins/Installation/FormFirstWebsiteSetup.php b/plugins/Installation/FormFirstWebsiteSetup.php index a542d6b534..50c7f0989f 100644 --- a/plugins/Installation/FormFirstWebsiteSetup.php +++ b/plugins/Installation/FormFirstWebsiteSetup.php @@ -12,7 +12,6 @@ namespace Piwik\Plugins\Installation; use HTML_QuickForm2_DataSource_Array; use HTML_QuickForm2_Factory; use HTML_QuickForm2_Rule; -use Piwik\Log; use Piwik\Access; use Piwik\Piwik; use Piwik\Plugins\SitesManager\API; diff --git a/plugins/Installation/Installation.php b/plugins/Installation/Installation.php index 47602c8543..59a0b02e64 100644 --- a/plugins/Installation/Installation.php +++ b/plugins/Installation/Installation.php @@ -9,13 +9,11 @@ namespace Piwik\Plugins\Installation; use Piwik\API\Request; -use Piwik\API\ResponseBuilder; use Piwik\Common; use Piwik\Config; use Piwik\FrontController; use Piwik\Piwik; use Piwik\Plugins\Installation\Exception\DatabaseConnectionFailedException; -use Piwik\Translate; use Piwik\View as PiwikView; /** diff --git a/plugins/LanguagesManager/Commands/TranslationBase.php b/plugins/LanguagesManager/Commands/TranslationBase.php index 0f1b72bef4..880b1b4b61 100644 --- a/plugins/LanguagesManager/Commands/TranslationBase.php +++ b/plugins/LanguagesManager/Commands/TranslationBase.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\LanguagesManager\Commands; use Piwik\Development; use Piwik\Plugin\ConsoleCommand; -use Piwik\Translate; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; diff --git a/plugins/Live/Visitor.php b/plugins/Live/Visitor.php index fa7be4dd63..1525bfa5cf 100644 --- a/plugins/Live/Visitor.php +++ b/plugins/Live/Visitor.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\Live; use Piwik\Common; -use Piwik\DataAccess\LogAggregator; use Piwik\DataTable\Filter\ColumnDelete; use Piwik\Date; use Piwik\Db; diff --git a/plugins/Live/tests/System/APITest.php b/plugins/Live/tests/System/APITest.php index 098e7615c5..dc0c04f7e5 100644 --- a/plugins/Live/tests/System/APITest.php +++ b/plugins/Live/tests/System/APITest.php @@ -12,7 +12,6 @@ use Piwik\Date; use Piwik\Db; use Piwik\Plugins\Goals\API as GoalsApi; use Piwik\Plugins\Live\API; -use Piwik\Access; use Piwik\Tests\Framework\Fixture; use Piwik\Tests\Framework\Mock\FakeAccess; use Piwik\Tests\Framework\TestCase\SystemTestCase; diff --git a/plugins/MultiSites/API.php b/plugins/MultiSites/API.php index 23ae821738..8e2ce0c1a3 100755 --- a/plugins/MultiSites/API.php +++ b/plugins/MultiSites/API.php @@ -19,7 +19,6 @@ use Piwik\Period\Range; use Piwik\Piwik; use Piwik\Plugins\Goals\Archiver; use Piwik\Plugins\SitesManager\API as APISitesManager; -use Piwik\Plugins\SitesManager\Model as ModelSitesManager; use Piwik\Scheduler\Scheduler; use Piwik\SettingsPiwik; use Piwik\Site; diff --git a/plugins/MultiSites/Controller.php b/plugins/MultiSites/Controller.php index a59e8a4cdb..ce5f599f13 100644 --- a/plugins/MultiSites/Controller.php +++ b/plugins/MultiSites/Controller.php @@ -8,15 +8,12 @@ */ namespace Piwik\Plugins\MultiSites; -use Piwik\API\Request; -use Piwik\API\ResponseBuilder; use Piwik\Common; use Piwik\Config; use Piwik\Date; use Piwik\Period; use Piwik\DataTable; use Piwik\DataTable\Row; -use Piwik\DataTable\Row\DataTableSummaryRow; use Piwik\Piwik; use Piwik\Translation\Translator; use Piwik\View; diff --git a/plugins/Referrers/Social.php b/plugins/Referrers/Social.php index 71badc3357..93766cddf1 100644 --- a/plugins/Referrers/Social.php +++ b/plugins/Referrers/Social.php @@ -8,11 +8,9 @@ */ namespace Piwik\Plugins\Referrers; use Piwik\Cache; -use Piwik\Common; use Piwik\Option; use Piwik\Piwik; use Piwik\Singleton; -use Piwik\UrlHelper; /** * Contains methods to access search engine definition data. diff --git a/plugins/Referrers/tests/Integration/Columns/ReferrerNameTest.php b/plugins/Referrers/tests/Integration/Columns/ReferrerNameTest.php index 6c0bcfb1e0..f118e14ba6 100644 --- a/plugins/Referrers/tests/Integration/Columns/ReferrerNameTest.php +++ b/plugins/Referrers/tests/Integration/Columns/ReferrerNameTest.php @@ -8,7 +8,6 @@ namespace Piwik\Plugins\Referrers\tests\Integration\Columns; -use Piwik\Common; use Piwik\Plugins\Referrers\Columns\ReferrerName; use Piwik\Plugins\Referrers\Columns\ReferrerType; use Piwik\Tests\Framework\Fixture; diff --git a/plugins/Referrers/tests/Unit/ReferrersTest.php b/plugins/Referrers/tests/Unit/ReferrersTest.php index e5dea866e9..a3ca59d2a3 100644 --- a/plugins/Referrers/tests/Unit/ReferrersTest.php +++ b/plugins/Referrers/tests/Unit/ReferrersTest.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\Referrers\tests; use Piwik\DataTable; use Piwik\DataTable\Row; use Piwik\Period; -use Piwik\Plugins\Referrers\SearchEngine; require_once PIWIK_INCLUDE_PATH . '/plugins/Referrers/Referrers.php'; diff --git a/plugins/ScheduledReports/API.php b/plugins/ScheduledReports/API.php index d5a985e65b..aeef2f2ffb 100644 --- a/plugins/ScheduledReports/API.php +++ b/plugins/ScheduledReports/API.php @@ -27,7 +27,6 @@ use Piwik\Tracker; use Piwik\Translate; use Piwik\Translation\Translator; use Piwik\Url; -use Piwik\UrlHelper; use Psr\Log\LoggerInterface; /** diff --git a/plugins/ScheduledReports/Controller.php b/plugins/ScheduledReports/Controller.php index 2ae16cc410..3192a3cfc4 100644 --- a/plugins/ScheduledReports/Controller.php +++ b/plugins/ScheduledReports/Controller.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\ScheduledReports; -use Piwik\Common; use Piwik\Piwik; use Piwik\Plugins\LanguagesManager\LanguagesManager; use Piwik\Plugins\SegmentEditor\API as APISegmentEditor; diff --git a/plugins/ScheduledReports/Model.php b/plugins/ScheduledReports/Model.php index 01507f65f9..5c7856678a 100644 --- a/plugins/ScheduledReports/Model.php +++ b/plugins/ScheduledReports/Model.php @@ -12,7 +12,6 @@ use Piwik\Common; use Piwik\Db; use Piwik\DbHelper; use Piwik\ReportRenderer; -use Piwik\Translate; class Model { diff --git a/plugins/ScheduledReports/tests/Integration/ApiTest.php b/plugins/ScheduledReports/tests/Integration/ApiTest.php index 2f4b4020fa..e2d242581f 100644 --- a/plugins/ScheduledReports/tests/Integration/ApiTest.php +++ b/plugins/ScheduledReports/tests/Integration/ApiTest.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\ScheduledReports\tests; use Piwik\API\Proxy; use Piwik\DataTable; use Piwik\Date; -use Piwik\Plugins\API\API; use Piwik\Plugins\MobileMessaging\API as APIMobileMessaging; use Piwik\Plugins\MobileMessaging\MobileMessaging; use Piwik\Plugins\ScheduledReports\API as APIScheduledReports; diff --git a/plugins/SegmentEditor/API.php b/plugins/SegmentEditor/API.php index e69a86bb98..358f0d2b3e 100644 --- a/plugins/SegmentEditor/API.php +++ b/plugins/SegmentEditor/API.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\SegmentEditor; use Exception; -use Piwik\Cache\Transient as TransientCache; use Piwik\Common; use Piwik\Date; use Piwik\Db; diff --git a/plugins/SegmentEditor/SegmentEditor.php b/plugins/SegmentEditor/SegmentEditor.php index a46be068bc..0d7c84ed7a 100644 --- a/plugins/SegmentEditor/SegmentEditor.php +++ b/plugins/SegmentEditor/SegmentEditor.php @@ -10,8 +10,6 @@ namespace Piwik\Plugins\SegmentEditor; use Piwik\Config; use Piwik\Db; -use Piwik\DbHelper; -use Piwik\Version; /** */ diff --git a/plugins/SegmentEditor/tests/Integration/SegmentFormatterTest.php b/plugins/SegmentEditor/tests/Integration/SegmentFormatterTest.php index ca37e0775b..206a2e0c74 100644 --- a/plugins/SegmentEditor/tests/Integration/SegmentFormatterTest.php +++ b/plugins/SegmentEditor/tests/Integration/SegmentFormatterTest.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\SegmentEditor\tests\Integration; use Piwik\Plugins\SegmentEditor\SegmentFormatter; use Piwik\Plugins\SegmentEditor\SegmentList; use Piwik\Tests\Framework\Fixture; -use Piwik\Tests\Framework\Mock\FakeAccess; use Piwik\Tests\Framework\TestCase\IntegrationTestCase; use Piwik\Translate; use Exception; diff --git a/plugins/SitesManager/Controller.php b/plugins/SitesManager/Controller.php index 1c09254a33..fc7b7eb6e8 100644 --- a/plugins/SitesManager/Controller.php +++ b/plugins/SitesManager/Controller.php @@ -13,7 +13,6 @@ use Piwik\API\ResponseBuilder; use Piwik\Common; use Piwik\Exception\UnexpectedWebsiteFoundException; use Piwik\Piwik; -use Piwik\Measurable\MeasurableSetting; use Piwik\Measurable\MeasurableSettings; use Piwik\SettingsPiwik; use Piwik\Site; diff --git a/plugins/SitesManager/tests/Integration/SitesManagerTest.php b/plugins/SitesManager/tests/Integration/SitesManagerTest.php index 15345fc231..5676372776 100644 --- a/plugins/SitesManager/tests/Integration/SitesManagerTest.php +++ b/plugins/SitesManager/tests/Integration/SitesManagerTest.php @@ -8,7 +8,6 @@ namespace Piwik\Plugins\SitesManager\tests\Integration; -use Piwik\Access; use Piwik\Cache; use Piwik\Archive\ArchiveInvalidator; use Piwik\Container\StaticContainer; diff --git a/plugins/Transitions/API.php b/plugins/Transitions/API.php index 68c4461623..1ab38f89ae 100644 --- a/plugins/Transitions/API.php +++ b/plugins/Transitions/API.php @@ -15,7 +15,6 @@ use Piwik\Common; use Piwik\DataAccess\LogAggregator; use Piwik\DataArray; use Piwik\DataTable; -use Piwik\DataTable\Manager; use Piwik\DataTable\Row; use Piwik\Metrics; use Piwik\Period; diff --git a/plugins/UserCountry/Columns/Latitude.php b/plugins/UserCountry/Columns/Latitude.php index 0e27285f9d..d768af53f9 100644 --- a/plugins/UserCountry/Columns/Latitude.php +++ b/plugins/UserCountry/Columns/Latitude.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\UserCountry\Columns; -use Piwik\Common; use Piwik\Piwik; use Piwik\Plugins\UserCountry\LocationProvider; use Piwik\Plugins\UserCountry\Segment; diff --git a/plugins/UserCountry/Columns/Longitude.php b/plugins/UserCountry/Columns/Longitude.php index 4a93f83223..e937193dd6 100644 --- a/plugins/UserCountry/Columns/Longitude.php +++ b/plugins/UserCountry/Columns/Longitude.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\UserCountry\Columns; -use Piwik\Common; use Piwik\Piwik; use Piwik\Plugins\UserCountry\LocationProvider; use Piwik\Plugins\UserCountry\Segment; diff --git a/plugins/UserCountry/UserCountry.php b/plugins/UserCountry/UserCountry.php index d0ea7fab1b..fd616321ff 100644 --- a/plugins/UserCountry/UserCountry.php +++ b/plugins/UserCountry/UserCountry.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\UserCountry; use Piwik\ArchiveProcessor; -use Piwik\Common; use Piwik\Config; use Piwik\Container\StaticContainer; use Piwik\Intl\Data\Provider\RegionDataProvider; diff --git a/plugins/UserCountry/functions.php b/plugins/UserCountry/functions.php index 830f026eda..33a95600bb 100644 --- a/plugins/UserCountry/functions.php +++ b/plugins/UserCountry/functions.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\UserCountry; -use Piwik\Container\StaticContainer; use Piwik\DataTable; use Piwik\Piwik; use Piwik\Plugins\UserCountry\LocationProvider\GeoIp; diff --git a/plugins/UserCountryMap/UserCountryMap.php b/plugins/UserCountryMap/UserCountryMap.php index c7819f7f8c..bf49c36a63 100644 --- a/plugins/UserCountryMap/UserCountryMap.php +++ b/plugins/UserCountryMap/UserCountryMap.php @@ -10,7 +10,6 @@ namespace Piwik\Plugins\UserCountryMap; use Piwik\FrontController; use Piwik\Piwik; -use Piwik\Version; use Piwik\WidgetsList; use Piwik\Plugin\Manager as PluginManager; diff --git a/plugins/UserLanguage/Reports/Base.php b/plugins/UserLanguage/Reports/Base.php index 366521b16a..b6bcc40222 100644 --- a/plugins/UserLanguage/Reports/Base.php +++ b/plugins/UserLanguage/Reports/Base.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\UserLanguage\Reports; -use Piwik\Plugin\ViewDataTable; use Piwik\Plugins\CoreVisualizations\Visualizations\Graph; abstract class Base extends \Piwik\Plugin\Report diff --git a/plugins/UsersManager/Controller.php b/plugins/UsersManager/Controller.php index 9e1d9a04f9..16ae4c04e7 100644 --- a/plugins/UsersManager/Controller.php +++ b/plugins/UsersManager/Controller.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\UsersManager; use Exception; -use Piwik\Access; use Piwik\API\Request; use Piwik\API\ResponseBuilder; use Piwik\Common; diff --git a/plugins/UsersManager/tests/Integration/UserPreferencesTest.php b/plugins/UsersManager/tests/Integration/UserPreferencesTest.php index cf77f01411..acc2ffdb8b 100644 --- a/plugins/UsersManager/tests/Integration/UserPreferencesTest.php +++ b/plugins/UsersManager/tests/Integration/UserPreferencesTest.php @@ -12,7 +12,6 @@ use Piwik\Config; use Piwik\Piwik; use Piwik\Plugins\UsersManager\UserPreferences; use Piwik\Plugins\UsersManager\API as APIUsersManager; -use Piwik\Access; use Piwik\Tests\Framework\Fixture; use Piwik\Tests\Framework\Mock\FakeAccess; use Piwik\Tests\Framework\TestCase\IntegrationTestCase; diff --git a/plugins/VisitTime/API.php b/plugins/VisitTime/API.php index e1f90db70e..f706860b4e 100644 --- a/plugins/VisitTime/API.php +++ b/plugins/VisitTime/API.php @@ -14,7 +14,6 @@ use Piwik\DataTable; use Piwik\Date; use Piwik\Metrics; use Piwik\Period; -use Piwik\Period\Range; use Piwik\Piwik; use Piwik\Site; diff --git a/plugins/VisitsSummary/Controller.php b/plugins/VisitsSummary/Controller.php index 336ee26937..bc28ca0dde 100644 --- a/plugins/VisitsSummary/Controller.php +++ b/plugins/VisitsSummary/Controller.php @@ -13,7 +13,6 @@ use Piwik\Common; use Piwik\DataTable; use Piwik\DataTable\Row; use Piwik\Piwik; -use Piwik\Plugins\Actions\API as APIActions; use Piwik\Site; use Piwik\Translation\Translator; use Piwik\View; diff --git a/plugins/VisitsSummary/Reports/Get.php b/plugins/VisitsSummary/Reports/Get.php index 55696873be..665ae17009 100644 --- a/plugins/VisitsSummary/Reports/Get.php +++ b/plugins/VisitsSummary/Reports/Get.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\VisitsSummary\Reports; -use Piwik\DataTable\DataTableInterface; use Piwik\Piwik; use Piwik\Plugins\CoreHome\Columns\Metrics\ActionsPerVisit; use Piwik\Plugins\CoreHome\Columns\Metrics\AverageTimeOnSite; |