Passed
Push — 0.8.x ( 41e10c...0c10bb )
by Alexander
06:16 queued 03:10
created
src/components/Core/Http/Exceptions/GoneHttpException.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -29,35 +29,35 @@
 block discarded – undo
29 29
  */
30 30
 class GoneHttpException extends HttpException
31 31
 {
32
-	/**
33
-	 * Get the HTTP status code.
34
-	 * 
35
-	 * @var int $code
36
-	 */
37
-	protected $code = 410;
32
+    /**
33
+     * Get the HTTP status code.
34
+     * 
35
+     * @var int $code
36
+     */
37
+    protected $code = 410;
38 38
 
39
-	/**
40
-	 * Initialize constructor. 
41
-	 * 
42
-	 * @param  string|null  $message 
43
-	 * @param  \Throwable|null  $previous
44
-	 * @param  int  $code
45
-	 * @param  array  $headers
46
-	 * 
47
-	 * @return void
48
-	 */
49
-	public function __construct(
50
-		string $message = null, 
51
-		Throwable $previous = null, 
52
-		int $code = 0, 
53
-		array $headers = []
54
-	) {
39
+    /**
40
+     * Initialize constructor. 
41
+     * 
42
+     * @param  string|null  $message 
43
+     * @param  \Throwable|null  $previous
44
+     * @param  int  $code
45
+     * @param  array  $headers
46
+     * 
47
+     * @return void
48
+     */
49
+    public function __construct(
50
+        string $message = null, 
51
+        Throwable $previous = null, 
52
+        int $code = 0, 
53
+        array $headers = []
54
+    ) {
55 55
         parent::__construct(
56
-			$this->code, 
57
-			$message, 
58
-			$previous, 
59
-			$headers, 
60
-			$code
61
-		);
62
-	}
56
+            $this->code, 
57
+            $message, 
58
+            $previous, 
59
+            $headers, 
60
+            $code
61
+        );
62
+    }
63 63
 }
64 64
\ No newline at end of file
Please login to merge, or discard this patch.
src/components/Core/Http/Middleware/VerifyCsrfToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
             $this->runningUnitTests() ||
96 96
             $this->inExceptArray($request) ||
