| @@ -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 |      { | 
| @@ -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; | 
| @@ -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; |