Test Failed
Push — main ( a34f0c...2bd355 )
by Mostafa
14:43 queued 10:31
created
src/Laravel/LaravelPdfOptimizer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,7 @@
 block discarded – undo
25 25
             $this->disk = null;
26 26
 
27 27
             $file = File::make($file->getRealPath(), $this->disk);
28
-        }
29
-        else {
28
+        } else {
30 29
             $file = File::make($file, $this->disk);
31 30
         }
32 31
 
Please login to merge, or discard this patch.
src/Jobs/PdfOptimizerJob.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,7 @@
 block discarded – undo
38 38
 
39 39
         if ($result->status) {
40 40
             $this->data->logger?->info('Job finished successfully.');
41
-        }
42
-        else {
41
+        } else {
43 42
             $this->data->logger?->error('Job finished with error.');
44 43
 
45 44
             $this->fail($result->message);
Please login to merge, or discard this patch.
src/Helpers/Utils.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@
 block discarded – undo
11 11
         // @codeCoverageIgnoreStart
12 12
         if (ini_get('upload_tmp_dir')) {
13 13
             $path = ini_get('upload_tmp_dir');
14
-        }
15
-        else if (getenv('temp')) {
14
+        } else if (getenv('temp')) {
16 15
             $path = getenv('temp');
17 16
         }
18 17
         // @codeCoverageIgnoreEnd
Please login to merge, or discard this patch.