Completed
Push — master ( 6554a3...90d2ed )
by Ricardo
06:26
created
src/Http/Api/WorkflowController.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,13 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Http\Request;
6 6
 
7
-use Fabrica\Http\Requests;
8
-use Fabrica\Http\Api\Controller;
9 7
 use Fabrica\Customization\Eloquent\Type;
10
-use Fabrica\Workflow\Eloquent\Definition;
11
-use Fabrica\Workflow\Workflow;
8
+use Fabrica\Http\Api\Controller;
12 9
 use Fabrica\Project\Eloquent\Project;
13 10
 use Fabrica\Project\Provider;
11
+use Fabrica\Workflow\Eloquent\Definition;
12
+use Fabrica\Workflow\Workflow;
14 13
 
15 14
 class WorkflowController extends Controller
16 15
 {
Please login to merge, or discard this patch.
src/Http/Api/WorklogController.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Http\Api;
4 4
 
5
+use Fabrica\Events\IssueEvent;
5 6
 use Illuminate\Http\Request;
6 7
 use Illuminate\Support\Facades\Event;
7
-use Fabrica\Events\IssueEvent;
8 8
 
9
-use Fabrica\Http\Requests;
10 9
 use Fabrica\Http\Api\Controller;
11 10
 use Fabrica\Project\Eloquent\Worklog;
12 11
 use Fabrica\Project\Provider;
Please login to merge, or discard this patch.
src/Listeners/EventListener.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace Fabrica\Listeners;
4 4
 
5 5
 use Fabrica\Events\SomeEvent;
6
-use Illuminate\Queue\InteractsWithQueue;
7
-use Illuminate\Contracts\Queue\ShouldQueue;
8 6
 
9 7
 class EventListener
10 8
 {
Please login to merge, or discard this patch.
src/Listeners/FieldConfigChangeListener.php 2 patches
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.
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,6 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @param  string   $field_id
55 55
      * @param  int flag
56
+     * @param integer $flag
56 57
      * @return void
57 58
      */
58 59
     public function updateSchema($field_id, $flag)
@@ -86,7 +87,7 @@  discard block
 block discarded – undo
86 87
      * unset the issue value of this field.
87 88
      *
88 89
      * @param  string $project_key
89
-     * @param  string $field_id
90
+     * @param  string $field_key
90 91
      * @return void
91 92
      */
92 93
     public function unsetIssueVal($project_key, $field_key, $field_type)
@@ -123,7 +124,7 @@  discard block
 block discarded – undo
123 124
      * update the kanban card display fields.
124 125
      *
125 126
      * @param  string $project_key
126
-     * @param  string $field_id
127
+     * @param  string $field_key
127 128
      * @return void
128 129
      */
129 130
     public function updateKanbanDisplayFields($project_key, $field_key)
@@ -158,7 +159,7 @@  discard block
 block discarded – undo
158 159
      * update the issue list display columns.
159 160
      *
160 161
      * @param  string $project_key
161
-     * @param  string $field_id
162
+     * @param  string $field_key
162 163
      * @return void
163 164
      */
164 165
     public function updateDisplayColumns($project_key, $field_key)
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/Events/AddGroupToRoleEvent.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Fabrica\Events;
4 4
 
5 5
 use Fabrica\Events\Event;
6
-use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
7 6
 use Illuminate\Queue\SerializesModels;
8 7
 
9 8
 class AddGroupToRoleEvent extends Event
Please login to merge, or discard this patch.
src/Events/AddUserToRoleEvent.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Fabrica\Events;
4 4
 
5 5
 use Fabrica\Events\Event;
6
-use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
7 6
 use Illuminate\Queue\SerializesModels;
8 7
 
9 8
 class AddUserToRoleEvent extends Event
Please login to merge, or discard this patch.
src/Events/DelGroupEvent.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Fabrica\Events;
4 4
 
5 5
 use Fabrica\Events\Event;
6
-use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
7 6
 use Illuminate\Queue\SerializesModels;
8 7
 
9 8
 class DelGroupEvent extends Event
Please login to merge, or discard this patch.
src/Events/DelUserFromRoleEvent.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Fabrica\Events;
4 4
 
5 5
 use Fabrica\Events\Event;
6
-use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
7 6
 use Illuminate\Queue\SerializesModels;
8 7
 
9 8
 class DelUserFromRoleEvent extends Event
Please login to merge, or discard this patch.