Test Failed
Push — master ( e3ba09...03f0a0 )
by Flo
02:41
created
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.
src/View/ViewController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -339,7 +339,7 @@
 block discarded – undo
339 339
     /**
340 340
      * Abstraction of call_user_func_array
341 341
      *
342
-     * @param $class
342
+     * @param AbstractViewHelper $class
343 343
      * @param $arguments
344 344
      *
345 345
      * @return mixed
Please login to merge, or discard this patch.
src/View/Helper/RenderView.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
             $subview->setTemplatePath($this->view->getTemplatePath());
34 34
         }
35 35
 
36
-        $subview->setTemplate( $template );
37
-        $subview->setVariables( $variables );
36
+        $subview->setTemplate($template);
37
+        $subview->setVariables($variables);
38 38
         return $subview->render();
39 39
     }
40 40
 
Please login to merge, or discard this patch.
src/View/Helper/RenderBlock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function __invoke(string $block, string $defaultValue = '')
24 24
     {
25
-        if($this->view->getVariable($block) === '') {
25
+        if ($this->view->getVariable($block) === '') {
26 26
             return $defaultValue;
27 27
         }
28 28
         return trim($this->view->getVariable($block));
Please login to merge, or discard this patch.