Avoid Username/Email is passed as clear GET Parameter to CheckEmailAction on password reset process #1894
Annotations
7 errors
tests/Action/CheckEmailActionTest.php#L67
tests/Action/CheckEmailActionTest.php:67:19: TooManyArguments: Too many arguments for method Sonata\UserBundle\Action\CheckEmailAction::__invoke - saw 1 (see https://psalm.dev/026)
|
tests/Action/CheckEmailActionTest.php#L94
tests/Action/CheckEmailActionTest.php:94:19: TooManyArguments: Too many arguments for method Sonata\UserBundle\Action\CheckEmailAction::__invoke - saw 1 (see https://psalm.dev/026)
|
tests/Action/CheckEmailActionTest.php#L101
tests/Action/CheckEmailActionTest.php:101:16: TooManyArguments: Too many arguments for Sonata\UserBundle\Action\CheckEmailAction::__construct - expecting 4 but saw 5 (see https://psalm.dev/026)
|
tests/Action/CheckEmailActionTest.php#L101
tests/Action/CheckEmailActionTest.php:101:56: InvalidArgument: Argument 2 of Sonata\UserBundle\Action\CheckEmailAction::__construct expects Sonata\AdminBundle\Admin\Pool, but PHPUnit\Framework\MockObject\MockObject&Symfony\Component\Routing\Generator\UrlGeneratorInterface provided (see https://psalm.dev/004)
|
tests/Action/CheckEmailActionTest.php#L101
tests/Action/CheckEmailActionTest.php:101:77: InvalidArgument: Argument 3 of Sonata\UserBundle\Action\CheckEmailAction::__construct expects Sonata\AdminBundle\Templating\TemplateRegistryInterface, but Sonata\AdminBundle\Admin\Pool provided (see https://psalm.dev/004)
|
tests/Action/CheckEmailActionTest.php#L101
tests/Action/CheckEmailActionTest.php:101:90: InvalidArgument: Argument 4 of Sonata\UserBundle\Action\CheckEmailAction::__construct expects int, but PHPUnit\Framework\MockObject\MockObject&Sonata\AdminBundle\Templating\TemplateRegistryInterface provided (see https://psalm.dev/004)
|
|
This job failed
Loading