@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Azine\HybridAuthBundle\Services; |
3 | 3 | |
4 | -use Azine\HybridAuthBundle\Entity\UserContact; |
|
5 | - |
|
6 | 4 | /** |
7 | 5 | * https://github.com/petewarden/genderfromname/blob/master/genderfromname.php |
8 | 6 |
@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace Azine\HybridAuthBundle\Services; |
3 | 3 | |
4 | 4 | use Azine\HybridAuthBundle\Entity\UserContact; |
5 | - |
|
6 | 5 | use Symfony\Component\HttpFoundation\Session\Session; |
7 | 6 | |
8 | 7 | class AzineMergedBusinessNetworksProvider { |
@@ -1,14 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Azine\HybridAuthBundle\Services; |
3 | 3 | |
4 | -use Azine\HybridAuthBundle\Entity\UserContact; |
|
5 | - |
|
6 | -use Symfony\Component\HttpFoundation\Session\Session; |
|
7 | - |
|
8 | -use Azine\HybridAuthBundle\DependencyInjection\AzineHybridAuthExtension; |
|
9 | - |
|
10 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
11 | - |
|
12 | 4 | interface GenderGuesser { |
13 | 5 | |
14 | 6 | /** |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Azine\HybridAuthBundle\Services; |
3 | 3 | |
4 | -use Azine\HybridAuthBundle\Entity\UserContact; |
|
5 | 4 | use Symfony\Bundle\FrameworkBundle\Tests\TestCase; |
6 | 5 | |
7 | 6 | class AzineGenderGuesserTest extends TestCase { |
@@ -3,11 +3,8 @@ |
||
3 | 3 | namespace Azine\HybridAuthBundle\Controller; |
4 | 4 | |
5 | 5 | use Symfony\Component\HttpFoundation\RedirectResponse; |
6 | - |
|
7 | 6 | use Symfony\Component\HttpFoundation\JsonResponse; |
8 | - |
|
9 | 7 | use Symfony\Component\HttpFoundation\Request; |
10 | - |
|
11 | 8 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
12 | 9 | |
13 | 10 | class AzineHybridAuthJsonController extends Controller { |
@@ -2,14 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace Azine\HybridAuthBundle\Controller; |
4 | 4 | |
5 | -use Symfony\Component\HttpFoundation\ParameterBag; |
|
6 | - |
|
7 | -use Symfony\Component\HttpFoundation\RedirectResponse; |
|
8 | - |
|
9 | -use Symfony\Component\HttpFoundation\Response; |
|
10 | - |
|
11 | -use Symfony\Component\HttpFoundation\Request; |
|
12 | - |
|
5 | +use Symfony\Component\HttpFoundation\ParameterBag; |
|
6 | +use Symfony\Component\HttpFoundation\RedirectResponse; |
|
7 | +use Symfony\Component\HttpFoundation\Response; |
|
8 | +use Symfony\Component\HttpFoundation\Request; |
|
13 | 9 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
14 | 10 | |
15 | 11 | class HybridEndPointController extends Controller { |
@@ -2,13 +2,11 @@ |
||
2 | 2 | namespace Azine\HybridAuthBundle\Services; |
3 | 3 | |
4 | 4 | use Azine\HybridAuthBundle\DependencyInjection\AzineHybridAuthExtension; |
5 | - |
|
6 | 5 | use Azine\HybridAuthBundle\Entity\HybridAuthSessionData; |
7 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
8 | 7 | use Symfony\Component\HttpFoundation\Cookie; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | 9 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
11 | -use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage; |
|
12 | 10 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
13 | 11 | use Symfony\Component\Security\Core\User\UserInterface; |
14 | 12 |