Completed
Push — master ( bd24ce...40ecd0 )
by Yann
02:00
created
Generator/OpenSslTokenGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function __construct($length = self::DEFAULT_LENGTH)
21 21
     {
22 22
         if (!function_exists('openssl_random_pseudo_bytes')) {
23
-            throw new \RuntimeException;//todo
23
+            throw new \RuntimeException; //todo
24 24
         }
25 25
 
26 26
         $this->length = $length;
Please login to merge, or discard this patch.
Command/ArchiveTokenCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $this
25 25
             ->setName('yokai:security-token:archive')
26 26
             ->addOption('purpose', null, InputOption::VALUE_OPTIONAL, 'Filter tokens to archive on purpose.')
27
-            ->addOption('before',  null, InputOption::VALUE_OPTIONAL, 'Filter tokens to archive on created date.')
27
+            ->addOption('before', null, InputOption::VALUE_OPTIONAL, 'Filter tokens to archive on created date.')
28 28
         ;
29 29
     }
30 30
 
Please login to merge, or discard this patch.
Archive/DeleteArchivist.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public function __construct($repository)
22 22
     {
23 23
         if (!$repository instanceof EntityRepository) {
24
-            throw new \RuntimeException();//todo
24
+            throw new \RuntimeException(); //todo
25 25
         }
26 26
         $this->repository = $repository;
27 27
     }
Please login to merge, or discard this patch.
DependencyInjection/Factory/TokenConfigurationFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $id = sprintf('yokai_security_token.configuration.%s', $purpose);
24 24
 
25 25
         if ($container->hasDefinition($id)) {
26
-            throw new \RuntimeException();//todo
26
+            throw new \RuntimeException(); //todo
27 27
         }
28 28
 
29 29
         $definition = new Definition(
Please login to merge, or discard this patch.
Configuration/TokenConfigurationRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function get($purpose)
32 32
     {
33 33
         if (!isset($this->configurations[$purpose])) {
34
-            throw new \RuntimeException;//todo
34
+            throw new \RuntimeException; //todo
35 35
         }
36 36
 
37 37
         return $this->configurations[$purpose];
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -5,12 +5,6 @@
 block discarded – undo
5 5
 use Symfony\Component\Config\Definition\Builder\NodeDefinition;
6 6
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
7 7
 use Symfony\Component\Config\Definition\ConfigurationInterface;
8
-use Yokai\SecurityTokenBundle\Archive\DeleteArchivist;
9
-use Yokai\SecurityTokenBundle\Factory\TokenFactory;
10
-use Yokai\SecurityTokenBundle\InformationGuesser\InformationGuesser;
11
-use Yokai\SecurityTokenBundle\Manager\TokenManager;
12
-use Yokai\SecurityTokenBundle\Manager\UserManager;
13
-use Yokai\SecurityTokenBundle\Repository\TokenRepository;
14 8
 
15 9
 /**
16 10
  * @author Yann Eugoné <[email protected]>
Please login to merge, or discard this patch.
DependencyInjection/YokaiSecurityTokenExtension.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -6,13 +6,7 @@
 block discarded – undo
6 6
 use Symfony\Component\Config\FileLocator;
7 7
 use Symfony\Component\HttpKernel\DependencyInjection\Extension;
8 8
 use Symfony\Component\DependencyInjection\Loader;
9
-use Yokai\SecurityTokenBundle\Archive\ArchivistInterface;
10 9
 use Yokai\SecurityTokenBundle\DependencyInjection\Factory\TokenConfigurationFactory;
11
-use Yokai\SecurityTokenBundle\Factory\TokenFactoryInterface;
12
-use Yokai\SecurityTokenBundle\InformationGuesser\InformationGuesserInterface;
13
-use Yokai\SecurityTokenBundle\Manager\TokenManagerInterface;
14
-use Yokai\SecurityTokenBundle\Manager\UserManagerInterface;
15
-use Yokai\SecurityTokenBundle\Repository\TokenRepositoryInterface;
16 10
 
17 11
 /**
18 12
  * @author Yann Eugoné <[email protected]>
Please login to merge, or discard this patch.