Skip to content

Commit e8ef20c

Browse files
committed
Apply code style
1 parent 2fb187f commit e8ef20c

File tree

4 files changed

+2
-15
lines changed

4 files changed

+2
-15
lines changed

command.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
WP_CLI::add_command('image-optimize reset', ResetCommand::class);
3131

3232
WP_CLI::add_command('image-optimize find', FindCommand::class);
33-
WP_CLI::add_command('image-optimize wp-admin', WPAdminCommand::class);
34-
WP_CLI::add_command('image-optimize plugins', PluginsCommand::class);
3533
WP_CLI::add_command('image-optimize mu-plugins', MUPluginsCommand::class);
34+
WP_CLI::add_command('image-optimize plugins', PluginsCommand::class);
3635
WP_CLI::add_command('image-optimize themes', ThemesCommand::class);
36+
WP_CLI::add_command('image-optimize wp-admin', WPAdminCommand::class);
3737
WP_CLI::add_command('image-optimize wp-includes', WPIncludesCommand::class);

src/CLI/Commands/WPAdminCommand.php

-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33

44
namespace TypistTech\ImageOptimizeCommand\CLI\Commands;
55

6-
use Symfony\Component\Filesystem\Filesystem;
7-
use Symfony\Component\Finder\Finder;
8-
use TypistTech\ImageOptimizeCommand\CLI\LoggerFactory;
9-
use TypistTech\ImageOptimizeCommand\Operations\Find;
10-
use TypistTech\ImageOptimizeCommand\Operations\Optimize;
11-
use TypistTech\ImageOptimizeCommand\OptimizerChainFactory;
126
use WP_CLI;
137

148
class WPAdminCommand

src/CLI/Commands/WPIncludesCommand.php

-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33

44
namespace TypistTech\ImageOptimizeCommand\CLI\Commands;
55

6-
use Symfony\Component\Filesystem\Filesystem;
7-
use Symfony\Component\Finder\Finder;
8-
use TypistTech\ImageOptimizeCommand\CLI\LoggerFactory;
9-
use TypistTech\ImageOptimizeCommand\Operations\Find;
10-
use TypistTech\ImageOptimizeCommand\Operations\Optimize;
11-
use TypistTech\ImageOptimizeCommand\OptimizerChainFactory;
126
use WP_CLI;
137

148
class WPIncludesCommand

src/CLI/Logger.php

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use TypistTech\ImageOptimizeCommand\LoggerInterface;
88
use WP_CLI;
9-
use function WP_CLI\Utils\report_batch_operation_results;
109

1110
class Logger implements LoggerInterface
1211
{

0 commit comments

Comments
 (0)