Completed
Pull Request — master (#2)
by Kate
04:26
created
src/AppBundle/Controller/SiteController.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: kate
5
- * Date: 17.02.16
6
- * Time: 9:30
7
- */
3
+     * Created by PhpStorm.
4
+     * User: kate
5
+     * Date: 17.02.16
6
+     * Time: 9:30
7
+     */
8 8
 
9 9
 namespace AppBundle\Controller;
10 10
 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 
12 12
 use AppBundle\Entity\Estate;
13
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
14 13
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
15 14
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
16 15
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.
src/AppBundle/Controller/Admin/AdminEstateController.php 3 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,6 @@
 block discarded – undo
122 122
      * @Route("/estate/delete/{slug}", name="admin_estate_delete")
123 123
      * @Method("DELETE")
124 124
      * @ParamConverter("estate", options={"mapping": {"slug": "slug"}})
125
-
126 125
      */
127 126
     public function estateDeleteAction(Request $request, Estate $estate)
128 127
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     {
26 26
         // replace this example code with whatever you need
27 27
         return $this->render('AppBundle::admin/index.html.twig', array(
28
-            'base_dir' => realpath($this->getParameter('kernel.root_dir') . '/..'),
28
+            'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..'),
29 29
         ));
30 30
     }
31 31
 
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,6 @@
 block discarded – undo
10 10
 use AppBundle\Form\EstateType;
11 11
 use Symfony\Component\Form\Extension\Core\Type\SubmitType;
12 12
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
13
-use AppBundle\Utils;
14
-use Symfony\Component\HttpFoundation\Response;
15 13
 
16 14
 
17 15
 /**
Please login to merge, or discard this patch.
src/AppBundle/Controller/Admin/AdminDistrictController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use AppBundle\Form\EstateType;
11 11
 use Symfony\Component\Form\Extension\Core\Type\SubmitType;
12 12
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
13
-use Symfony\Component\HttpFoundation\Response;
14 13
 
15 14
 
16 15
 /**
Please login to merge, or discard this patch.
src/AppBundle/Controller/Admin/UserController.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,7 @@
 block discarded – undo
6 6
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7 7
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
8 8
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
9
-use Symfony\Component\Form\Extension\Core\Type\SubmitType;
10 9
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
11
-use Symfony\Component\HttpFoundation\Response;
12 10
 
13 11
 
14 12
 /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
             $request->query->getInt('page', 1),
63 63
             10
64 64
         );
65
-        return $this->render('@App/admin/user/estates_manager.html.twig', array('pagination' => $pagination));    }
65
+        return $this->render('@App/admin/user/estates_manager.html.twig', array('pagination' => $pagination)); }
66 66
 
67 67
     /**
68 68
      * @Route("/users/lock_user/{username}", name="lock_user")
Please login to merge, or discard this patch.