Passed
Push — 0.7.0 ( 679d5f...dd56a8 )
by Alexander
03:01 queued 10s
created
src/components/Session/Store.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -356,7 +356,7 @@
 block discarded – undo
356 356
      */
357 357
     public function regenerate($destroy = false)
358 358
     {
359
-        return take($this->migrate($destroy), function () {
359
+        return take($this->migrate($destroy), function() {
360 360
             $this->regenerateToken();
361 361
         });
362 362
     }
Please login to merge, or discard this patch.
src/components/View/FileViewFinder.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
             }
171 171
         }
172 172
         
173
-       throw new ViewException(__('view.notFound', ['file' => $name]));
173
+        throw new ViewException(__('view.notFound', ['file' => $name]));
174 174
     }
175 175
 
176 176
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
      */
183 183
     protected function getFindViewFiles($name)
184 184
     {
185
-        return array_map(function ($extension) use ($name) {
185
+        return array_map(function($extension) use ($name) {
186 186
             return str_replace('.', DIRECTORY_SEPARATOR, $name).'.'.$extension;   
187 187
         }, $this->getExtensions());
188 188
     }
Please login to merge, or discard this patch.
src/components/View/Transpilers/Transpiler.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
         }
98 98
 
99 99
         return $this->files->lastModified($path) >=
100
-               $this->files->lastModified($compiled);
100
+                $this->files->lastModified($compiled);
101 101
     }
102 102
 }
103 103
 
Please login to merge, or discard this patch.
src/components/View/Concerns/ManagesIncludes.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -30,16 +30,16 @@
 block discarded – undo
30 30
  */
31 31
 trait ManagesIncludes
32 32
 {
33
-	/**
34
-	 * Include another view in a view.
35
-	 * 
36
-	 * @param  string  $file
37
-	 * @param  array  $data
38
-	 * 
39
-	 * @return string
40
-	 */
41
-	public function include($file, $data = [])
42
-	{
43
-		return $this->make($file, $data)->render();
44
-	}
33
+    /**
34
+     * Include another view in a view.
35
+     * 
36
+     * @param  string  $file
37
+     * @param  array  $data
38
+     * 
39
+     * @return string
40
+     */
41
+    public function include($file, $data = [])
42
+    {
43
+        return $this->make($file, $data)->render();
44
+    }
45 45
 }
46 46
\ No newline at end of file
Please login to merge, or discard this patch.
src/components/View/Extensions.php 1 patch
Indentation   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -30,45 +30,45 @@
 block discarded – undo
30 30
  */
31 31
 trait Extensions
32 32
 {
33
-	/**
34
-	 * The file extension.
35
-	 *
36
-	 * @var array $extension
37
-	 */
38
-	protected $extension = [
39
-		'plaze.php', 
40
-		'php',
41
-		'html',
42
-	];
33
+    /**
34
+     * The file extension.
35
+     *
36
+     * @var array $extension
37
+     */
38
+    protected $extension = [
39
+        'plaze.php', 
40
+        'php',
41
+        'html',
42
+    ];
43 43
 	
44
-	/**
45
-	 * The type to engine bindings.
46
-	 *
47
-	 * @var array $extensions
48
-	 */
49
-	protected $extensions = [
50
-		'plaze.php' => 'plaze', 
51
-		'php' => 'php',
52
-		'html' => 'file',
53
-	];
44
+    /**
45
+     * The type to engine bindings.
46
+     *
47
+     * @var array $extensions
48
+     */
49
+    protected $extensions = [
50
+        'plaze.php' => 'plaze', 
51
+        'php' => 'php',
52
+        'html' => 'file',
53
+    ];
54 54
 
55
-	/**
56
-	 * Get the template file extension.
57
-	 * 
58
-	 * @return array
59
-	 */
60
-	public function getExtensions()
61
-	{
62
-		return $this->extension;
63
-	}
55
+    /**
56
+     * Get the template file extension.
57
+     * 
58
+     * @return array
59
+     */
60
+    public function getExtensions()
61
+    {
62
+        return $this->extension;
63
+    }
64 64
 
65
-	/**
66
-	 * Get type to engine bindings.
67
-	 * 
68
-	 * @return array
69
-	 */
70
-	public function getKeysToExtensions()
71
-	{
72
-		return array_keys($this->extensions);
73
-	}
65
+    /**
66
+     * Get type to engine bindings.
67
+     * 
68
+     * @return array
69
+     */
70
+    public function getKeysToExtensions()
71
+    {
72
+        return array_keys($this->extensions);
73
+    }
74 74
 }
75 75
\ No newline at end of file
Please login to merge, or discard this patch.
src/components/Log/LogManager.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,10 +36,10 @@
 block discarded – undo
36 36
 class LogManager implements LoggerInterface
37 37
 {
38 38
     /**
39
-	 * The application implementation.
40
-	 * 
41
-	 * @var \Syscodes\Contracts\Core\Application $app
42
-	 */
39
+     * The application implementation.
40
+     * 
41
+     * @var \Syscodes\Contracts\Core\Application $app
42
+     */
43 43
     protected $app;
44 44
     
45 45
     /**
Please login to merge, or discard this patch.
src/components/Log/Handlers/FileLogger.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,10 +40,10 @@
 block discarded – undo
40 40
     use ParseLogEnvironment;
41 41
     
42 42
     /**
43
-	 * The application implementation.
44
-	 * 
45
-	 * @var \Syscodes\Contracts\Core\Application $app
46
-	 */
43
+     * The application implementation.
44
+     * 
45
+     * @var \Syscodes\Contracts\Core\Application $app
46
+     */
47 47
     protected $app;
48 48
 
49 49
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
         
157 157
         foreach ($context as $key => $value) {
158 158
             if ($key === 'exception' && $value instanceof Throwable) {
159
-                $value = $value->getMessage() . ' ' . $this->cleanFileNames($value->getFile()) . ':' . $value->getLine();
159
+                $value = $value->getMessage().' '.$this->cleanFileNames($value->getFile()).':'.$value->getLine();
160 160
                 // Todo - sanitize input before writing to file?
161 161
                 $replace["{{$key}}"] = $value;
162 162
             } elseif (null === $value || is_scalar($value) || (is_object($value) && method_exists($value, '__toString'))) {
Please login to merge, or discard this patch.
src/components/Log/LoggerServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function register()
41 41
     {
42
-        $this->app->singleton('log', function () { 
42
+        $this->app->singleton('log', function() { 
43 43
             return new LogManager($this->app);
44 44
         });
45 45
     }
Please login to merge, or discard this patch.
src/components/Debug/Exceptions/Resources/views/code_source.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,11 @@
 block discarded – undo
37 37
     <div id="frame-code-args-<?=$index?>" class="code-block frame-args">
38 38
         <?= $frameArgs ?>
39 39
     </div>
40
-    <?php else: ?>
40
+    <?php else {
41
+    : ?>
41 42
         <div class="frame-noArgument"><?= e(__('exception.noArguments')) ?></div>
42
-    <?php endif; ?>
43
+    <?php endif;
44
+}
45
+?>
43 46
 </div>
44 47
 <?php endforeach; ?>
45 48
\ No newline at end of file
Please login to merge, or discard this patch.