Skip to content

Commit

Permalink
Drop file lenght command, as not used (#31)
Browse files Browse the repository at this point in the history
* drop file lenght command, as not used

* fixup! drop file lenght command, as not used
  • Loading branch information
TomasVotruba committed May 30, 2024
1 parent 11d35ea commit 9f61461
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 99 deletions.
61 changes: 0 additions & 61 deletions src/Command/ValidateFileLengthCommand.php

This file was deleted.

4 changes: 1 addition & 3 deletions src/DependencyInjection/ContainerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
use Rector\SwissKnife\Command\NamespaceToPSR4Command;
use Rector\SwissKnife\Command\PrettyJsonCommand;
use Rector\SwissKnife\Command\PrivatizeConstantsCommand;
use Rector\SwissKnife\Command\ValidateFileLengthCommand;
use Rector\SwissKnife\Testing\Command\DetectUnitTestsCommand;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\ArrayInput;
Expand All @@ -33,13 +32,12 @@ public function create(): Container

// console
$container->singleton(Application::class, function (Container $container): Application {
$application = new Application('Easy CI toolkit');
$application = new Application('Rector Swiss Knife');

$commands = [
$container->make(PrettyJsonCommand::class),
$container->make(CheckCommentedCodeCommand::class),
$container->make(CheckConflictsCommand::class),
$container->make(ValidateFileLengthCommand::class),
$container->make(DetectUnitTestsCommand::class),
$container->make(FindMultiClassesCommand::class),
$container->make(NamespaceToPSR4Command::class),
Expand Down
35 changes: 0 additions & 35 deletions src/Resolver/TooLongFilesResolver.php

This file was deleted.

0 comments on commit 9f61461

Please sign in to comment.