Completed
Push — master ( e9c310...fb54d7 )
by Ricardo
11:25
created
src/GamerProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
     /**
197 197
      * Get the services provided by the provider.
198 198
      *
199
-     * @return array
199
+     * @return string[]
200 200
      */
201 201
     public function provides()
202 202
     {
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -41,17 +41,13 @@
 block discarded – undo
41 41
  */
42 42
 namespace Gamer;
43 43
 
44
-use App;
45 44
 use Config;
46 45
 use Gamer\Facades\Gamer as GamerFacade;
47 46
 use Gamer\Services\GamerService;
48 47
 use Illuminate\Foundation\AliasLoader;
49 48
 
50
-use Illuminate\Routing\Router;
51
-use Illuminate\Support\Collection;
52 49
 use Illuminate\Support\Facades\View;
53 50
 use Illuminate\Support\ServiceProvider;
54
-use JeroenNoten\LaravelAdminLte\Events\BuildingMenu;
55 51
 
56 52
 use Log;
57 53
 
Please login to merge, or discard this patch.
src/Jobs/PingJob.php 1 patch
Unused Use Statements   +2 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,13 +3,10 @@
 block discarded – undo
3 3
 namespace Gamer\Jobs;
4 4
 
5 5
 use Illuminate\Bus\Queueable;
6
-use Illuminate\Queue\SerializesModels;
7
-use Illuminate\Queue\InteractsWithQueue;
8 6
 use Illuminate\Contracts\Queue\ShouldQueue;
9 7
 use Illuminate\Foundation\Bus\Dispatchable;
10
-
11
-use Gamer\Models\Order;
12
-use Log;
8
+use Illuminate\Queue\InteractsWithQueue;
9
+use Illuminate\Queue\SerializesModels;
13 10
 
14 11
 class NotifyOrderChangeJob implements ShouldQueue
15 12
 {
Please login to merge, or discard this patch.
src/Jobs/RoutineOrganizerCreateJob.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Execute the job.
37 37
      *
38
-     * @return void
38
+     * @return boolean
39 39
      */
40 40
     public function handle()
41 41
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,15 +3,13 @@
 block discarded – undo
3 3
 namespace Gamer\Jobs;
4 4
 
5 5
 use Illuminate\Bus\Queueable;
6
-use Illuminate\Queue\SerializesModels;
7
-use Illuminate\Queue\InteractsWithQueue;
8 6
 use Illuminate\Contracts\Queue\ShouldQueue;
9 7
 use Illuminate\Foundation\Bus\Dispatchable;
8
+use Illuminate\Queue\InteractsWithQueue;
9
+use Illuminate\Queue\SerializesModels;
10 10
 
11 11
 use App\Models\User;
12 12
 use Gamer\Models\Role;
13
-use Gamer\Services\PaymentGatewayService;
14
-use Log;
15 13
 use Gamer\Tools\Organizer;
16 14
 
17 15
 class RoutineOrganizerCreateJob implements ShouldQueue
Please login to merge, or discard this patch.
src/Jobs/RoutineTrackingCustomerJob.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,13 +3,12 @@
 block discarded – undo
3 3
 namespace Gamer\Jobs;
4 4
 
5 5
 use Illuminate\Bus\Queueable;
6
-use Illuminate\Queue\SerializesModels;
7
-use Illuminate\Queue\InteractsWithQueue;
8 6
 use Illuminate\Contracts\Queue\ShouldQueue;
9 7
 use Illuminate\Foundation\Bus\Dispatchable;
8
+use Illuminate\Queue\InteractsWithQueue;
9
+use Illuminate\Queue\SerializesModels;
10 10
 
11 11
 use Gamer\Models\Customer;
12
-use Log;
13 12
 
14 13
 class RoutineTrackingUserDeviseJob implements ShouldQueue
15 14
 {
Please login to merge, or discard this patch.
src/Jobs/Sms.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * Execute the job.
32 32
      *
33
-     * @return void
33
+     * @return boolean
34 34
      */
35 35
     public function handle()
36 36
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace Gamer\Jobs;
4 4
 
5 5
 use Illuminate\Bus\Queueable;
6
-use Illuminate\Queue\SerializesModels;
7
-use Illuminate\Queue\InteractsWithQueue;
8 6
 use Illuminate\Contracts\Queue\ShouldQueue;
9 7
 use Illuminate\Foundation\Bus\Dispatchable;
8
+use Illuminate\Queue\InteractsWithQueue;
9
+use Illuminate\Queue\SerializesModels;
10 10
 use Log;
11 11
 
12 12
 class Sms implements ShouldQueue
Please login to merge, or discard this patch.
src/Notifications/Organizer/ServiceDied.php 1 patch
Unused Use Statements   +2 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,16 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Gamer\Notifications\Organizer;
4 4
 
5
+use Gamer\Channels\Messages\SmsMessage;
6
+use Gamer\Channels\SmsChannel;
5 7
 use Illuminate\Bus\Queueable;
6 8
 use Illuminate\Contracts\Queue\ShouldQueue;
7
-use Illuminate\Queue\SerializesModels;
8 9
 use Illuminate\Notifications\Messages\MailMessage;
9 10
 use Illuminate\Notifications\Notification;
10
-use NotificationChannels\Zenvia\ZenviaChannel;
11
-use NotificationChannels\Zenvia\ZenviaMessage;
12 11
 use Log;
13
-use Gamer\Channels\SmsChannel;
14
-use Gamer\Channels\Messages\SmsMessage;
15 12
 
16 13
 class ServiceDied extends Notification implements ShouldQueue
17 14
 {
Please login to merge, or discard this patch.
src/Observers/BaseObserver.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
     protected $action = false;
26 26
     
27 27
 
28
+    /**
29
+     * @param string $event
30
+     */
28 31
     protected function isToIgnore($model, $event)
29 32
     {
30 33
         // Don't log changes to pivot models.  Even though a user may have initiated
Please login to merge, or discard this patch.
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -2,12 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Gamer\Observers;
4 4
 
5
-use Event;
6
-use Illuminate\Support\Str;
7
-use Log;
8
-use Symfony\Component\Debug\Exception\FatalThrowableError;
9
-use Throwable;
10
-
11 5
 /**
12 6
  * @todo Passar pa/ support
13 7
  * Call no-op classes on models for all event types.  This just simplifies
Please login to merge, or discard this patch.
src/Observers/LoginObserver.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Gamer\Observers;
4 4
 
5
-use Event;
6 5
 use Log;
7
-use Request;
8 6
 
9 7
 /**
10 8
  * Take input from a Many to Many Checklist and commit it to the db,
Please login to merge, or discard this patch.
src/Policies/TopicPolicy.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Gamer\Policies;
4 4
 
5
-use Illuminate\Auth\Access\HandlesAuthorization;
6
-use App\Models\User;
7 5
 use App\Models\Topic;
6
+use App\Models\User;
7
+use Illuminate\Auth\Access\HandlesAuthorization;
8 8
 
9 9
 class TopicPolicy
10 10
 {
Please login to merge, or discard this patch.