Completed
Push — master ( fdbeef...265a2d )
by jerome
25:01 queued 21:35
created
src/DP/Core/DistributionBundle/Configurator/Step/AutoInstallStep.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -18,12 +18,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/DP/Core/DistributionBundle/Configurator/Step/DoctrineStep.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
     }
192 192
 
193 193
     /**
194
-     * @return array
194
+     * @return string[]
195 195
      */
196 196
     static public function getDriverKeys()
197 197
     {
Please login to merge, or discard this patch.
src/DP/Core/DistributionBundle/Configurator/Step/StepInterface.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/DP/Core/DistributionBundle/Configurator/Step/UserStep.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/DP/Core/MachineBundle/Validator/CredentialsConstraintValidator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/DP/Core/UserBundle/Entity/User.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@
 block discarded – undo
268 268
     /**
269 269
      * Returns the user unique id.
270 270
      *
271
-     * @return mixed
271
+     * @return integer
272 272
      */
273 273
     public function getId()
274 274
     {
Please login to merge, or discard this patch.
src/DP/GameServer/GameServerBundle/Controller/GameServerController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/DP/GameServer/GameServerBundle/Entity/GameServer.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -259,6 +259,9 @@
 block discarded – undo
259 259
         return $this->getScreenNameHash($screenName);
260 260
     }
261 261
 
262
+    /**
263
+     * @param string $screenName
264
+     */
262 265
     public function getScreenNameHash($screenName, $hashLength = 20)
263 266
     {
264 267
         $screenName = sha1($screenName);
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -18,13 +18,9 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/DP/GameServer/MinecraftServerBundle/MinecraftQuery/MinecraftRcon.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,9 +16,7 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.