@@ -12,8 +12,8 @@ |
||
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 |
@@ -13,14 +13,14 @@ |
||
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. |
@@ -18,9 +18,6 @@ |
||
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 | */ |
@@ -12,12 +12,11 @@ |
||
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 | /** |
@@ -14,8 +14,8 @@ |
||
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 | /** |
@@ -12,11 +12,11 @@ |
||
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. |
@@ -12,8 +12,8 @@ |
||
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 |
@@ -12,9 +12,9 @@ |
||
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 | { |
@@ -12,8 +12,6 @@ |
||
12 | 12 | |
13 | 13 | namespace Fabrica\Bundle\JobBundle\Storage; |
14 | 14 | |
15 | -use Fabrica\Bundle\JobBundle\Job\Job; |
|
16 | - |
|
17 | 15 | /** |
18 | 16 | * The definition of a storage for jobs. |
19 | 17 | */ |