Procházet zdrojové kódy

Some fixes for sensiolabs insight

* removed unused uses
* removed some @todo
* updated .gitignore data
Marc před 11 roky
rodič
revize
39e7680b25

+ 0 - 3
.gitignore

@@ -1,9 +1,6 @@
-.idea
-.DS_Store
 build
 phpunit.xml
 Resources/doc/_build/*
-nbproject
 coverage
 composer.lock
 vendor

+ 0 - 7
Command/GearmanCacheClearCommand.php

@@ -9,15 +9,8 @@
 
 namespace Mmoreram\GearmanBundle\Command;
 
-use Symfony\Component\Console\Input\InputOption;
-use Symfony\Component\Console\Input\InputArgument;
 use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Input\InputDefinition;
-use Mmoreram\GearmanBundle\Service\GearmanCache;
 use Symfony\Component\Console\Output\OutputInterface;
-use Mmoreram\GearmanBundle\Service\GearmanSettings;
-use Mmoreram\GearmanBundle\Module\GearmanBaseBundle;
-use Mmoreram\GearmanBundle\Service\GearmanCacheLoader;
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
 
 

+ 0 - 7
Command/GearmanCacheWarmupCommand.php

@@ -9,15 +9,8 @@
 
 namespace Mmoreram\GearmanBundle\Command;
 
-use Symfony\Component\Console\Input\InputOption;
-use Symfony\Component\Console\Input\InputArgument;
 use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Input\InputDefinition;
-use Mmoreram\GearmanBundle\Service\GearmanCache;
 use Symfony\Component\Console\Output\OutputInterface;
-use Mmoreram\GearmanBundle\Service\GearmanSettings;
-use Mmoreram\GearmanBundle\Module\GearmanBaseBundle;
-use Mmoreram\GearmanBundle\Service\GearmanCacheLoader;
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
 
 

+ 0 - 2
Command/GearmanJobDescribeCommand.php

@@ -9,10 +9,8 @@
 
 namespace Mmoreram\GearmanBundle\Command;
 
-use Symfony\Component\Console\Input\InputOption;
 use Symfony\Component\Console\Input\InputArgument;
 use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Input\InputDefinition;
 use Symfony\Component\Console\Output\OutputInterface;
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
 

+ 0 - 1
Command/GearmanJobExecuteCommand.php

@@ -12,7 +12,6 @@ namespace Mmoreram\GearmanBundle\Command;
 use Symfony\Component\Console\Input\InputOption;
 use Symfony\Component\Console\Input\InputArgument;
 use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Input\InputDefinition;
 use Symfony\Component\Console\Output\OutputInterface;
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
 

+ 0 - 2
Command/GearmanWorkerDescribeCommand.php

@@ -9,10 +9,8 @@
 
 namespace Mmoreram\GearmanBundle\Command;
 
-use Symfony\Component\Console\Input\InputOption;
 use Symfony\Component\Console\Input\InputArgument;
 use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Input\InputDefinition;
 use Symfony\Component\Console\Output\OutputInterface;
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
 

+ 0 - 1
Command/GearmanWorkerExecuteCommand.php

@@ -12,7 +12,6 @@ namespace Mmoreram\GearmanBundle\Command;
 use Symfony\Component\Console\Input\InputOption;
 use Symfony\Component\Console\Input\InputArgument;
 use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Input\InputDefinition;
 use Symfony\Component\Console\Output\OutputInterface;
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
 

+ 0 - 3
Command/GearmanWorkerListCommand.php

@@ -9,10 +9,7 @@
 
 namespace Mmoreram\GearmanBundle\Command;
 
-use Symfony\Component\Console\Input\InputOption;
-use Symfony\Component\Console\Input\InputArgument;
 use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Input\InputDefinition;
 use Symfony\Component\Console\Output\OutputInterface;
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
 

+ 0 - 2
Service/GearmanClient.php

@@ -16,8 +16,6 @@ use Mmoreram\GearmanBundle\GearmanMethods;
 
 /**
  * Implementation of GearmanInterface
- * 
- * @todo Find the way of reducing number of class methods
  */
 class GearmanClient extends AbstractGearmanService
 {