Test Failed
Push — main ( 680892...12263f )
by ikechukwu
12:25
created
src/Support/BasicFileUpload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public static function fileUpload(): bool|FileUploadModel|EloquentCollection
21 21
     {
22
-        if(self::$request->file()) {
22
+        if (self::$request->file()) {
23 23
             self::storeFiles();
24 24
 
25 25
             if (is_array(self::$request->file(self::$input))) {
Please login to merge, or discard this patch.
...03_03_145756_increase_file_name_and_url_length_in_file_uploads_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      */
12 12
     public function up(): void
13 13
     {
14
-        Schema::table('file_uploads', function (Blueprint $table) {
14
+        Schema::table('file_uploads', function(Blueprint $table) {
15 15
             $table->string('file_name', 510)->change();
16 16
             $table->string('url', 765)->change();
17 17
         });
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function down(): void
24 24
     {
25
-        Schema::table('file_uploads', function (Blueprint $table) {
25
+        Schema::table('file_uploads', function(Blueprint $table) {
26 26
             $table->string('file_name', '255')->change();
27 27
             $table->string('url', '255')->change();
28 28
         });
Please login to merge, or discard this patch.
Tests/TestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     protected function defineDatabaseMigrations()
16 16
     {
17 17
         $this->loadLaravelMigrations();
18
-        $this->loadMigrationsFrom(__DIR__.'/../src/migrations');
18
+        $this->loadMigrationsFrom(__DIR__ . '/../src/migrations');
19 19
     }
20 20
 
21 21
     protected function getPackageProviders($app): array
Please login to merge, or discard this patch.
Tests/FileUploadTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         Storage::fake(config('clamavfileupload.disk'));
24 24
 
25 25
         $file = __DIR__ . '/file/lorem-ipsum.pdf';
26
-        if (! is_dir($tmpDir = __DIR__ . '/tmp')) {
26
+        if (!is_dir($tmpDir = __DIR__ . '/tmp')) {
27 27
             mkdir($tmpDir, 0755, true);
28 28
         }
29 29
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         Storage::fake(config('clamavfileupload.disk'));
54 54
 
55 55
         $file = __DIR__ . '/file/lorem-ipsum.pdf';
56
-        if (! is_dir($tmpDir = __DIR__ . '/tmp')) {
56
+        if (!is_dir($tmpDir = __DIR__ . '/tmp')) {
57 57
             mkdir($tmpDir, 0755, true);
58 58
         }
59 59
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         Storage::fake(config('clamavfileupload.disk'));
91 91
 
92 92
         $file = __DIR__ . '/file/lorem-ipsum.pdf';
93
-        if (! is_dir($tmpDir = __DIR__ . '/tmp')) {
93
+        if (!is_dir($tmpDir = __DIR__ . '/tmp')) {
94 94
             mkdir($tmpDir, 0755, true);
95 95
         }
96 96
 
Please login to merge, or discard this patch.