Completed
Push — master ( 7dcfff...bed221 )
by Ricardo
04:45
created
src/Bundle/CoreBundle/Command/GitAccessCommand.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace Fabrica\Bundle\CoreBundle\Command;
14 14
 
15
-use Symfony\Component\Console\Input\InputInterface;
16 15
 use Symfony\Component\Console\Input\InputArgument;
16
+use Symfony\Component\Console\Input\InputInterface;
17 17
 use Symfony\Component\Console\Input\InputOption;
18 18
 use Symfony\Component\Console\Output\OutputInterface;
19 19
 
Please login to merge, or discard this patch.
src/Bundle/CoreBundle/Command/GitCommand.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,14 +13,14 @@
 block discarded – undo
13 13
 namespace Fabrica\Bundle\CoreBundle\Command;
14 14
 
15 15
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
16
-use Symfony\Component\Console\Input\InputInterface;
17 16
 use Symfony\Component\Console\Input\InputArgument;
17
+use Symfony\Component\Console\Input\InputInterface;
18 18
 use Symfony\Component\Console\Input\InputOption;
19 19
 use Symfony\Component\Console\Output\OutputInterface;
20 20
 
21
+use Fabrica\Bundle\CoreBundle\Security\CliToken;
21 22
 use Fabrica\Models\Code\Project;
22 23
 use Fabrica\Models\Code\User;
23
-use Fabrica\Bundle\CoreBundle\Security\CliToken;
24 24
 
25 25
 /**
26 26
  * Wrapper for Git command.
Please login to merge, or discard this patch.
src/Bundle/CoreBundle/DataFixtures/ORM/Fixture.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,6 @@
 block discarded – undo
18 18
 use Doctrine\Common\DataFixtures\AbstractFixture;
19 19
 use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
20 20
 
21
-use Fabrica\Bundle\CoreBundle\EventDispatcher\Event\ProjectEvent;
22
-use Fabrica\Bundle\CoreBundle\EventDispatcher\FabricaEvents;
23
-
24 21
 /**
25 22
  * @author Alexandre Salomé <[email protected]>
26 23
  */
Please login to merge, or discard this patch.
src/Bundle/CoreBundle/Listener/ConfigListener.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,12 +12,11 @@
 block discarded – undo
12 12
 
13 13
 namespace Fabrica\Bundle\CoreBundle\Listener;
14 14
 
15
+use Symfony\Component\DependencyInjection\ContainerInterface;
15 16
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
16 17
 use Symfony\Component\HttpKernel\Event\GetResponseEvent;
17 18
 use Symfony\Component\HttpKernel\KernelEvents;
18
-use Symfony\Component\DependencyInjection\ContainerInterface;
19 19
 
20
-use Fabrica\Component\Config\ConfigInterface;
21 20
 use Fabrica\Models\Code\User;
22 21
 
23 22
 /**
Please login to merge, or discard this patch.
src/Bundle/CoreBundle/Mailer/Mailer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@
 block discarded – undo
70 70
         $swiftmailer->send($message);
71 71
     }
72 72
 
73
+    /**
74
+     * @param string $blockName
75
+     */
73 76
     protected function renderTwigBlock(\Twig_Template $template, $blockName, $context = array())
74 77
     {
75 78
         foreach ($template->getEnvironment()->getGlobals() as $key => $value) {
Please login to merge, or discard this patch.
src/Bundle/CoreBundle/Test/Client.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
 
15 15
 use Symfony\Bundle\FrameworkBundle\Client as BaseClient;
16 16
 
17
-use Fabrica\Bundle\CoreBundle\Git\RepositoryPool;
18 17
 use Fabrica\Bundle\CoreBundle\Git\HookInjector;
18
+use Fabrica\Bundle\CoreBundle\Git\RepositoryPool;
19 19
 use Fabrica\Bundle\CoreBundle\Git\ShellHandler;
20 20
 
21 21
 /**
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     /**
104 104
      * Defines the repository pool to use for the client.
105 105
      *
106
-     * @param Fabrica\Bundle\CoreBundle\Git\RepositoryPool $repositoryPool The
106
+     * @param RepositoryPool $repositoryPool The
107 107
      *                                                                     repository pool to set
108 108
      */
109 109
     public function setRepositoryPool(RepositoryPool $repositoryPool)
Please login to merge, or discard this patch.
src/Bundle/CoreBundle/Test/CommandTestCase.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 {
28 28
     /**
29 29
      * Runs a command and returns it output
30
+     * @param string $command
30 31
      */
31 32
     public function runCommand(Client $client, $command)
32 33
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
 
13 13
 namespace Fabrica\Bundle\CoreBundle\Test;
14 14
 
15
-use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
15
+use Symfony\Bundle\FrameworkBundle\Client;
16 16
 use Symfony\Bundle\FrameworkBundle\Console\Application;
17
+use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
17 18
 use Symfony\Component\Console\Input\StringInput;
18 19
 use Symfony\Component\Console\Output\StreamOutput;
19
-use Symfony\Bundle\FrameworkBundle\Client;
20 20
 
21 21
 /**
22 22
  * Base class for testing the CLI tools.
Please login to merge, or discard this patch.
src/Bundle/CoreBundle/Tests/Security/ProjectRoleVoterTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace Fabrica\Bundle\CoreBundle\Tests\Security;
14 14
 
15
-use Fabrica\Bundle\CoreBundle\Security\ProjectRoleVoter;
16 15
 use Fabrica\Bundle\CoreBundle\Security\ProjectRole;
16
+use Fabrica\Bundle\CoreBundle\Security\ProjectRoleVoter;
17 17
 use Fabrica\Models\Code\Project;
18 18
 
19 19
 class ProjectRoleVoterTest extends \PHPUnit\Framework\TestCase
Please login to merge, or discard this patch.
src/Bundle/CoreBundle/Validation/Constraints/NewEmailValidator.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 namespace Fabrica\Bundle\CoreBundle\Validation\Constraints;
14 14
 
15
+use Doctrine\Bundle\DoctrineBundle\Registry;
15 16
 use Symfony\Component\Validator\Constraint;
16 17
 use Symfony\Component\Validator\ConstraintValidator;
17
-use Doctrine\Bundle\DoctrineBundle\Registry;
18 18
 
19 19
 class NewEmailValidator extends ConstraintValidator
20 20
 {
Please login to merge, or discard this patch.