@@ -251,6 +251,7 @@ discard block |
||
| 251 | 251 | /** |
| 252 | 252 | * @Then /^I should be on the page of ([^""]*) with ([^""]*) "([^""]*)"$/ |
| 253 | 253 | * @Then /^I should still be on the page of ([^""]*) with ([^""]*) "([^""]*)"$/ |
| 254 | + * @param string $property |
|
| 254 | 255 | */ |
| 255 | 256 | public function iShouldBeOnTheResourcePage($type, $property, $value) |
| 256 | 257 | { |
@@ -264,6 +265,7 @@ discard block |
||
| 264 | 265 | /** |
| 265 | 266 | * @Given /^I am on the page of ([^""]*) with ([^""]*) "([^""]*)"$/ |
| 266 | 267 | * @Given /^I go to the page of ([^""]*) with ([^""]*) "([^""]*)"$/ |
| 268 | + * @param string $property |
|
| 267 | 269 | */ |
| 268 | 270 | public function iAmOnTheResourcePage($type, $property, $value) |
| 269 | 271 | { |
@@ -285,6 +287,7 @@ discard block |
||
| 285 | 287 | |
| 286 | 288 | /** |
| 287 | 289 | * @Given /^I am (building|viewing|editing) ([^""]*) with ([^""]*) "([^""]*)"$/ |
| 290 | + * @param string $property |
|
| 288 | 291 | */ |
| 289 | 292 | public function iAmDoingSomethingWithResource($action, $type, $property, $value) |
| 290 | 293 | { |
@@ -306,6 +309,7 @@ discard block |
||
| 306 | 309 | |
| 307 | 310 | /** |
| 308 | 311 | * @Then /^I should be (building|viewing|editing|testing) ([^"]*) with ([^"]*) "([^""]*)"$/ |
| 312 | + * @param string $property |
|
| 309 | 313 | */ |
| 310 | 314 | public function iShouldBeDoingSomethingWithResource($action, $type, $property, $value) |
| 311 | 315 | { |
@@ -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 | { |
@@ -191,7 +191,7 @@ |
||
| 191 | 191 | } |
| 192 | 192 | |
| 193 | 193 | /** |
| 194 | - * @return array |
|
| 194 | + * @return string[] |
|
| 195 | 195 | */ |
| 196 | 196 | static public function getDriverKeys() |
| 197 | 197 | { |
@@ -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 |
@@ -268,7 +268,7 @@ |
||
| 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 | { |
@@ -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; |