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/CoreConsole | |
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/CoreConsole')
-rw-r--r-- | plugins/CoreConsole/Commands/ComputeJsAssetSize.php | 2 | ||||
-rw-r--r-- | plugins/CoreConsole/Commands/DevelopmentEnable.php | 1 | ||||
-rw-r--r-- | plugins/CoreConsole/Commands/GenerateDimension.php | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/plugins/CoreConsole/Commands/ComputeJsAssetSize.php b/plugins/CoreConsole/Commands/ComputeJsAssetSize.php index 9118d51abf..0d8e13957b 100644 --- a/plugins/CoreConsole/Commands/ComputeJsAssetSize.php +++ b/plugins/CoreConsole/Commands/ComputeJsAssetSize.php @@ -9,8 +9,6 @@ namespace Piwik\Plugins\CoreConsole\Commands; use Piwik\AssetManager; -use Piwik\Common; -use Piwik\Config; use Piwik\Development; use Piwik\Metrics\Formatter; use Piwik\Piwik; diff --git a/plugins/CoreConsole/Commands/DevelopmentEnable.php b/plugins/CoreConsole/Commands/DevelopmentEnable.php index ec1df4735c..c13376119a 100644 --- a/plugins/CoreConsole/Commands/DevelopmentEnable.php +++ b/plugins/CoreConsole/Commands/DevelopmentEnable.php @@ -14,7 +14,6 @@ use Piwik\Filesystem; use Piwik\SettingsPiwik; use Piwik\Plugin\ConsoleCommand; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; /** diff --git a/plugins/CoreConsole/Commands/GenerateDimension.php b/plugins/CoreConsole/Commands/GenerateDimension.php index 9168e0bccf..f8efe64e4c 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\Manager; -use Piwik\Plugin\Report; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; |