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/CorePluginsAdmin | |
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/CorePluginsAdmin')
-rw-r--r-- | plugins/CorePluginsAdmin/API.php | 1 | ||||
-rw-r--r-- | plugins/CorePluginsAdmin/Controller.php | 2 | ||||
-rw-r--r-- | plugins/CorePluginsAdmin/Menu.php | 1 | ||||
-rw-r--r-- | plugins/CorePluginsAdmin/tests/Integration/ApiTest.php | 1 |
4 files changed, 0 insertions, 5 deletions
diff --git a/plugins/CorePluginsAdmin/API.php b/plugins/CorePluginsAdmin/API.php index dede5afc0a..203b88b818 100644 --- a/plugins/CorePluginsAdmin/API.php +++ b/plugins/CorePluginsAdmin/API.php @@ -12,7 +12,6 @@ use Piwik\Piwik; use Piwik\Plugin\SettingsProvider; use Exception; use Piwik\Plugins\Login\PasswordVerifier; -use Piwik\Version; use Piwik\Container\StaticContainer; use Piwik\Plugins\CoreAdminHome\Emails\SettingsChangedEmail; use Piwik\Plugins\CoreAdminHome\Emails\SecurityNotificationEmail; diff --git a/plugins/CorePluginsAdmin/Controller.php b/plugins/CorePluginsAdmin/Controller.php index a6b7ae104e..4104e68376 100644 --- a/plugins/CorePluginsAdmin/Controller.php +++ b/plugins/CorePluginsAdmin/Controller.php @@ -13,7 +13,6 @@ use Piwik\Access; use Piwik\API\Request; use Piwik\Common; use Piwik\Container\StaticContainer; -use Piwik\ErrorHandler; use Piwik\Exception\MissingFilePermissionException; use Piwik\Filechecks; use Piwik\Filesystem; @@ -26,7 +25,6 @@ use Piwik\Plugins\Login\PasswordVerifier; use Piwik\Plugins\Marketplace\Marketplace; use Piwik\Plugins\Marketplace\Controller as MarketplaceController; use Piwik\Plugins\Marketplace\Plugins; -use Piwik\Settings\Storage\Backend\PluginSettingsTable; use Piwik\SettingsPiwik; use Piwik\SettingsServer; use Piwik\Translation\Translator; diff --git a/plugins/CorePluginsAdmin/Menu.php b/plugins/CorePluginsAdmin/Menu.php index be90fca29f..cce08378e4 100644 --- a/plugins/CorePluginsAdmin/Menu.php +++ b/plugins/CorePluginsAdmin/Menu.php @@ -12,7 +12,6 @@ use Piwik\Container\StaticContainer; use Piwik\Menu\MenuAdmin; use Piwik\Menu\MenuTop; use Piwik\Piwik; -use Piwik\Plugin; use Piwik\Plugins\CorePluginsAdmin\Model\TagManagerTeaser; use Piwik\Plugins\Marketplace\Marketplace; use Piwik\Plugins\Marketplace\Plugins; diff --git a/plugins/CorePluginsAdmin/tests/Integration/ApiTest.php b/plugins/CorePluginsAdmin/tests/Integration/ApiTest.php index b497f999d4..5298ea94fa 100644 --- a/plugins/CorePluginsAdmin/tests/Integration/ApiTest.php +++ b/plugins/CorePluginsAdmin/tests/Integration/ApiTest.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\CorePluginsAdmin\tests\Integration; use Piwik\Access; use Piwik\Auth; use Piwik\Container\StaticContainer; -use Piwik\Piwik; use Piwik\Plugins\CoreUpdater\SystemSettings; use Piwik\Plugins\UsersManager\API; use Piwik\Tests\Framework\Fixture; |