Completed
Push — master ( d69cff...867d14 )
by Raí
14s
created
app/Http/Middleware/RedirectIfAuthenticated.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      *
17 17
      * @return mixed
18 18
      */
19
-    public function handle($request, Closure $next, $guard = null)
19
+    public function handle ($request, Closure $next, $guard = null)
20 20
     {
21 21
         if (Auth::guard($guard)->check()) {
22 22
             return redirect('/home');
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use Closure;
6 6
 use Illuminate\Support\Facades\Auth;
7 7
 
8
-class RedirectIfAuthenticated
9
-{
8
+class RedirectIfAuthenticated {
10 9
     /**
11 10
      * Handle an incoming request.
12 11
      *
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      *
17 17
      * @return mixed
18 18
      */
19
-    public function handle($request, Closure $next, $guard = null)
19
+    public function handle($request, Closure $next, $guard = NULL)
20 20
     {
21 21
         if (Auth::guard($guard)->check()) {
22 22
             return redirect('/home');
Please login to merge, or discard this patch.
app/Http/Middleware/EncryptCookies.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
6 6
 
7
-class EncryptCookies extends Middleware
8
-{
7
+class EncryptCookies extends Middleware {
9 8
     /**
10 9
      * The names of the cookies that should not be encrypted.
11 10
      *
Please login to merge, or discard this patch.
app/Http/Middleware/TrustProxies.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use Fideloper\Proxy\TrustProxies as Middleware;
6 6
 use Illuminate\Http\Request;
7 7
 
8
-class TrustProxies extends Middleware
9
-{
8
+class TrustProxies extends Middleware {
10 9
     /**
11 10
      * The trusted proxies for this application.
12 11
      *
Please login to merge, or discard this patch.
app/Http/Middleware/TrimStrings.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
6 6
 
7
-class TrimStrings extends Middleware
8
-{
7
+class TrimStrings extends Middleware {
9 8
     /**
10 9
      * The names of the attributes that should not be trimmed.
11 10
      *
Please login to merge, or discard this patch.
app/Http/Middleware/VerifyCsrfToken.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
6 6
 
7
-class VerifyCsrfToken extends Middleware
8
-{
7
+class VerifyCsrfToken extends Middleware {
9 8
     /**
10 9
      * The URIs that should be excluded from CSRF verification.
11 10
      *
Please login to merge, or discard this patch.
app/Http/Kernel.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Foundation\Http\Kernel as HttpKernel;
6 6
 
7
-class Kernel extends HttpKernel
8
-{
7
+class Kernel extends HttpKernel {
9 8
     /**
10 9
      * The application's global HTTP middleware stack.
11 10
      *
Please login to merge, or discard this patch.
app/Console/Kernel.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @return void
25 25
      */
26
-    protected function schedule(Schedule $schedule)
26
+    protected function schedule (Schedule $schedule)
27 27
     {
28 28
         // $schedule->command('inspire')
29 29
         //          ->hourly();
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @return void
36 36
      */
37
-    protected function commands()
37
+    protected function commands ()
38 38
     {
39 39
         $this->load(__DIR__.'/Commands');
40 40
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use Illuminate\Console\Scheduling\Schedule;
6 6
 use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
7 7
 
8
-class Kernel extends ConsoleKernel
9
-{
8
+class Kernel extends ConsoleKernel {
10 9
     /**
11 10
      * The Artisan commands provided by your application.
12 11
      *
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      *
36 36
      * @return void
37 37
      */
38
-    public function report(Exception $exception)
38
+    public function report (Exception $exception)
39 39
     {
40 40
         parent::report($exception);
41 41
     }
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      *
49 49
      * @return \Illuminate\Http\Response
50 50
      */
51
-    public function render($request, Exception $exception)
51
+    public function render ($request, Exception $exception)
52 52
     {
53 53
         return parent::render($request, $exception);
54 54
     }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use Exception;
6 6
 use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
7 7
 
8
-class Handler extends ExceptionHandler
9
-{
8
+class Handler extends ExceptionHandler {
10 9
     /**
11 10
      * A list of the exception types that are not reported.
12 11
      *
Please login to merge, or discard this patch.
public/index.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  *
6 6
  * @author   Taylor Otwell <[email protected]>
7 7
  */
8
-define('LARAVEL_START', microtime(true));
8
+define('LARAVEL_START', microtime(TRUE));
9 9
 
10 10
 /*
11 11
 |--------------------------------------------------------------------------
Please login to merge, or discard this patch.