@@ -18,12 +18,6 @@ |
||
18 | 18 | use DP\Core\DistributionBundle\Configurator\Step\StepInterface; |
19 | 19 | use DP\Core\DistributionBundle\Configurator\Form\AutoInstallStepType; |
20 | 20 | use Symfony\Component\DependencyInjection\ContainerInterface; |
21 | -use Symfony\Component\Validator\Constraints as Assert; |
|
22 | -use Doctrine\ORM\Tools\SchemaTool; |
|
23 | -use Doctrine\ORM\Tools\ToolsException; |
|
24 | -use Symfony\Bridge\Doctrine\DataFixtures\ContainerAwareLoader as DataFixturesLoader; |
|
25 | -use Doctrine\Common\DataFixtures\Executor\ORMExecutor; |
|
26 | -use Doctrine\Common\DataFixtures\Purger\ORMPurger; |
|
27 | 21 | |
28 | 22 | class AutoInstallStep implements StepInterface |
29 | 23 | { |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace DP\Core\DistributionBundle\Configurator\Step; |
13 | 13 | |
14 | -use Symfony\Component\Form\Type\FormTypeInterface; |
|
15 | 14 | use Symfony\Component\DependencyInjection\ContainerInterface; |
16 | 15 | |
17 | 16 | /** |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use DP\Core\DistributionBundle\Configurator\Step\StepInterface; |
16 | 16 | use Symfony\Component\DependencyInjection\ContainerInterface; |
17 | 17 | use DP\Core\DistributionBundle\Configurator\Form\UserStepType; |
18 | -use FOS\UserBundle\Model\UserManagerInterface; |
|
19 | 18 | use Symfony\Component\Validator\Constraints as Assert; |
20 | 19 | use FOS\UserBundle\Model\UserInterface; |
21 | 20 |
@@ -14,8 +14,6 @@ |
||
14 | 14 | use DP\Core\MachineBundle\Entity\MachineRepository; |
15 | 15 | use DP\Core\UserBundle\Service\UserGroupResolver; |
16 | 16 | use Symfony\Component\Form\AbstractType; |
17 | -use Symfony\Component\Form\FormView; |
|
18 | -use Symfony\Component\Form\FormInterface; |
|
19 | 17 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
20 | 18 | use Symfony\Component\Security\Core\SecurityContext; |
21 | 19 | use DP\Core\UserBundle\Entity\User; |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Symfony\Component\Validator\ConstraintValidator; |
16 | 16 | use Dedipanel\PHPSeclibWrapperBundle\Connection\ConnectionManagerInterface; |
17 | 17 | use Dedipanel\PHPSeclibWrapperBundle\Connection\Exception\ConnectionErrorException; |
18 | -use Symfony\Component\Validator\Context\ExecutionContextInterface; |
|
19 | 18 | |
20 | 19 | |
21 | 20 | class CredentialsConstraintValidator extends ConstraintValidator |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use DP\Core\CoreBundle\Controller\Server\ServerController; |
15 | 15 | use DP\GameServer\GameServerBundle\Entity\GameServer; |
16 | -use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; |
|
17 | 16 | use DP\Core\CoreBundle\Exception\NotImplementedException; |
18 | 17 | use Symfony\Component\HttpFoundation\Request; |
19 | 18 | use Symfony\Component\DependencyInjection\ContainerInterface; |
@@ -18,13 +18,9 @@ |
||
18 | 18 | use DP\GameServer\GameServerBundle\Query\QueryInterface; |
19 | 19 | use DP\GameServer\GameServerBundle\Query\RconInterface; |
20 | 20 | use DP\Core\CoreBundle\Exception\NotImplementedException; |
21 | -use DP\GameServer\GameServerBundle\FTP\AbstractItem; |
|
22 | -use DP\GameServer\GameServerBundle\FTP\File; |
|
23 | -use DP\GameServer\GameServerBundle\FTP\Directory; |
|
24 | 21 | use DP\Core\GameBundle\Entity\Plugin; |
25 | 22 | use DP\Core\CoreBundle\Model\AbstractServer; |
26 | 23 | use Symfony\Component\Validator\Mapping\ClassMetadata; |
27 | -use Symfony\Component\Validator\Context\ExecutionContextInterface; |
|
28 | 24 | |
29 | 25 | /** |
30 | 26 | * DP\Core\GameServer\GameServerBundle\Entity\GameServer |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Doctrine\ORM\Mapping as ORM; |
15 | 15 | use DP\GameServer\GameServerBundle\Entity\GameServer; |
16 | 16 | use Symfony\Component\Validator\Constraints as Assert; |
17 | -use DP\Core\MachineBundle\PHPSeclibWrapper\PHPSeclibWrapper; |
|
18 | 17 | use DP\Core\GameBundle\Entity\Plugin; |
19 | 18 | use DP\Core\CoreBundle\Exception\MissingPacketException; |
20 | 19 | use Symfony\Component\Validator\Mapping\ClassMetadata; |
@@ -16,9 +16,7 @@ |
||
16 | 16 | use DP\GameServer\GameServerBundle\Socket\Packet; |
17 | 17 | use DP\GameServer\GameServerBundle\Socket\PacketCollection; |
18 | 18 | use DP\GameServer\GameServerBundle\Socket\Exception\ConnectionFailedException; |
19 | -use DP\GameServer\GameServerBundle\Socket\Exception\NotConnectedException; |
|
20 | 19 | use DP\GameServer\GameServerBundle\Socket\Exception\RecvTimeoutException; |
21 | -use DP\GameServer\MinecraftServerBundle\MinecraftQuery\Exception\ServerTimeoutException; |
|
22 | 20 | |
23 | 21 | class MinecraftRcon implements RconInterface |
24 | 22 | { |