Skip to content

Commit

Permalink
#48 add rule to remove unused imports (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
khalyomede authored Sep 19, 2023
1 parent d081740 commit 9ba9357
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
'ordered_imports' => true,
'ordered_traits' => true,
'ordered_class_elements' => true,
"no_unused_imports" => true,
])
->setFinder($finder);
5 changes: 0 additions & 5 deletions src/Commands/Translate.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Illuminate\Console\Command;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Str;
use InvalidArgumentException;
use PhpParser\Node;
use PhpParser\Node\Arg;
Expand All @@ -21,15 +20,11 @@
use PhpParser\NodeVisitorAbstract;
use PhpParser\ParserFactory;
use Stillat\BladeParser\Document\Document;
use Stillat\BladeParser\Nodes\AbstractNode;
use Stillat\BladeParser\Nodes\ArgumentGroupNode;
use Stillat\BladeParser\Nodes\CommentNode;
use Stillat\BladeParser\Nodes\Components\ComponentNode;
use Stillat\BladeParser\Nodes\Components\ParameterNode;
use Stillat\BladeParser\Nodes\Components\ParameterType;
use Stillat\BladeParser\Nodes\DirectiveNode;
use Stillat\BladeParser\Nodes\EchoNode;
use Stillat\BladeParser\Parser\DocumentParser;
use Symfony\Component\Console\Helper\ProgressBar;
use Symfony\Component\Finder\SplFileInfo;

Expand Down

0 comments on commit 9ba9357

Please sign in to comment.