Completed
Push — master ( fdbeef...265a2d )
by jerome
25:01 queued 21:35
created
src/DP/GameServer/SteamServerBundle/SteamQuery/SourceRcon.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,9 +15,7 @@
 block discarded – undo
15 15
 use DP\GameServer\GameServerBundle\Socket\Packet;
16 16
 use DP\GameServer\GameServerBundle\Socket\PacketCollection;
17 17
 use DP\GameServer\GameServerBundle\Socket\Exception\ConnectionFailedException;
18
-use DP\GameServer\GameServerBundle\Socket\Exception\NotConnectedException;
19 18
 use DP\GameServer\GameServerBundle\Socket\Exception\RecvTimeoutException;
20
-use DP\GameServer\SteamServerBundle\SteamQuery\Exception\ServerTimeoutException;
21 19
 use DP\GameServer\GameServerBundle\Query\RconInterface;
22 20
 
23 21
 class SourceRcon implements RconInterface
Please login to merge, or discard this patch.
src/DP/VoipServer/TeamspeakServerBundle/Entity/TeamspeakServer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      * Set the port needed by the query
86 86
      *
87 87
      * @param integer $port
88
-     * @return integer
88
+     * @return TeamspeakServer
89 89
      */
90 90
     public function setQueryPort($port)
91 91
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,7 @@
 block discarded – undo
11 11
 
12 12
 namespace DP\VoipServer\TeamspeakServerBundle\Entity;
13 13
 
14
-use Dedipanel\PHPSeclibWrapperBundle\Connection\Connection;
15 14
 use Doctrine\ORM\Mapping as ORM;
16
-use DP\VoipServer\TeamspeakServerBundle\Service\ServerQueryFactory;
17 15
 use DP\VoipServer\VoipServerBundle\Entity\VoipServer;
18 16
 use Symfony\Component\HttpFoundation\File\UploadedFile;
19 17
 use Symfony\Component\Validator\Constraints as Assert;
Please login to merge, or discard this patch.
src/DP/VoipServer/TeamspeakServerBundle/ServerQuery/QueryGateway.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -130,6 +130,9 @@  discard block
 block discarded – undo
130 130
         return $this->query->serverList();
131 131
     }
132 132
 
133
+    /**
134
+     * @param integer $sid
135
+     */
133 136
     public function startInstance($sid)
134 137
     {
135 138
         $this->needConnected();
@@ -137,6 +140,9 @@  discard block
 block discarded – undo
137 140
         return $this->query->serverStart($sid);
138 141
     }
139 142
 
143
+    /**
144
+     * @param integer $sid
145
+     */
140 146
     public function stopInstance($sid)
141 147
     {
142 148
         $this->needConnected();
Please login to merge, or discard this 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\Exception\MaxSlotsLimitReachedException;
15 15
 use DP\Core\CoreBundle\Exception\PortAlreadyInUseException;
16
-use DP\Core\CoreBundle\Socket\Exception\SocketException;
17 16
 use DP\VoipServer\TeamspeakServerBundle\Entity\TeamspeakServerInstance;
18 17
 use DP\Core\CoreBundle\Exception\MaxServerException;
19 18
 use DP\VoipServer\VoipServerBundle\Exception\OfflineServerException;
Please login to merge, or discard this patch.
src/DP/Core/CoreBundle/Behat/DefaultContext.php 2 patches
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@  discard block
 block discarded – undo
52 52
         return $this->locatePath($this->generateUrl($route, $parameters));
53 53
     }
54 54
 
55
+    /**
56
+     * @param string $resource
57
+     */
55 58
     protected function getRepository($resource)
56 59
     {
57 60
         return $this->getService('dedipanel.repository.'.$resource);
@@ -327,6 +330,7 @@  discard block
 block discarded – undo
327 330
     /**
328 331
      * @Then /^I should be on the page of ([^""]*) with ([^""]*) "([^""]*)"$/
329 332
      * @Then /^I should still be on the page of ([^""]*) with ([^""]*) "([^""]*)"$/
333
+     * @param string $property
330 334
      */
331 335
     public function iShouldBeOnTheResourcePage($type, $property, $value)
332 336
     {
@@ -340,6 +344,7 @@  discard block
 block discarded – undo
340 344
     /**
341 345
      * @Given /^I am on the page of ([^""]*) with ([^""]*) "([^""]*)"$/
342 346
      * @Given /^I go to the page of ([^""]*) with ([^""]*) "([^""]*)"$/
347
+     * @param string $property
343 348
      */
344 349
     public function iAmOnTheResourcePage($type, $property, $value)
345 350
     {
@@ -361,6 +366,7 @@  discard block
 block discarded – undo
361 366
 
362 367
     /**
363 368
      * @Given /^I am (building|viewing|editing) ([^""]*) with ([^""]*) "([^""]*)"$/
369
+     * @param string $property
364 370
      */
365 371
     public function iAmDoingSomethingWithResource($action, $type, $property, $value)
366 372
     {
@@ -382,6 +388,7 @@  discard block
 block discarded – undo
382 388
 
383 389
     /**
384 390
      * @Then /^I should be (building|viewing|editing|testing) ([^"]*) with ([^"]*) "([^""]*)"$/
391
+     * @param string $property
385 392
      */
386 393
     public function iShouldBeDoingSomethingWithResource($action, $type, $property, $value)
387 394
     {
@@ -430,6 +437,9 @@  discard block
 block discarded – undo
430 437
         $this->getEntityManager()->flush();
431 438
     }
432 439
 
440
+    /**
441
+     * @param string $downloadUrl
442
+     */
433 443
     public function thereIsPlugin($name, $version, $scriptName, $downloadUrl, $flush = true)
434 444
     {
435 445
         if (null === $plugin = $this->getRepository('plugin')->findOneBy(array('name' => $name))) {
@@ -587,6 +597,9 @@  discard block
 block discarded – undo
587 597
         $this->getEntityManager()->flush();
588 598
     }
589 599
 
600
+    /**
601
+     * @return \DP\Core\MachineBundle\Entity\Machine
602
+     */
590 603
     public function thereIsMachine($username, $privateIp = null, $privateKey = null, $groups = array(), $is64Bit = false, $flush = true)
591 604
     {
592 605
         if (null === $machine = $this->getRepository('machine')->findOneBy(array('username' => $username))) {
Please login to merge, or discard this 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\CoreBundle\Behat;
13 13
 
14
-use FOS\UserBundle\Doctrine\UserManager;
15 14
 use Sylius\Bundle\ResourceBundle\Behat\DefaultContext as SyliusDefaultContext;
16 15
 use Behat\Gherkin\Node\TableNode;
17 16
 
Please login to merge, or discard this patch.