Completed
Push — master ( 5b2853...904b84 )
by Ricardo
03:18
created
src/Listeners/FieldConfigChangeListener.php 2 patches
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,6 +55,7 @@  discard block
 block discarded – undo
55 55
      *
56 56
      * @param  string  $field_id
57 57
      * @param  int flag
58
+     * @param integer $flag
58 59
      * @return void
59 60
      */
60 61
     public function updateSchema($field_id, $flag)
@@ -91,7 +92,7 @@  discard block
 block discarded – undo
91 92
      * unset the issue value of this field.
92 93
      *
93 94
      * @param  string  $project_key
94
-     * @param  string  $field_id
95
+     * @param  string  $field_key
95 96
      * @return void
96 97
      */
97 98
     public function unsetIssueVal($project_key, $field_key, $field_type)
@@ -133,7 +134,7 @@  discard block
 block discarded – undo
133 134
      * update the kanban card display fields.
134 135
      *
135 136
      * @param  string  $project_key
136
-     * @param  string  $field_id
137
+     * @param  string  $field_key
137 138
      * @return void
138 139
      */
139 140
     public function updateKanbanDisplayFields($project_key, $field_key)
@@ -170,7 +171,7 @@  discard block
 block discarded – undo
170 171
      * update the issue list display columns.
171 172
      *
172 173
      * @param  string  $project_key
173
-     * @param  string  $field_id
174
+     * @param  string  $field_key
174 175
      * @return void
175 176
      */
176 177
     public function updateDisplayColumns($project_key, $field_key)
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,12 +8,10 @@
 block discarded – undo
8 8
 
9 9
 use Fabrica\Customization\Eloquent\Field;
10 10
 use Fabrica\Customization\Eloquent\Screen;
11
-use Fabrica\Project\Eloquent\UserIssueListColumns;
12
-use Fabrica\Project\Eloquent\ProjectIssueListColumns;
13 11
 use Fabrica\Project\Eloquent\Board;
14 12
 use Fabrica\Project\Eloquent\Project;
15
-use Illuminate\Queue\InteractsWithQueue;
16
-use Illuminate\Contracts\Queue\ShouldQueue;
13
+use Fabrica\Project\Eloquent\ProjectIssueListColumns;
14
+use Fabrica\Project\Eloquent\UserIssueListColumns;
17 15
 
18 16
 use DB;
19 17
 
Please login to merge, or discard this patch.
src/Listeners/FileChangeListener.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * Handle the event.
27 27
      *
28
-     * @param  FileChangeEvent  $event
28
+     * @param  Event  $event
29 29
      * @return void
30 30
      */
31 31
     public function handle(Event $event)
@@ -47,6 +47,7 @@  discard block
 block discarded – undo
47 47
      * @param  string  $field_key
48 48
      * @param  string  $file_id
49 49
      * @param  int flag
50
+     * @param integer $flag
50 51
      * @return void
51 52
      */
52 53
     public function updIssueField($project_key, $issue_id, $field_key, $file_id, $user, $flag)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,13 +2,10 @@
 block discarded – undo
2 2
 namespace Fabrica\Listeners;
3 3
 
4 4
 use Fabrica\Events\Event;
5
-use Fabrica\Events\FileUploadEvent;
6 5
 use Fabrica\Events\FileDelEvent;
6
+use Fabrica\Events\FileUploadEvent;
7 7
 use Fabrica\Project\Provider;
8 8
 
9
-use Illuminate\Queue\InteractsWithQueue;
10
-use Illuminate\Contracts\Queue\ShouldQueue;
11
-
12 9
 use DB;
13 10
 
14 11
 class FileChangeListener 
Please login to merge, or discard this patch.
src/Listeners/GroupDelListener.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Handle the event.
28 28
      *
29
-     * @param  FieldChangeEvent  $event
29
+     * @param  Event  $event
30 30
      * @return void
31 31
      */
32 32
     public function handle(Event $event)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,15 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Listeners;
4 4
 
5
-use Fabrica\Events\Event;
6
-use Fabrica\Events\DelUserEvent;
7 5
 use Fabrica\Acl\Eloquent\Roleactor;
8
-use Fabrica\Acl\Eloquent\Group;
6
+use Fabrica\Events\Event;
9 7
 use Fabrica\Project\Eloquent\UserGroupProject;
10 8
 
11
-use Illuminate\Queue\InteractsWithQueue;
12
-use Illuminate\Contracts\Queue\ShouldQueue;
13
-
14 9
 class GroupDelListener 
