@@ -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 | { |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use LoginCidadao\BadgesControlBundle\Handler\BadgesHandler; |
| 14 | 14 | use LoginCidadao\CoreBundle\Entity\Authorization; |
| 15 | 15 | use LoginCidadao\CoreBundle\Model\PersonInterface; |
| 16 | -use LoginCidadao\OAuthBundle\Entity\ClientRepository; |
|
| 17 | 16 | use Symfony\Component\HttpFoundation\RedirectResponse; |
| 18 | 17 | use Symfony\Component\HttpFoundation\Request; |
| 19 | 18 | use Symfony\Component\HttpFoundation\JsonResponse; |
@@ -10,23 +10,19 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace LoginCidadao\CoreBundle\Entity; |
| 12 | 12 | |
| 13 | -use Doctrine\ORM\EntityManagerInterface; |
|
| 14 | 13 | use Doctrine\ORM\Mapping as ORM; |
| 15 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
| 16 | 15 | use Doctrine\Common\Collections\Collection; |
| 17 | 16 | use libphonenumber\PhoneNumber; |
| 18 | -use LoginCidadao\CoreBundle\Tests\LongPolling\LongPollableInterface; |
|
| 19 | 17 | use Symfony\Component\HttpFoundation\File\File; |
| 20 | 18 | use Symfony\Component\Validator\Constraints as Assert; |
| 21 | 19 | use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
| 22 | -use Scheb\TwoFactorBundle\Model\Google\TwoFactorInterface; |
|
| 23 | 20 | use Scheb\TwoFactorBundle\Model\BackupCodeInterface; |
| 24 | 21 | use Vich\UploaderBundle\Mapping\Annotation as Vich; |
| 25 | 22 | use JMS\Serializer\Annotation as JMS; |
| 26 | 23 | use FOS\UserBundle\Model\User as BaseUser; |
| 27 | 24 | use LoginCidadao\OAuthBundle\Entity\Client; |
| 28 | 25 | use LoginCidadao\CoreBundle\Model\LocationSelectData; |
| 29 | -use LoginCidadao\CoreBundle\LongPolling\LongPollingUtils; |
|
| 30 | 26 | use LoginCidadao\CoreBundle\Model\PersonInterface; |
| 31 | 27 | use LoginCidadao\OAuthBundle\Model\ClientInterface; |
| 32 | 28 | use LoginCidadao\ValidationBundle\Validator\Constraints as LCAssert; |
@@ -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 | { |