Completed
Push — master ( 760426...ed5624 )
by Phecho
30:44 queued 13:42
created
app/Handlers/Commands/Issue/AddIssueCommandHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Gitamin\Http\Controllers;
13 13
 
14 14
 use Gitamin\Facades\Setting;
15
-use Gitamin\Models\Project;
16 15
 use Gitter\Client;
17 16
 use Illuminate\Routing\Controller;
18 17
 use Illuminate\Support\Facades\View;
Please login to merge, or discard this patch.
app/Handlers/Commands/Issue/UpdateIssueCommandHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             'team_id'     => $command->team_id,
55 55
         ];
56 56
 
57
-        return array_filter($params, function ($val) {
57
+        return array_filter($params, function($val) {
58 58
             return $val !== null;
59 59
         });
60 60
     }
Please login to merge, or discard this patch.
app/Handlers/Commands/Project/AddProjectCommandHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             'team_id'     => $command->team_id,
55 55
         ];
56 56
 
57
-        return array_filter($params, function ($val) {
57
+        return array_filter($params, function($val) {
58 58
             return $val !== null;
59 59
         });
60 60
     }
Please login to merge, or discard this patch.
app/Handlers/Events/Subscriber/SendSubscriberVerificationEmailHandler.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         $this->mailer->queue([
55 55
             'html' => 'emails.users.invite-html',
56 56
             'text' => 'emails.users.invite-text',
57
-        ], $mail, function (Message $message) use ($mail) {
57
+        ], $mail, function(Message $message) use ($mail) {
58 58
             $message->to($mail['email'])->subject($mail['subject']);
59 59
         });
60 60
     }
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     /**
40 40
      * Handle the event.
41 41
      *
42
-     * @param \Gitamin\Events\SubscriberHasSubscribedEvent $event
42
+     * @param SubscriberHasSubscribedEvent $event
43 43
      *
44 44
      * @return void
45 45
      */
Please login to merge, or discard this patch.
app/Http/Controllers/AtomController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,13 +38,13 @@
 block discarded – undo
38 38
         $feed->setDateFormat('datetime');
39 39
 
40 40
         if ($group->exists) {
41
-            $group->projects->map(function ($project) use ($feed) {
42
-                $project->issues()->visible()->orderBy('created_at', 'desc')->get()->map(function ($issue) use ($feed) {
41
+            $group->projects->map(function($project) use ($feed) {
42
+                $project->issues()->visible()->orderBy('created_at', 'desc')->get()->map(function($issue) use ($feed) {
43 43
                     $this->feedAddItem($feed, $issue);
44 44
                 });
45 45
             });
46 46
         } else {
47
-            Issue::visible()->orderBy('created_at', 'desc')->get()->map(function ($issue) use ($feed) {
47
+            Issue::visible()->orderBy('created_at', 'desc')->get()->map(function($issue) use ($feed) {
48 48
                 $this->feedAddItem($feed, $issue);
49 49
             });
50 50
         }
Please login to merge, or discard this patch.
app/Http/Routes/AuthRoutes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             'middleware' => ['app.hasSetting', 'guest'],
30 30
             'setting'    => 'app_name',
31 31
             'as'         => 'signup.',
32
-        ], function ($router) {
32
+        ], function($router) {
33 33
             $router->get('signup/invite/{code}', [
34 34
                 'as'   => 'invite',
35 35
                 'uses' => 'SignupController@getSignup',
Please login to merge, or discard this patch.
app/Http/Routes/FeedRoutes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             'middleware' => ['app.hasSetting', 'guest'],
30 30
             'setting'    => 'app_name',
31 31
             'as'         => 'signup.',
32
-        ], function ($router) {
32
+        ], function($router) {
33 33
             $router->get('signup/invite/{code}', [
34 34
                 'as'   => 'invite',
35 35
                 'uses' => 'SignupController@getSignup',
Please login to merge, or discard this patch.
app/Models/Subscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     {
73 73
         parent::boot();
74 74
 
75
-        self::creating(function ($user) {
75
+        self::creating(function($user) {
76 76
             if (!$user->api_key) {
77 77
                 $user->api_key = self::generateApiKey();
78 78
             }
Please login to merge, or discard this patch.
app/Http/Controllers/Api/AbstractApiController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,6 @@
 block discarded – undo
173 173
     /**
174 174
      * Respond with a no content response.
175 175
      *
176
-     * @param string $message
177 176
      *
178 177
      * @return \Illuminate\Http\JsonResponse
179 178
      */
Please login to merge, or discard this patch.