15 10
 {
16 11
     /**
Please login to merge, or discard this patch.
src/Listeners/GroupRoleSetListener.php 2 patches
Unused Use Statements   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,13 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Listeners;
4 4
 
5
-use Fabrica\Events\Event;
6 5
 use Fabrica\Events\AddGroupToRoleEvent;
7 6
 use Fabrica\Events\DelGroupFromRoleEvent;
7
+use Fabrica\Events\Event;
8 8
 
9 9
 use Fabrica\Project\Eloquent\UserGroupProject;
10
-use Illuminate\Queue\InteractsWithQueue;
11
-use Illuminate\Contracts\Queue\ShouldQueue;
12 10
 
13 11
 class GroupRoleSetListener 
14 12
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Handle the event.
28 28
      *
29
-     * @param  FieldChangeEvent  $event
29
+     * @param  Event  $event
30 30
      * @return void
31 31
      */
32 32
     public function handle(Event $event)
Please login to merge, or discard this patch.
src/Listeners/NoticeAddListener.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * Handle the event.
27 27
      *
28
-     * @param  FileChangeEvent  $event
28
+     * @param  Event  $event
29 29
      * @return void
30 30
      */
31 31
     public function handle(Event $event)
@@ -51,7 +51,6 @@  discard block
 block discarded – undo
51 51
      *
52 52
      * @param  string $project_key
53 53
      * @param  string $issue_id
54
-     * @param  string $activity_id
55 54
      * @return void
56 55
      */
57 56
     public function putMQ($project_key, $issue_id, $user, $param)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,13 +2,10 @@
 block discarded – undo
2 2
 namespace Fabrica\Listeners;
3 3
 
4 4
 use Fabrica\Events\Event;
5
-use Fabrica\Events\FileUploadEvent;
6 5
 use Fabrica\Events\FileDelEvent;
6
+use Fabrica\Events\FileUploadEvent;
7 7
 use Fabrica\Events\IssueEvent;
8 8
 
9
-use Illuminate\Queue\InteractsWithQueue;
10
-use Illuminate\Contracts\Queue\ShouldQueue;
11
-
12 9
 use DB;
13 10
 
14 11
 class NoticeAddListener 
Please login to merge, or discard this patch.
src/Listeners/PropertyConfigChangeListener.php 1 patch
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,14 +5,12 @@
 block discarded – undo
5 5
 
6 6
 use Fabrica\Events\Event;
7 7
 use Fabrica\Events\FieldChangeEvent;
8
-use Fabrica\Events\ResolutionConfigChangeEvent;
9 8
 use Fabrica\Events\PriorityConfigChangeEvent;
9
+use Fabrica\Events\ResolutionConfigChangeEvent;
10 10
 
11 11
 use Fabrica\Customization\Eloquent\Field;
12
-use Fabrica\Customization\Eloquent\Resolution;
13 12
 use Fabrica\Customization\Eloquent\Priority;
14
-use Illuminate\Queue\InteractsWithQueue;
15
-use Illuminate\Contracts\Queue\ShouldQueue;
13
+use Fabrica\Customization\Eloquent\Resolution;
16 14
 
17 15
 class PropertyConfigChangeListener
18 16
 {
Please login to merge, or discard this patch.
src/Listeners/UserDelListener.php 2 patches
Unused Use Statements   +2 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,14 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Listeners;
4 4
 
5
-use Fabrica\Events\Event;
6
-use Fabrica\Acl\Eloquent\Roleactor;
7 5
 use Fabrica\Acl\Eloquent\Group;
6
+use Fabrica\Acl\Eloquent\Roleactor;
7
+use Fabrica\Events\Event;
8 8
 use Fabrica\Project\Eloquent\UserGroupProject;
9 9
 
10
-use Illuminate\Queue\InteractsWithQueue;
11
-use Illuminate\Contracts\Queue\ShouldQueue;
12
-
13 10
 class UserDelListener 
14 11
 {
15 12
     /**
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Handle the event.
28 28
      *
29
-     * @param  FieldChangeEvent  $event
29
+     * @param  Event  $event
30 30
      * @return void
31 31
      */
32 32
     public function handle(Event $event)
Please login to merge, or discard this patch.
src/Listeners/UserRoleSetListener.php 2 patches
Unused Use Statements   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,13 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Listeners;
4 4
 
5
-use Fabrica\Events\Event;
6 5
 use Fabrica\Events\AddUserToRoleEvent;
7 6
 use Fabrica\Events\DelUserFromRoleEvent;
7
+use Fabrica\Events\Event;
8 8
 
9 9
 use Fabrica\Project\Eloquent\UserGroupProject;
10
-use Illuminate\Queue\InteractsWithQueue;
11
-use Illuminate\Contracts\Queue\ShouldQueue;
12 10
 
13 11
 class UserRoleSetListener 
14 12
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Handle the event.
28 28
      *
29
-     * @param  FieldChangeEvent  $event
29
+     * @param  Event  $event
30 30
      * @return void
31 31
      */
32 32
     public function handle(Event $event)
Please login to merge, or discard this patch.
src/Listeners/WebhooksRequestListener.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * Handle the event.
29 29
      *
30
-     * @param  FileChangeEvent  $event
30
+     * @param  Event  $event
31 31
      * @return void
32 32
      */
33 33
     public function handle(Event $event)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,12 +4,8 @@
 block discarded – undo
4 4
 use Fabrica\Events\IssueEvent;
5 5
 use Fabrica\Events\VersionEvent;
6 6
 
7
-use Fabrica\Project\Eloquent\WebhookEvents;
8
-use Fabrica\Project\Eloquent\Webhooks;
9
-use Fabrica\Project\Eloquent\Version;
10
-use Illuminate\Queue\InteractsWithQueue;
11
-use Illuminate\Contracts\Queue\ShouldQueue;
12 7
 use DB;
8
+use Fabrica\Project\Eloquent\Webhooks;
13 9
 use Fabrica\Utils\CurlRequest;
14 10
 
15 11
 class WebhooksRequestListener 
Please login to merge, or discard this patch.