@@ -10,8 +10,6 @@ |
||
| 10 | 10 | /** |
| 11 | 11 | * param Knp\RadBundle\AppBundle\Bundle $bundle |
| 12 | 12 | * @param Symfony\Component\HttpKernel\Bundle\BundleInterface $bundle |
| 13 | - * @param Symfony\Component\DependencyInjection\ContainerBuilder $container |
|
| 14 | - * @param Symfony\Component\HttpKernel\Kernel $kernel |
|
| 15 | 13 | */ |
| 16 | 14 | function let($bundle) |
| 17 | 15 | { |
@@ -3,11 +3,8 @@ |
||
| 3 | 3 | namespace spec\Knp\RadBundle\DomainEvent\Dispatcher; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 8 | 7 | use Doctrine\ORM\Event\PostFlushEventArgs; |
| 9 | -use Doctrine\ORM\EntityManager; |
|
| 10 | -use Doctrine\ORM\UnitOfWork; |
|
| 11 | 8 | use Knp\RadBundle\DomainEvent\Provider; |
| 12 | 9 | use Knp\RadBundle\DomainEvent\Event; |
| 13 | 10 | use Doctrine\ORM\Event\LifecycleEventArgs; |
@@ -7,8 +7,6 @@ |
||
| 7 | 7 | class ResourceResolverListenerSpec extends ObjectBehavior |
| 8 | 8 | { |
| 9 | 9 | /** |
| 10 | - * @param Symfony\Component\HttpKernel\Event\FilterControllerEvent $event |
|
| 11 | - * @param Symfony\Component\HttpFoundation\Request $request |
|
| 12 | 10 | * @param Knp\RadBundle\Resource\Resolver\RequestResolver $requestResolver |
| 13 | 11 | * @param Knp\RadBundle\Reflection\ReflectionFactory $reflectionFactory |
| 14 | 12 | */ |
@@ -9,7 +9,6 @@ discard block |
||
| 9 | 9 | /** |
| 10 | 10 | * @param Symfony\Component\HttpFoundation\Request $request |
| 11 | 11 | * @param Symfony\Component\HttpFoundation\ParameterBag $params |
| 12 | - * @param Symfony\Component\HttpFoundation\Response $response |
|
| 13 | 12 | * @param Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $engine |
| 14 | 13 | * @param Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent $event |
| 15 | 14 | * @param Knp\RadBundle\EventListener\MissingViewHandler $mvh |
@@ -125,7 +124,6 @@ discard block |
||
| 125 | 124 | } |
| 126 | 125 | |
| 127 | 126 | /** |
| 128 | - * @param Twig_LoaderInterface $tli |
|
| 129 | 127 | */ |
| 130 | 128 | function it_should_not_handle_missing_view_if_template_exists_but_fails_to_load($deducer, $request, $params, $response, $engine, $event, $mvh) |
| 131 | 129 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace spec\Knp\RadBundle\Form; |
| 4 | 4 | |
| 5 | -use PhpSpec\Exception\Example\PendingException; |
|
| 6 | 5 | use PhpSpec\ObjectBehavior; |
| 7 | 6 | |
| 8 | 7 | class FormManagerSpec extends ObjectBehavior |
@@ -44,7 +44,6 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * @param stdClass $object |
| 47 | - * @param stdClass $formType |
|
| 48 | 47 | * @param Symfony\Component\Form\Form $form |
| 49 | 48 | */ |
| 50 | 49 | function it_should_return_form_type_if_there_is_one($object, $fetcher, $factory, $form, $formRegistry) |
@@ -59,7 +58,6 @@ discard block |
||
| 59 | 58 | |
| 60 | 59 | /** |
| 61 | 60 | * @param stdClass $object |
| 62 | - * @param stdClass $formType |
|
| 63 | 61 | * @param Symfony\Component\Form\Form $form |
| 64 | 62 | */ |
| 65 | 63 | function it_should_return_form_type_with_purpose_if_there_is_one($object, $fetcher, $factory, $form, $formRegistry) |
@@ -75,7 +73,6 @@ discard block |
||
| 75 | 73 | |
| 76 | 74 | /** |
| 77 | 75 | * @param stdClass $object |
| 78 | - * @param stdClass $formType |
|
| 79 | 76 | * @param Symfony\Component\Form\Form $form |
| 80 | 77 | */ |
| 81 | 78 | function it_should_fallback_on_default_form_type_if_given_purpose_has_no_associated_form_type($object, $fetcher, $factory, $form, $formRegistry) |
@@ -121,10 +121,6 @@ |
||
| 121 | 121 | * @param Swift_Mime_Message $message |
| 122 | 122 | * @param Twig_Template $template1 |
| 123 | 123 | * @param Twig_Template $template2 |
| 124 | - * @param stdClass $subject1 |
|
| 125 | - * @param stdClass $body1 |
|
| 126 | - * @param stdClass $subject2 |
|
| 127 | - * @param stdClass $body2 |
|
| 128 | 124 | */ |
| 129 | 125 | function it_should_throw_exception_if_both_templates_provide_no_subject_or_body( |
| 130 | 126 | $mailer, $twig, $loader, $message, $template1, $template2 |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | /** |
| 11 | 11 | * @param Knp\RadBundle\Resource\Resolver\ExpressionLanguageBased $exprBased |
| 12 | 12 | * @param Knp\RadBundle\Resource\Resolver\OptionsBased $optionsBased |
| 13 | - * @param Symfony\Component\HttpFoundation\Request $request |
|
| 14 | 13 | */ |
| 15 | 14 | function let($exprBased, $optionsBased) |
| 16 | 15 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\Knp\RadBundle\Resource\Resolver; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | |
| 8 | 7 | class ExpressionLanguageBasedSpec extends ObjectBehavior |
| 9 | 8 | { |