Completed
Push — master ( 258038...68e8e6 )
by Karl
12s
created
app/Repositories/Contracts/UserRepositoryInterface.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 {
5 5
     public function confirm($token = null);
6 6
 
7
-    public function create($data = []);
7
+    public function create($data = [ ]);
8 8
 
9
-    public function getById($id = null, $options = []);
9
+    public function getById($id = null, $options = [ ]);
10 10
 
11
-    public function update($id = null, $data = []);
11
+    public function update($id = null, $data = [ ]);
12 12
 }
Please login to merge, or discard this patch.
database/migrations/2014_10_12_100000_create_tokens_table.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Illuminate\Support\Facades\Schema;
4
-use Illuminate\Database\Schema\Blueprint;
5 3
 use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6 6
 
7 7
 class CreateTokensTable extends Migration
8 8
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('tokens', function (Blueprint $table) {
16
+        Schema::create('tokens', function(Blueprint $table) {
17 17
             $table->string('token');
18 18
             $table->primary('token');
19 19
             $table->string('type');
Please login to merge, or discard this patch.
database/migrations/2014_10_12_000000_create_users_table.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('users', function (Blueprint $table) {
16
+        Schema::create('users', function(Blueprint $table) {
17 17
             $table->uuid('id');
18 18
             $table->primary('id');
19 19
             $table->string('email')->index();
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Illuminate\Support\Facades\Schema;
4
-use Illuminate\Database\Schema\Blueprint;
5 3
 use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6 6
 
7 7
 class CreateTokensTable extends Migration
8 8
 {
Please login to merge, or discard this patch.
server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  */
9 9
 
10 10
 $uri = urldecode(
11
-    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
11
+    parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH)
12 12
 );
13 13
 
14 14
 // This file allows us to emulate Apache's "mod_rewrite" functionality from the
Please login to merge, or discard this patch.
resources/lang/en/validation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,6 +112,6 @@
 block discarded – undo
112 112
     |
113 113
     */
114 114
 
115
-    'attributes' => [],
115
+    'attributes' => [ ],
116 116
 
117 117
 ];
Please login to merge, or discard this patch.
resources/views/vendor/notifications/email-plain.blade.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! empty($greeting)) {
3
+if (!empty($greeting)) {
4 4
     echo $greeting, "\n\n";
5 5
 } else {
6 6
     echo $level == 'error' ? 'Whoops!' : 'Hello!', "\n\n";
7 7
 }
8 8
 
9
-if (! empty($introLines)) {
9
+if (!empty($introLines)) {
10 10
     echo implode("\n", $introLines), "\n\n";
11 11
 }
12 12
 
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     echo "{$actionText}: {$actionUrl}", "\n\n";
15 15
 }
16 16
 
17
-if (! empty($outroLines)) {
17
+if (!empty($outroLines)) {
18 18
     echo implode("\n", $outroLines), "\n\n";
19 19
 }
20 20
 
Please login to merge, or discard this patch.
config/session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     |
110 110
     */
111 111
 
112
-    'lottery' => [2, 100],
112
+    'lottery' => [ 2, 100 ],
113 113
 
114 114
     /*
115 115
     |--------------------------------------------------------------------------
Please login to merge, or discard this patch.
config/database.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,18 +2,18 @@
 block discarded – undo
2 2
 if (env("DATABASE_URL") && env('DB_CONNECTION', 'pgsql_heroku')) {
3 3
     $pgsql_heroku = [
4 4
         'driver' => 'pgsql',
5
-        'host' => parse_url(getenv("DATABASE_URL"))["host"],
6
-        'port' => parse_url(getenv("DATABASE_URL"))["port"],
7
-        'database' => substr(parse_url(getenv("DATABASE_URL"))["path"], 1),
8
-        'username' => parse_url(getenv("DATABASE_URL"))["user"],
9
-        'password' => parse_url(getenv("DATABASE_URL"))["pass"],
5
+        'host' => parse_url(getenv("DATABASE_URL"))[ "host" ],
6
+        'port' => parse_url(getenv("DATABASE_URL"))[ "port" ],
7
+        'database' => substr(parse_url(getenv("DATABASE_URL"))[ "path" ], 1),
8
+        'username' => parse_url(getenv("DATABASE_URL"))[ "user" ],
9
+        'password' => parse_url(getenv("DATABASE_URL"))[ "pass" ],
10 10
         'charset' => 'utf8',
11 11
         'prefix' => '',
12 12
         'schema' => 'public',
13 13
         'sslmode' => 'prefer',
14 14
     ];
15 15
 } else {
16
-    $pgsql_heroku = [];
16
+    $pgsql_heroku = [ ];
17 17
 }
18 18
 
19 19
 return [
Please login to merge, or discard this patch.
routes/api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 |
14 14
 */
15 15
 
16
-Route::get('/user', function (Request $request) {
16
+Route::get('/user', function(Request $request) {
17 17
     return $request->user();
18 18
 })->middleware('auth:api');
Please login to merge, or discard this patch.