@@ -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 { |
@@ -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 {
|
@@ -6,11 +6,8 @@ |
||
| 6 | 6 | use Azine\HybridAuthBundle\Services\AzineHybridAuth; |
| 7 | 7 | use Azine\HybridAuthBundle\Services\AzineMergedBusinessNetworksProvider; |
| 8 | 8 | use Symfony\Component\HttpFoundation\RedirectResponse; |
| 9 | - |
|
| 10 | 9 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 11 | - |
|
| 12 | 10 | use Symfony\Component\HttpFoundation\Request; |
| 13 | - |
|
| 14 | 11 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 15 | 12 | |
| 16 | 13 | class AzineHybridAuthJsonController extends Controller { |
@@ -2,7 +2,6 @@ |
||
| 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; |