Completed
Push — main ( 3e1c9f...1d9eb2 )
by PRATIK
19s queued 16s
created
migrations/2019_12_14_000001_create_personal_access_tokens_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up(): void
13 13
     {
14
-        Schema::create('personal_access_tokens', function (Blueprint $table) {
14
+        Schema::create('personal_access_tokens', function(Blueprint $table) {
15 15
             $table->id();
16 16
             $table->morphs('tokenable');
17 17
             $table->string('name');
Please login to merge, or discard this patch.
database/migrations/2023_05_10_082941_create_pages_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up(): void
13 13
     {
14
-        Schema::create('pages', function (Blueprint $table) {
14
+        Schema::create('pages', function(Blueprint $table) {
15 15
             $table->id();
16 16
             $table->string('slug');
17 17
             $table->string('name');
Please login to merge, or discard this patch.
migrations/2014_10_12_100000_create_password_reset_tokens_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up(): void
13 13
     {
14
-        Schema::create('password_reset_tokens', function (Blueprint $table) {
14
+        Schema::create('password_reset_tokens', function(Blueprint $table) {
15 15
             $table->string('email')->primary();
16 16
             $table->string('token');
17 17
             $table->timestamp('created_at')->nullable();
Please login to merge, or discard this patch.
database/migrations/2023_05_09_090229_create_temporary_uploads_table.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
     public function up()
10 10
     {
11
-        Schema::create('temporary_uploads', function (Blueprint $table) {
11
+        Schema::create('temporary_uploads', function(Blueprint $table) {
12 12
             $table->id();
13 13
             $table->string('session_id');
14 14
             $table->timestamps();
Please login to merge, or discard this patch.
database/migrations/2023_05_11_074538_create_messages_table.php 1 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('messages', function (Blueprint $table) {
16
+        Schema::create('messages', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('name');
19 19
             $table->string('email')->nullable();
Please login to merge, or discard this patch.
database/migrations/2023_05_25_045247_create_software_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up(): void
13 13
     {
14
-        Schema::create('software', function (Blueprint $table) {
14
+        Schema::create('software', function(Blueprint $table) {
15 15
             $table->id();
16 16
             $table->string('slug');
17 17
             $table->string('name');
Please login to merge, or discard this patch.
database/migrations/2023_05_08_094045_create_categories_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up(): void
13 13
     {
14
-        Schema::create('categories', function (Blueprint $table) {
14
+        Schema::create('categories', function(Blueprint $table) {
15 15
             $table->id();
16 16
             $table->string('slug');
17 17
             $table->string('name');
Please login to merge, or discard this patch.
modules/medialibrarypro/src/Actions/ConvertLivewireUploadToMediaAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         $temporaryUpload = $temporaryUploadModelClass::createForFile(
38 38
             $uploadedFile,
39 39
             session()->getId(),
40
-            (string)Str::uuid(),
40
+            (string) Str::uuid(),
41 41
             $livewireUpload->getClientOriginalName()
42 42
         );
43 43
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         $livewireDisk = config('livewire.temporary_file_upload.disk', 's3');
53 53
 
54 54
         $livewireDirectory = FileUploadConfiguration::directory();
55
-        $remotePath = Str::of($livewireDirectory)->start('/')->finish('/') . $livewireUpload->getFilename();
55
+        $remotePath = Str::of($livewireDirectory)->start('/')->finish('/').$livewireUpload->getFilename();
56 56
 
57 57
         $temporaryUpload = $temporaryUploadModelClass::createForRemoteFile(
58 58
             $remotePath,
Please login to merge, or discard this patch.
payload/modules/medialibrarypro/src/Models/TemporaryUpload.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     public function registerMediaConversions(Media $media = null): void
36 36
     {
37
-        if (! config('media-library.generate_thumbnails_for_temporary_uploads')) {
37
+        if (!config('media-library.generate_thumbnails_for_temporary_uploads')) {
38 38
             return;
39 39
         }
40 40
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
     protected function getPreviewManipulation(): Closure
56 56
     {
57
-        return static::$manipulatePreview ?? function (Conversion $conversion) {
57
+        return static::$manipulatePreview ?? function(Conversion $conversion) {
58 58
             $conversion->fit(Manipulations::FIT_CROP, 300, 300);
59 59
         };
60 60
     }
@@ -73,13 +73,13 @@  discard block
 block discarded – undo
73 73
             ->where('uuid', $mediaUuid)
74 74
             ->first();
75 75
 
76
-        if (! $media) {
76
+        if (!$media) {
77 77
             return null;
78 78
         }
79 79
 
80 80
         $temporaryUpload = $media->model;
81 81
 
82
-        if (! $temporaryUpload instanceof TemporaryUpload) {
82
+        if (!$temporaryUpload instanceof TemporaryUpload) {
83 83
             return null;
84 84
         }
85 85
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
     public static function findByMediaUuidInCurrentSession(?string $mediaUuid): ?TemporaryUpload
90 90
     {
91
-        if (! $temporaryUpload = static::findByMediaUuid($mediaUuid)) {
91
+        if (!$temporaryUpload = static::findByMediaUuid($mediaUuid)) {
92 92
             return null;
93 93
         }
94 94
 
Please login to merge, or discard this patch.