Completed
Push — master ( 0e5042...05ac79 )
by Michael
03:27
created
src/AppBundle/Controller/UserController.php 2 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -16,23 +16,23 @@
 block discarded – undo
16 16
      * @Template()
17 17
      * @Route("/users", name="user")
18 18
      */
19
-	public function listAction(): Response
20
-	{
21
-		$users = $this->getUsers($request);
19
+    public function listAction(): Response
20
+    {
21
+        $users = $this->getUsers($request);
22 22
 
23
-		return $this->render('default/index.html.twig', ['users' => $users]);
24
-	}
23
+        return $this->render('default/index.html.twig', ['users' => $users]);
24
+    }
25 25
 
26
-	/**
27
-	 * @Route("/users/create", name="user_create")
26
+    /**
27
+     * @Route("/users/create", name="user_create")
28 28
      * @Security("has_role('ROLE_ADMIN')")
29
-	 */
30
-	public function createAction(): Response
31
-	{
32
-		$response = $this->forward('FOSUserBundle:Registration:register');
29
+     */
30
+    public function createAction(): Response
31
+    {
32
+        $response = $this->forward('FOSUserBundle:Registration:register');
33 33
 
34
-		return $response;
35
-	}
34
+        return $response;
35
+    }
36 36
 
37 37
     /**
38 38
      * @Template()
Please login to merge, or discard this patch.
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,16 +2,16 @@
 block discarded – undo
2 2
 
3 3
 namespace AppBundle\Controller;
4 4
 
5
+use Pagerfanta\Adapter\DoctrineORMAdapter;
6
+use Pagerfanta\Pagerfanta;
7
+use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
5 8
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
6
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
7 9
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
8
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
10
+use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
11
+use Symfony\AppBundle\Entity\User;
9 12
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
10 13
 use Symfony\Component\HttpFoundation\Request;
11 14
 use Symfony\Component\HttpFoundation\Response;
12
-use Symfony\AppBundle\Entity\User;
13
-use Pagerfanta\Adapter\DoctrineORMAdapter;
14
-use Pagerfanta\Pagerfanta;
15 15
 
16 16
 class UserController extends Controller
17 17
 {
Please login to merge, or discard this patch.
src/AppBundle/Entity/Poll.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace AppBundle\Entity;
4 4
 
5
-use Doctrine\ORM\Mapping as ORM;
6 5
 use AppBundle\Entity\User;
7 6
 use AppBundle\Entity\Vote;
8 7
 use Doctrine\Common\Collections\ArrayCollection;
8
+use Doctrine\ORM\Mapping as ORM;
9 9
 
10 10
 /**
11 11
  * Poll
Please login to merge, or discard this patch.
src/AppBundle/Entity/Vote.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,11 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace AppBundle\Entity;
4 4
 
5
-use Doctrine\ORM\Mapping as ORM;
6
-use AppBundle\Entity\User;
7
-use AppBundle\Entity\Poll;
8 5
 use AppBundle\Entity\Choice;
9
-use Doctrine\Common\Collections\ArrayCollection;
6
+use AppBundle\Entity\Poll;
7
+use AppBundle\Entity\User;
8
+use Doctrine\ORM\Mapping as ORM;
10 9
 
11 10
 /**
12 11
  * Vote
Please login to merge, or discard this patch.