Passed
Push — master ( a46ae4...dbf10f )
by Alain
02:41 queued 17s
created
src/View/Engine/PHPEngine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     public function render($uri, array $context = [])
58 58
     {
59
-        if (! is_readable($uri)) {
59
+        if ( ! is_readable($uri)) {
60 60
             throw new FailedToLoadViewException(
61 61
                 sprintf(
62 62
                     _('The View URI "%1$s" is not accessible or readable.'),
Please login to merge, or discard this patch.
src/View/Location/FilesystemLocation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,12 +90,12 @@
 block discarded – undo
90 90
         try {
91 91
             foreach ($this->extensions as $extension) {
92 92
 
93
-                $uri = $entry . $extension;
93
+                $uri = $entry.$extension;
94 94
                 if (is_readable($uri)) {
95 95
                     return $uri;
96 96
                 }
97 97
 
98
-                $uri = $this->path . DIRECTORY_SEPARATOR . $uri;
98
+                $uri = $this->path.DIRECTORY_SEPARATOR.$uri;
99 99
                 if (is_readable($uri)) {
100 100
                     return $uri;
101 101
                 }
Please login to merge, or discard this patch.
src/View/ViewBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
             $type = $type($uri, $engine);
227 227
         }
228 228
 
229
-        if (! $type instanceof ViewInterface) {
229
+        if ( ! $type instanceof ViewInterface) {
230 230
             throw new FailedToInstantiateViewException(
231 231
                 sprintf(
232 232
                     _('Could not instantiate view "%s".'),
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
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      */
90 90
     public static function getDefaultConfig()
91 91
     {
92
-        return ConfigFactory::create(__DIR__ . '/../config/defaults.php')
92
+        return ConfigFactory::create(__DIR__.'/../config/defaults.php')
93 93
                             ->getSubConfig('BrightNucleus\View');
94 94
     }
95 95
 
Please login to merge, or discard this patch.
src/View/View/ViewFinder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
             $view = $this->initializeView($view, $uri, $engine);
68 68
         }
69 69
 
70
-        if (! is_object($this->nullObject)) {
70
+        if ( ! is_object($this->nullObject)) {
71 71
             $this->nullObject = new $this->nullObject();
72 72
         }
73 73
     }
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             $view = $view($uri, $engine);
95 95
         }
96 96
 
97
-        if (! $view instanceof ViewInterface) {
97
+        if ( ! $view instanceof ViewInterface) {
98 98
             throw new FailedToInstantiateViewException(
99 99
                 sprintf(
100 100
                     _('Could not instantiate view "%s".'),
Please login to merge, or discard this patch.
src/View/Engine/EngineFinder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             $engine = $this->initializeEngine($engine);
62 62
         }
63 63
 
64
-        if (! is_object($this->nullObject)) {
64
+        if ( ! is_object($this->nullObject)) {
65 65
             $this->nullObject = new $this->nullObject();
66 66
         }
67 67
     }
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             $engine = $engine();
87 87
         }
88 88
 
89
-        if (! $engine instanceof EngineInterface) {
89
+        if ( ! $engine instanceof EngineInterface) {
90 90
             throw new FailedToInstantiateEngineException(
91 91
                 sprintf(
92 92
                     _('Could not instantiate engine "%s".'),
Please login to merge, or discard this patch.