Passed
Push — master ( 5ebdc1...038fc1 )
by Gabriel
15:21
created
src/Traits/MethodsOverloadingTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     {
51 51
         return $this->getCallPipelineBuilder()->build(
52 52
             (
53
-            new InterruptibleProcessor(function (MethodCall $method) {
53
+            new InterruptibleProcessor(function(MethodCall $method) {
54 54
                 return !$method->hasReturn();
55 55
             })
56 56
             )
Please login to merge, or discard this patch.
src/Extensions/Helpers/HelpersExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@
 block discarded – undo
25 25
         $view->getCallPipelineBuilder()->add(new HelpersPipelineStage());
26 26
         HelpersCollection::getInstance()->setEngine($view);
27 27
 
28
-        $view->addMethod('getHelper', function ($name) {
28
+        $view->addMethod('getHelper', function($name) {
29 29
             return HelpersCollection::getInstance()->getHelper($name);
30 30
         });
31 31
 
32
-        $view->addMethod('hasHelper', function ($name) {
32
+        $view->addMethod('hasHelper', function($name) {
33 33
             return HelpersCollection::getInstance()->hasHelper($name);
34 34
         });
35 35
     }
Please login to merge, or discard this patch.
src/View.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     public function render($block = 'default')
51 51
     {
52 52
         if (!empty($this->blocks[$block])) {
53
-            $this->load("/" . $this->blocks[$block]);
53
+            $this->load("/".$this->blocks[$block]);
54 54
         } else {
55 55
             trigger_error("No $block block", E_USER_ERROR);
56 56
         }
Please login to merge, or discard this patch.
src/Traits/HasHelpersTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,6 @@
 block discarded – undo
67 67
      */
68 68
     public function getHelperClass($name)
69 69
     {
70
-        return '\Nip\Helpers\View\\' . $name;
70
+        return '\Nip\Helpers\View\\'.$name;
71 71
     }
72 72
 }
Please login to merge, or discard this patch.
src/Traits/HasPathsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function setBasePath($path)
33 33
     {
34
-        $path = rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
34
+        $path = rtrim($path, DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR;
35 35
         $this->basePath = $path;
36 36
         $this->getFinder()->prependPath($path);
37 37
         return $this;
Please login to merge, or discard this patch.
src/Email.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     public function initBasePath()
28 28
     {
29
-        $this->setBasePath(MODULES_PATH . Request::instance()->getModuleName() . '/views/');
29
+        $this->setBasePath(MODULES_PATH.Request::instance()->getModuleName().'/views/');
30 30
     }
31 31
 
32 32
     /**
Please login to merge, or discard this patch.
src/Helpers/HelpersFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
                 return $nameVariation;
41 41
             }
42 42
         }
43
-        return '\Nip\Helpers\View\\' . $name;
43
+        return '\Nip\Helpers\View\\'.$name;
44 44
     }
45 45
 
46 46
     /**
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     public static function getHelperClassVariations($name)
51 51
     {
52 52
         return [
53
-            '\Nip\View\Helpers\\' . $name . 'Helper',
53
+            '\Nip\View\Helpers\\'.$name.'Helper',
54 54
         ];
55 55
     }
56 56
 }
Please login to merge, or discard this patch.
src/Traits/ModuleView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         $reflector = new ReflectionClass(get_class($this));
44 44
         $dirName = dirname($reflector->getFileName());
45 45
 
46
-        return dirname(dirname($dirName)) . DIRECTORY_SEPARATOR . "views" . DIRECTORY_SEPARATOR;
46
+        return dirname(dirname($dirName)).DIRECTORY_SEPARATOR."views".DIRECTORY_SEPARATOR;
47 47
     }
48 48
 
49 49
     /**
Please login to merge, or discard this patch.
src/XLS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     public function initBasePath()
11 11
     {
12
-        $this->setBasePath(MODULES_PATH . Request::instance()->getModuleName() . '/views/');
12
+        $this->setBasePath(MODULES_PATH.Request::instance()->getModuleName().'/views/');
13 13
     }
14 14
 
15 15
     public function output($view, $name)
Please login to merge, or discard this patch.