Completed
Push — master ( b991b0...0f93a7 )
by Tyler
10:35 queued 09:22
created
src/Events/ViddlerError.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace LeadThread\Viddler\Upload\Events;
4 4
 
5
-use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
6
-use Illuminate\Queue\SerializesModels;
5
+use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
6
+use Illuminate\Queue\SerializesModels;
7 7
 use LeadThread\Viddler\Upload\Models\Viddler;
8 8
 
9 9
 class ViddlerError implements ShouldBroadcast
Please login to merge, or discard this patch.
src/Events/ViddlerFinished.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace LeadThread\Viddler\Upload\Events;
4 4
 
5
-use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
6
-use Illuminate\Queue\SerializesModels;
5
+use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
6
+use Illuminate\Queue\SerializesModels;
7 7
 use LeadThread\Viddler\Upload\Models\Viddler;
8 8
 
9 9
 class ViddlerFinished implements ShouldBroadcast
Please login to merge, or discard this patch.
src/Events/ViddlerProgress.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace LeadThread\Viddler\Upload\Events;
4 4
 
5
-use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
6
-use Illuminate\Queue\SerializesModels;
5
+use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
6
+use Illuminate\Queue\SerializesModels;
7 7
 use LeadThread\Viddler\Upload\Models\Viddler;
8 8
 
9 9
 class ViddlerProgress implements ShouldBroadcast
Please login to merge, or discard this patch.
src/Service.php 1 patch
Unused Use Statements   +5 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2,14 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace LeadThread\Viddler\Upload;
4 4
 
5
-use Exception;
6
-use Illuminate\Http\UploadedFile;
5
+use Illuminate\Http\UploadedFile;
6
+use LeadThread\Viddler\Upload\Components\ViddlerClient;
7
+use LeadThread\Viddler\Upload\Exceptions\ViddlerIncorrectVideoTypeException;
8
+use LeadThread\Viddler\Upload\Exceptions\ViddlerUploadFailedException;
9
+use LeadThread\Viddler\Upload\Models\Viddler;
7 10
 use Storage;
8
-use LeadThread\Viddler\Upload\Components\ViddlerClient;
9
-use LeadThread\Viddler\Upload\Exceptions\ViddlerIncorrectVideoTypeException;
10
-use LeadThread\Viddler\Upload\Exceptions\ViddlerUploadFailedException;
11
-use LeadThread\Viddler\Upload\Jobs\ProcessVideoJob;
12
-use LeadThread\Viddler\Upload\Models\Viddler;
13 11
 
14 12
 class Service
15 13
 {
Please login to merge, or discard this patch.
src/Components/ViddlerClient.php 1 patch
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace LeadThread\Viddler\Upload\Components;
4 4
 
5
-use Exception;
5
+use Exception;
6
+use LeadThread\Viddler\Api\Exceptions\ViddlerException;
7
+use LeadThread\Viddler\Api\Viddler as ViddlerV2;
8
+use LeadThread\Viddler\Upload\Events\ViddlerProgress;
9
+use LeadThread\Viddler\Upload\Models\Viddler;
6 10
 use LeadThread\Viddler\Upload\Traits\CanLog;
7
-use LeadThread\Viddler\Api\Exceptions\ViddlerException;
8
-use LeadThread\Viddler\Api\Viddler as ViddlerV2;
9
-use LeadThread\Viddler\Upload\Models\Viddler;
10
-use LeadThread\Viddler\Upload\Events\ViddlerProgress;
11 11
 
12 12
 class ViddlerClient
13 13
 {
Please login to merge, or discard this patch.
src/Models/Viddler.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
         return $this->file;
86 86
     }
87 87
 
88
+    /**
89
+     * @param string $status
90
+     */
88 91
     public function updateStatusTo($status)
89 92
     {
90 93
         $this->file->moveTo($status);
Please login to merge, or discard this patch.
Unused Use Statements   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace LeadThread\Viddler\Upload\Models;
4 4
 
5
-use Exception;
6
-use Illuminate\Database\Eloquent\Model;
5
+use Exception;
6
+use Illuminate\Database\Eloquent\Model;
7
+use LeadThread\Viddler\Upload\Components\ViddlerClient;
8
+use LeadThread\Viddler\Upload\Components\VideoFile;
9
+use LeadThread\Viddler\Upload\Events\ViddlerError;
10
+use LeadThread\Viddler\Upload\Events\ViddlerFinished;
7 11
 use LeadThread\Viddler\Upload\Traits\CanLog;
8
-use LeadThread\Viddler\Upload\Components\ViddlerClient;
9
-use LeadThread\Viddler\Upload\Components\VideoFile;
10
-use LeadThread\Viddler\Upload\Events\ViddlerError;
11
-use LeadThread\Viddler\Upload\Events\ViddlerFinished;
12 12
 
13 13
 /**
14 14
   * @property boolean $uploaded
Please login to merge, or discard this patch.