97 97
             $this->tokensMatch($request)) {
98
-            return take($next($request), function ($response) use ($request) {
98
+            return take($next($request), function($response) use ($request) {
99 99
                 if ($this->addXsrfTokenCookie()) {
100 100
                     $this->addCookieToResponse($request, $response);
101 101
                 }
Please login to merge, or discard this patch.
src/components/Core/helpers.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -703,7 +703,7 @@  discard block
 block discarded – undo
703 703
 }
704 704
 
705 705
 if ( ! function_exists('segment')) {
706
-  /**
706
+    /**
707 707
      * Returns the desired segment, or $default if it does not exist.
708 708
      *
709 709
      * @param  int  $segment  
@@ -718,7 +718,7 @@  discard block
 block discarded – undo
718 718
 }
719 719
 
720 720
 if ( ! function_exists('segments')) {
721
-  /**
721
+    /**
722 722
      * Returns all segments in an array.
723 723
      *
724 724
      * @return array
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
 }
745 745
 
746 746
 if ( ! function_exists('totalSegments')) {
747
-  /**
747
+    /**
748 748
      * Returns the total number of segment.
749 749
      *
750 750
      * @return int
Please login to merge, or discard this patch.
src/components/Core/Bootstrap/BootRegisterProviders.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -29,15 +29,15 @@
 block discarded – undo
29 29
  */
30 30
 class BootRegisterProviders
31 31
 {
32
-	/**
33
-	 * Bootstrap the given application.
34
-	 * 
35
-	 * @param  \Syscodes\Components\Contracts\Core\Application  $app
36
-	 * 
37
-	 * @return void
38
-	 */
39
-	public function Bootstrap(Application $app)
40
-	{
41
-		return $app->registerConfiguredProviders();
42
-	}
32
+    /**
33
+     * Bootstrap the given application.
34
+     * 
35
+     * @param  \Syscodes\Components\Contracts\Core\Application  $app
36
+     * 
37
+     * @return void
38
+     */
39
+    public function Bootstrap(Application $app)
40
+    {
41
+        return $app->registerConfiguredProviders();
42
+    }
43 43
 }
44 44
\ No newline at end of file
Please login to merge, or discard this patch.
src/components/Core/Bootstrap/BootProviders.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -29,15 +29,15 @@
 block discarded – undo
29 29
  */
30 30
 class BootProviders
31 31
 {
32
-	/**
33
-	 * Bootstrap the given application.
34
-	 * 
35
-	 * @param  \Syscodes\Components\Contracts\Core\Application  $app
36
-	 * 
37
-	 * @return void
38
-	 */
39
-	public function Bootstrap(Application $app)
40
-	{
41
-		return $app->boot();
42
-	}
32
+    /**
33
+     * Bootstrap the given application.
34
+     * 
35
+     * @param  \Syscodes\Components\Contracts\Core\Application  $app
36
+     * 
37
+     * @return void
38
+     */
39
+    public function Bootstrap(Application $app)
40
+    {
41
+        return $app->boot();
42
+    }
43 43
 }
44 44
\ No newline at end of file
Please login to merge, or discard this patch.
src/components/Core/Bootstrap/BootDetectEnvironment.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,6 +109,6 @@
 block discarded – undo
109 109
                     Environment::getRepositoryCreator(),
110 110
                     $app->environmentPath(),
111 111
                     $app->environmentFile()
112
-               );
112
+                );
113 113
     }
114 114
 }
115 115
\ No newline at end of file
Please login to merge, or discard this patch.
src/components/Core/Bootstrap/BootConfiguration.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -30,24 +30,24 @@
 block discarded – undo
30 30
  */
31 31
 class BootConfiguration
32 32
 {	
33
-	/**
34
-	 * Bootstrap the given application.
35
-	 * 
36
-	 * @param  \Syscodes\Components\Contracts\Core\Application  $app
37
-	 * 
38
-	 * @return void
39
-	 */
40
-	public function bootstrap(Application $app)
41
-	{
42
-		$app->instance('config', $config = new Configure);
33
+    /**
34
+     * Bootstrap the given application.
35
+     * 
36
+     * @param  \Syscodes\Components\Contracts\Core\Application  $app
37
+     * 
38
+     * @return void
39
+     */
40
+    public function bootstrap(Application $app)
41
+    {
42
+        $app->instance('config', $config = new Configure);
43 43
 
44
-		// Finally, we will set the application's environment based on the configuration
45
-		// values that were loaded. 
46
-		$app->detectEnvironment(fn () => $config->get('app.env', 'production'));
44
+        // Finally, we will set the application's environment based on the configuration
45
+        // values that were loaded. 
46
+        $app->detectEnvironment(fn () => $config->get('app.env', 'production'));
47 47
 
48
-		// Set a default timezone if one is defined
49
-		date_default_timezone_set($config->get('app.timezone', 'UTC'));
48
+        // Set a default timezone if one is defined
49
+        date_default_timezone_set($config->get('app.timezone', 'UTC'));
50 50
 
51
-		mb_internal_encoding('UTF-8');
52
-	}
51
+        mb_internal_encoding('UTF-8');
52
+    }
53 53
 }
54 54
\ No newline at end of file
Please login to merge, or discard this patch.
src/components/Core/Support/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function register()
38 38
     {
39
-        $this->app->booted(function () {
39
+        $this->app->booted(function() {
40 40
             $this->app['router']->getRoutes()->refreshNameLookups();
41 41
             $this->app['router']->getRoutes()->refreshActionLookups();
42 42
         });
Please login to merge, or discard this patch.
src/components/Core/Console/Lenevor.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -64,11 +64,11 @@  discard block
 block discarded – undo
64 64
     protected $commands = [];
65 65
 
66 66
     /**
67
-	 * The event dispatcher instance.
68
-	 * 
69
-	 * @var \Syscodes\Components\Contracts\Events\Dispatcher $events
70
-	 */
71
-	protected $events;
67
+     * The event dispatcher instance.
68
+     * 
69
+     * @var \Syscodes\Components\Contracts\Events\Dispatcher $events
70
+     */
71
+    protected $events;
72 72
     
73 73
     /**
74 74
      * The Prime application instance.
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      * Shutdown the application.
153 153
      * 
154 154
      * @param  \Syscodes\Components\Contracts\Console\Input\Input  $input
155
-	 * @param  int  $status
155
+     * @param  int  $status
156 156
      * 
157 157
      * @return void
158 158
      */
Please login to merge, or discard this patch.