diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-03-10 23:08:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 23:08:31 +0300 |
commit | c11469e4199405628e97650914f0cdbdea94dac7 (patch) | |
tree | af07edd44b6ac95fa3cd6e439d435cf6c55e9ad5 /plugins/Actions | |
parent | 05082abdca8909cf27137773f129cf66f495922b (diff) |
[Codingstyle] Disallow unused use statements (#18520)
* Forbid unused use statements
* Fix some incorrect classnames
* fix tests
* remove unused use statements
Diffstat (limited to 'plugins/Actions')
-rw-r--r-- | plugins/Actions/Archiver.php | 1 | ||||
-rw-r--r-- | plugins/Actions/Columns/DestinationPage.php | 1 | ||||
-rw-r--r-- | plugins/Actions/Columns/ExitPageUrl.php | 1 | ||||
-rw-r--r-- | plugins/Actions/Columns/IdPageview.php | 1 | ||||
-rw-r--r-- | plugins/Actions/Columns/Keyword.php | 1 | ||||
-rw-r--r-- | plugins/Actions/Columns/KeywordwithNoSearchResult.php | 1 | ||||
-rw-r--r-- | plugins/Actions/Columns/PageUrl.php | 1 | ||||
-rw-r--r-- | plugins/Actions/Columns/PageViewPosition.php | 2 | ||||
-rw-r--r-- | plugins/Actions/Columns/SearchDestinationPage.php | 1 | ||||
-rw-r--r-- | plugins/Actions/Columns/SearchNoResultKeyword.php | 1 | ||||
-rw-r--r-- | plugins/Actions/Columns/VisitTotalInteractions.php | 1 | ||||
-rw-r--r-- | plugins/Actions/DataTable/Filter/Actions.php | 1 | ||||
-rw-r--r-- | plugins/Actions/Reports/GetEntryPageUrls.php | 2 | ||||
-rw-r--r-- | plugins/Actions/Reports/GetExitPageUrls.php | 2 | ||||
-rw-r--r-- | plugins/Actions/VisitorDetails.php | 5 |
15 files changed, 0 insertions, 22 deletions
diff --git a/plugins/Actions/Archiver.php b/plugins/Actions/Archiver.php index 9f3e471af2..42e18c62a7 100644 --- a/plugins/Actions/Archiver.php +++ b/plugins/Actions/Archiver.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\Actions; -use Piwik\Config; use Piwik\DataArray; use Piwik\DataTable; use Piwik\Metrics as PiwikMetrics; diff --git a/plugins/Actions/Columns/DestinationPage.php b/plugins/Actions/Columns/DestinationPage.php index 80241fa6da..0409992b0e 100644 --- a/plugins/Actions/Columns/DestinationPage.php +++ b/plugins/Actions/Columns/DestinationPage.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\Actions\Columns; use Piwik\Columns\Dimension; -use Piwik\Piwik; class DestinationPage extends Dimension { diff --git a/plugins/Actions/Columns/ExitPageUrl.php b/plugins/Actions/Columns/ExitPageUrl.php index 92d51f6fc2..007481993b 100644 --- a/plugins/Actions/Columns/ExitPageUrl.php +++ b/plugins/Actions/Columns/ExitPageUrl.php @@ -12,7 +12,6 @@ use Piwik\Columns\DimensionMetricFactory; use Piwik\Columns\Discriminator; use Piwik\Columns\Join; use Piwik\Columns\MetricsList; -use Piwik\Piwik; use Piwik\Plugin\Dimension\VisitDimension; use Piwik\Tracker\Action; use Piwik\Tracker\Request; diff --git a/plugins/Actions/Columns/IdPageview.php b/plugins/Actions/Columns/IdPageview.php index 25bd5911dc..6bb083f232 100644 --- a/plugins/Actions/Columns/IdPageview.php +++ b/plugins/Actions/Columns/IdPageview.php @@ -13,7 +13,6 @@ use Piwik\Columns\MetricsList; use Piwik\Tracker\Action; use Piwik\Tracker\Request; use Piwik\Tracker\Visitor; -use Piwik\Piwik; use Piwik\Plugin\Dimension\ActionDimension; class IdPageview extends ActionDimension diff --git a/plugins/Actions/Columns/Keyword.php b/plugins/Actions/Columns/Keyword.php index 8469f7e731..d67dad92f0 100644 --- a/plugins/Actions/Columns/Keyword.php +++ b/plugins/Actions/Columns/Keyword.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\Actions\Columns; use Piwik\Columns\Dimension; -use Piwik\Piwik; class Keyword extends Dimension { diff --git a/plugins/Actions/Columns/KeywordwithNoSearchResult.php b/plugins/Actions/Columns/KeywordwithNoSearchResult.php index 928c3d831e..e08a58d3fb 100644 --- a/plugins/Actions/Columns/KeywordwithNoSearchResult.php +++ b/plugins/Actions/Columns/KeywordwithNoSearchResult.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\Actions\Columns; use Piwik\Columns\Dimension; -use Piwik\Piwik; class KeywordwithNoSearchResult extends Dimension { diff --git a/plugins/Actions/Columns/PageUrl.php b/plugins/Actions/Columns/PageUrl.php index a79a8cc659..6d8d4a902f 100644 --- a/plugins/Actions/Columns/PageUrl.php +++ b/plugins/Actions/Columns/PageUrl.php @@ -10,7 +10,6 @@ namespace Piwik\Plugins\Actions\Columns; use Piwik\Columns\Discriminator; use Piwik\Columns\Join\ActionNameJoin; -use Piwik\Piwik; use Piwik\Plugin\Dimension\ActionDimension; use Piwik\Tracker\Action; diff --git a/plugins/Actions/Columns/PageViewPosition.php b/plugins/Actions/Columns/PageViewPosition.php index 84d8927964..018d80b1fa 100644 --- a/plugins/Actions/Columns/PageViewPosition.php +++ b/plugins/Actions/Columns/PageViewPosition.php @@ -8,11 +8,9 @@ */ namespace Piwik\Plugins\Actions\Columns; -use Piwik\Plugins\Events\Actions\ActionEvent; use Piwik\Tracker\Action; use Piwik\Tracker\Request; use Piwik\Tracker\Visitor; -use Piwik\Piwik; use Piwik\Plugin\Dimension\ActionDimension; class PageViewPosition extends ActionDimension diff --git a/plugins/Actions/Columns/SearchDestinationPage.php b/plugins/Actions/Columns/SearchDestinationPage.php index b990857424..a940b804ca 100644 --- a/plugins/Actions/Columns/SearchDestinationPage.php +++ b/plugins/Actions/Columns/SearchDestinationPage.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\Actions\Columns; use Piwik\Columns\Dimension; -use Piwik\Piwik; class SearchDestinationPage extends Dimension { diff --git a/plugins/Actions/Columns/SearchNoResultKeyword.php b/plugins/Actions/Columns/SearchNoResultKeyword.php index b202415dda..9888df9755 100644 --- a/plugins/Actions/Columns/SearchNoResultKeyword.php +++ b/plugins/Actions/Columns/SearchNoResultKeyword.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\Actions\Columns; use Piwik\Columns\Dimension; -use Piwik\Piwik; class SearchNoResultKeyword extends Dimension { diff --git a/plugins/Actions/Columns/VisitTotalInteractions.php b/plugins/Actions/Columns/VisitTotalInteractions.php index 4567de58d6..544ce9963b 100644 --- a/plugins/Actions/Columns/VisitTotalInteractions.php +++ b/plugins/Actions/Columns/VisitTotalInteractions.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\Actions\Columns; use Piwik\Plugin\Dimension\VisitDimension; -use Piwik\Plugins\CoreHome\Segment; use Piwik\Tracker\Action; use Piwik\Tracker\Request; use Piwik\Tracker\Visitor; diff --git a/plugins/Actions/DataTable/Filter/Actions.php b/plugins/Actions/DataTable/Filter/Actions.php index 319db3cd77..fe0130b276 100644 --- a/plugins/Actions/DataTable/Filter/Actions.php +++ b/plugins/Actions/DataTable/Filter/Actions.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\Actions\DataTable\Filter; use Piwik\Common; use Piwik\Config; use Piwik\DataTable\BaseFilter; -use Piwik\DataTable\Row; use Piwik\DataTable; use Piwik\Plugins\Actions\ArchivingHelper; use Piwik\Tracker\Action; diff --git a/plugins/Actions/Reports/GetEntryPageUrls.php b/plugins/Actions/Reports/GetEntryPageUrls.php index 8966e76258..bc5d93489a 100644 --- a/plugins/Actions/Reports/GetEntryPageUrls.php +++ b/plugins/Actions/Reports/GetEntryPageUrls.php @@ -16,8 +16,6 @@ use Piwik\Plugins\Actions\Columns\Metrics\AverageTimeOnPage; use Piwik\Plugins\Actions\Columns\Metrics\BounceRate; use Piwik\Plugins\Actions\Columns\Metrics\ExitRate; use Piwik\Plugin\ReportsProvider; -use Piwik\Report\ReportWidgetFactory; -use Piwik\Widget\WidgetsList; class GetEntryPageUrls extends Base { diff --git a/plugins/Actions/Reports/GetExitPageUrls.php b/plugins/Actions/Reports/GetExitPageUrls.php index cd520c7f4e..6638dfe4eb 100644 --- a/plugins/Actions/Reports/GetExitPageUrls.php +++ b/plugins/Actions/Reports/GetExitPageUrls.php @@ -17,8 +17,6 @@ use Piwik\Plugins\Actions\Columns\Metrics\AverageTimeOnPage; use Piwik\Plugins\Actions\Columns\Metrics\BounceRate; use Piwik\Plugins\Actions\Columns\Metrics\ExitRate; use Piwik\Plugin\ReportsProvider; -use Piwik\Report\ReportWidgetFactory; -use Piwik\Widget\WidgetsList; class GetExitPageUrls extends Base { diff --git a/plugins/Actions/VisitorDetails.php b/plugins/Actions/VisitorDetails.php index 36c8c4fa50..0dc4209010 100644 --- a/plugins/Actions/VisitorDetails.php +++ b/plugins/Actions/VisitorDetails.php @@ -8,20 +8,15 @@ */ namespace Piwik\Plugins\Actions; -use Piwik\Cache; use Piwik\Common; -use Piwik\Config; use Piwik\Date; -use Piwik\Db; use Piwik\Metrics\Formatter; use Piwik\Piwik; use Piwik\Plugin; use Piwik\Plugins\Live\VisitorDetailsAbstract; -use Piwik\Plugins\SitesManager\API as APISitesManager; use Piwik\Site; use Piwik\Tracker\Action; use Piwik\Tracker\PageUrl; -use Piwik\View; class VisitorDetails extends VisitorDetailsAbstract { |