Completed
Push — master ( 13f591...316b3d )
by Şəhriyar
14s
created
database/migrations/2015_05_13_125906_create_users_oauth_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('users_oauth', function (Blueprint $table) {
15
+        Schema::create('users_oauth', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->unsignedInteger('user_id');
18 18
             $table->string('remote_provider', 32);
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function down()
36 36
     {
37
-        Schema::table('users_oauth', function (Blueprint $table) {
37
+        Schema::table('users_oauth', function(Blueprint $table) {
38 38
             $table->dropForeign('users_oauth_user_id_foreign');
39 39
         });
40 40
         Schema::drop('users_oauth');
Please login to merge, or discard this patch.
database/migrations/2015_11_17_140922_create_files_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('files', function (Blueprint $table) {
15
+        Schema::create('files', function(Blueprint $table) {
16 16
             $table->engine = 'InnoDb';
17 17
 
18 18
             $table->integer('id', true, true);
Please login to merge, or discard this patch.
bootstrap/app.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 */
13 13
 
14 14
 $app = new Illuminate\Foundation\Application(
15
-    realpath(__DIR__ . '/../')
15
+    realpath(__DIR__.'/../')
16 16
 );
17 17
 
18 18
 /*
Please login to merge, or discard this patch.
bootstrap/autoload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 | loading of any our classes "manually". Feels great to relax.
14 14
 |
15 15
 */
16
-require __DIR__ . '/../vendor/autoload.php';
16
+require __DIR__.'/../vendor/autoload.php';
17 17
 
18 18
 /*
19 19
 |--------------------------------------------------------------------------
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 | by a request. The Artisan "optimize" is used to create this file.
26 26
 |
27 27
 */
28
-$compiledPath = __DIR__ . '/cache/compiled.php';
28
+$compiledPath = __DIR__.'/cache/compiled.php';
29 29
 if (file_exists($compiledPath)) {
30 30
     require $compiledPath;
31 31
 }
Please login to merge, or discard this patch.
server.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 // built-in PHP web server. This provides a convenient way to test a Laravel
9 9
 // application without having installed a "real" web server software here.
10 10
 
11
-if ($uri !== '/' && file_exists(__DIR__ . '/public' . $uri)) {
11
+if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
12 12
     return false;
13 13
 }
14
-require_once __DIR__ . '/public/index.php';
14
+require_once __DIR__.'/public/index.php';
Please login to merge, or discard this patch.
app/Listeners/Files/PersistUploadedFile.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,10 +46,10 @@
 block discarded – undo
46 46
         /** @var \App\Models\User $me */
47 47
         $me = app('sentinel')->getUser();
48 48
         $tag = $request->get('qqtag');
49
-        $tagLimit = config('filesystems.allowed_tags_and_limits.' . $tag);
49
+        $tagLimit = config('filesystems.allowed_tags_and_limits.'.$tag);
50 50
         if ($tagLimit > 0) {
51 51
             $allFilesWithSameTagBelongingToUser = $me->load([
52
-                'files' => function (BelongsToMany $query) use ($tag) {
52
+                'files' => function(BelongsToMany $query) use ($tag) {
53 53
                     $query->wherePivot('tag', '=', $tag);
54 54
                 }
55 55
             ])->files;
Please login to merge, or discard this patch.
app/Http/Controllers/FilesController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             'qquuid' => 'required|string|size:36',
45 45
             'qqfilename' => 'required|string',
46 46
             'qqtotalfilesize' => 'required|numeric',
47
-            'qqtag' => 'required|string|in:' . implode(',', array_keys(config('filesystems.allowed_tags_and_limits'))),
47
+            'qqtag' => 'required|string|in:'.implode(',', array_keys(config('filesystems.allowed_tags_and_limits'))),
48 48
             'qqtotalparts' => 'required_with_all:qqpartindex,qqpartbyteoffset,qqchunksize|numeric',
49 49
             'qqpartindex' => 'required_with_all:qqtotalparts,qqpartbyteoffset,qqchunksize|numeric',
50 50
             'qqpartbyteoffset' => 'required_with_all:qqpartindex,qqtotalparts,qqchunksize|numeric',
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         /** @var \App\Models\User $me */
77 77
         $me = app('sentinel')->getUser();
78 78
 
79
-        $file = $me->with(['files' => function (BelongsToMany $query) use ($hash) {
79
+        $file = $me->with(['files' => function(BelongsToMany $query) use ($hash) {
80 80
             $query->where('hash', '=', $hash);
81 81
         }])->first()->files->first();
82 82
 
Please login to merge, or discard this patch.
app/Http/Controllers/Users/AuthController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function __construct()
18 18
     {
19 19
         if (!empty($locale = app('translator')->getLocale()) && $locale != app('config')->get('app.locale')) {
20
-            $this->redirectTo = '/' . $locale . $this->redirectTo;
20
+            $this->redirectTo = '/'.$locale.$this->redirectTo;
21 21
         }
22 22
 
23 23
         $this->middleware('guest', ['except' => 'getLogout']);
Please login to merge, or discard this patch.
app/Console/Commands/Inspire.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,6 @@
 block discarded – undo
28 28
      */
29 29
     public function handle()
30 30
     {
31
-        $this->comment(PHP_EOL . Inspiring::quote() . PHP_EOL);
31
+        $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.