Completed
Push — master ( c64eb0...93453c )
by Flo
02:26
created
src/Http/Request.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
      */
154 154
     public function setBody($body)
155 155
     {
156
-       $this->body = $body;
156
+        $this->body = $body;
157 157
     }
158 158
 
159 159
     /**
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
  */
8 8
 namespace Faulancer\Http;
9 9
 
10
-use Faulancer\Exception\InvalidArgumentException;
11
-
12 10
 /**
13 11
  * Class Request
14 12
  */
Please login to merge, or discard this patch.
src/Kernel.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use Faulancer\Exception\Exception;
13 13
 use Faulancer\Http\Request;
14 14
 use Faulancer\Service\Config;
15
-use Faulancer\Controller\AbstractController;
16 15
 
17 16
 /**
18 17
  * Class Kernel
Please login to merge, or discard this patch.
src/Form/Type/AbstractType.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -295,7 +295,7 @@
 block discarded – undo
295 295
         }
296 296
 
297 297
         if (empty($this->getType()) && !empty($this->definition['type'])) {
298
-             $this->setType($this->definition['type']);
298
+                $this->setType($this->definition['type']);
299 299
         }
300 300
 
301 301
         if (empty($this->getValue()) && !empty($this->definition['value'])) {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Faulancer\Form\Type;
4 4
 
5
-use Faulancer\Exception\ConfigInvalidException;
6 5
 use Faulancer\Exception\ServiceNotFoundException;
7 6
 use Faulancer\Form\Validator\AbstractValidator;
8 7
 use Faulancer\Service\Config;
@@ -10,7 +9,6 @@  discard block
 block discarded – undo
10 9
 use Faulancer\Service\SessionManagerService;
11 10
 use Faulancer\ServiceLocator\ServiceLocator;
12 11
 use Faulancer\Form\Validator\ValidatorChain;
13
-use Faulancer\ServiceLocator\ServiceLocatorAwareInterface;
14 12
 use Faulancer\ServiceLocator\ServiceLocatorInterface;
15 13
 use Faulancer\Session\SessionManager;
16 14
 
Please login to merge, or discard this patch.
src/Event/Observer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Faulancer\Event;
4 4
 
5
-use Faulancer\Exception\Exception;
6 5
 use Faulancer\Exception\ServiceNotFoundException;
7 6
 use Faulancer\Service\Config;
8 7
 use Faulancer\ServiceLocator\ServiceLocator;
Please login to merge, or discard this patch.
src/Controller/Dispatcher.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -8,8 +8,6 @@  discard block
 block discarded – undo
8 8
 
9 9
 use Faulancer\Event\Observer;
10 10
 use Faulancer\Event\Type\OnDispatch;
11
-use Faulancer\Exception\ClassNotFoundException;
12
-use Faulancer\Exception\DispatchFailureException;
13 11
 use Faulancer\Exception\IncompatibleResponseException;
14 12
 use Faulancer\Exception\ServiceNotFoundException;
15 13
 use Faulancer\Http\Http;
@@ -17,7 +15,6 @@  discard block
 block discarded – undo
17 15
 use Faulancer\Http\Request;
18 16
 use Faulancer\Http\Response;
19 17
 use Faulancer\Exception\MethodNotFoundException;
20
-use Faulancer\Service\AuthenticatorPlugin;
21 18
 use Faulancer\Service\AuthenticatorService;
22 19
 use Faulancer\Service\Config;
23 20
 use Faulancer\Service\SessionManagerService;
Please login to merge, or discard this patch.
src/View/Helper/CodeBlock.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 namespace Faulancer\View\Helper;
8 8
 
9 9
 use Faulancer\View\AbstractViewHelper;
10
-use Faulancer\View\ViewController;
11 10
 
12 11
 /**
13 12
  * Class CodeBlock
Please login to merge, or discard this patch.
src/View/Helper/Link.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Faulancer\View\Helper;
4 4
 
5
-use Faulancer\Exception\ConfigInvalidException;
6 5
 use Faulancer\Exception\RouteInvalidException;
7 6
 use Faulancer\Exception\ServiceNotFoundException;
8 7
 use Faulancer\Http\Request;
Please login to merge, or discard this patch.