@@ -6,10 +6,8 @@ |
||
| 6 | 6 | use Symfony\Component\Routing\Annotation\Route; |
| 7 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 8 | 8 | use Symfony\Component\HttpFoundation\Request; |
| 9 | -use Symfony\Component\HttpFoundation\Response; |
|
| 10 | 9 | use LoginCidadao\OAuthBundle\Entity\Client; |
| 11 | 10 | use LoginCidadao\CoreBundle\Helper\GridHelper; |
| 12 | -use Michelf\MarkdownExtra; |
|
| 13 | 11 | |
| 14 | 12 | /** |
| 15 | 13 | * @Route("/admin/client") |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | use LoginCidadao\DynamicFormBundle\Model\DynamicFormData; |
| 21 | 21 | use LoginCidadao\DynamicFormBundle\Service\DynamicFormService; |
| 22 | 22 | use LoginCidadao\OAuthBundle\Entity\Client; |
| 23 | -use Symfony\Component\HttpFoundation\RedirectResponse; |
|
| 24 | 23 | |
| 25 | 24 | class DynamicFormServiceTest extends \PHPUnit_Framework_TestCase |
| 26 | 25 | { |
@@ -10,8 +10,6 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace LoginCidadao\OpenIDBundle\Validator\Constraints; |
| 12 | 12 | |
| 13 | -use Doctrine\ORM\EntityManager; |
|
| 14 | -use LoginCidadao\OAuthBundle\Entity\Client; |
|
| 15 | 13 | use LoginCidadao\OAuthBundle\Entity\Organization; |
| 16 | 14 | use LoginCidadao\OAuthBundle\Entity\OrganizationRepository; |
| 17 | 15 | use LoginCidadao\OpenIDBundle\Entity\ClientMetadata; |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | namespace LoginCidadao\PhoneVerificationBundle\Event; |
| 12 | 12 | |
| 13 | 13 | |
| 14 | -use FOS\UserBundle\FOSUserEvents; |
|
| 15 | 14 | use libphonenumber\PhoneNumberFormat; |
| 16 | 15 | use libphonenumber\PhoneNumberUtil; |
| 17 | 16 | use LoginCidadao\CoreBundle\Model\PersonInterface; |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | use LoginCidadao\PhoneVerificationBundle\Entity\PhoneVerificationRepository; |
| 25 | 25 | use LoginCidadao\PhoneVerificationBundle\Model\PhoneVerificationInterface; |
| 26 | 26 | use Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException; |
| 27 | -use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
|
| 28 | 27 | |
| 29 | 28 | class PhoneVerificationService implements PhoneVerificationServiceInterface |
| 30 | 29 | { |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use LoginCidadao\PhoneVerificationBundle\Exception\VerificationNotSentException; |
| 17 | 17 | use LoginCidadao\PhoneVerificationBundle\Model\PhoneVerificationInterface; |
| 18 | 18 | use LoginCidadao\PhoneVerificationBundle\Model\SentVerificationInterface; |
| 19 | -use Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException; |
|
| 20 | 19 | |
| 21 | 20 | interface PhoneVerificationServiceInterface |
| 22 | 21 | { |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use LoginCidadao\CoreBundle\Model\UniqueEntityInterface; |
| 8 | 8 | use LoginCidadao\OpenIDBundle\Entity\ClientMetadata; |
| 9 | 9 | use Symfony\Component\HttpFoundation\File\File; |
| 10 | -use Doctrine\Common\Collections\ArrayCollection; |
|
| 11 | 10 | |
| 12 | 11 | interface ClientInterface extends BaseInterface, UniqueEntityInterface |
| 13 | 12 | { |
@@ -20,7 +20,6 @@ discard block |
||
| 20 | 20 | use LoginCidadao\OAuthBundle\Model\OrganizationInterface; |
| 21 | 21 | use LoginCidadao\OAuthBundle\Model\ClientInterface; |
| 22 | 22 | use LoginCidadao\OpenIDBundle\Validator\SectorIdentifierUriChecker; |
| 23 | -use LoginCidadao\RemoteClaimsBundle\Model\RemoteClaimInterface; |
|
| 24 | 23 | use OAuth2\Server; |
| 25 | 24 | use OAuth2\ServerBundle\Entity\Scope; |
| 26 | 25 | use OAuth2\ServerBundle\Controller\AuthorizeController as BaseController; |
@@ -29,7 +28,6 @@ discard block |
||
| 29 | 28 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 30 | 29 | use Symfony\Component\EventDispatcher\EventDispatcher; |
| 31 | 30 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 32 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
| 33 | 31 | use Symfony\Component\HttpFoundation\Request; |
| 34 | 32 | |
| 35 | 33 | class AuthorizeController extends BaseController |
@@ -12,9 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | use LoginCidadao\BadgesControlBundle\Handler\BadgesHandler; |
| 14 | 14 | use LoginCidadao\CoreBundle\Entity\Authorization; |
| 15 | -use LoginCidadao\CoreBundle\Model\PersonInterface; |
|
| 16 | -use LoginCidadao\OAuthBundle\Entity\ClientRepository; |
|
| 17 | -use Symfony\Component\HttpFoundation\RedirectResponse; |
|
| 18 | 15 | use Symfony\Component\HttpFoundation\Request; |
| 19 | 16 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 20 | 17 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |