Completed
Push — master ( 6554a3...90d2ed )
by Ricardo
06:26
created
src/Http/Api/SprintController.php 2 patches
Unused Use Statements   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,15 +4,13 @@
 block discarded – undo
4 4
 use Illuminate\Http\Request;
5 5
 use Illuminate\Support\Facades\Event;
6 6
 
7
-use Fabrica\Http\Requests;
7
+use DB;
8
+use Fabrica\Events\SprintEvent;
8 9
 use Fabrica\Http\Api\Controller;
10
+use Fabrica\Project\Eloquent\Board;
9 11
 use Fabrica\Project\Eloquent\Sprint;
10 12
 use Fabrica\Project\Eloquent\SprintDayLog;
11
-use Fabrica\Project\Eloquent\Board;
12
-use Fabrica\Project\Provider;
13
-use Fabrica\Events\SprintEvent;
14 13
 use Fabrica\System\Eloquent\CalendarSingular;
15
-use DB;
16 14
 
17 15
 class SprintController extends Controller
18 16
 {
Please login to merge, or discard this patch.
Doc Comments   -6 removed lines patch added patch discarded remove patch
@@ -112,7 +112,6 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * Display the specified resource.
114 114
      *
115
-     * @param  int $id
116 115
      * @return \Illuminate\Http\Response
117 116
      */
118 117
     public function show($project_key, $no)
@@ -129,7 +128,6 @@  discard block
 block discarded – undo
129 128
      * publish the sprint.
130 129
      *
131 130
      * @param  \Illuminate\Http\Request $request
132
-     * @param  int                      $id
133 131
      * @return \Illuminate\Http\Response
134 132
      */
135 133
     public function publish(Request $request, $project_key, $no)
@@ -219,7 +217,6 @@  discard block
 block discarded – undo
219 217
      * edit the sprint.
220 218
      *
221 219
      * @param  \Illuminate\Http\Request $request
222
-     * @param  int                      $id
223 220
      * @return \Illuminate\Http\Response
224 221
      */
225 222
     public function update(Request $request, $project_key, $no)
@@ -255,7 +252,6 @@  discard block
 block discarded – undo
255 252
      * publish the sprint.
256 253
      *
257 254
      * @param  \Illuminate\Http\Request $request
258
-     * @param  int                      $id
259 255
      * @return \Illuminate\Http\Response
260 256
      */
261 257
     public function complete(Request $request, $project_key, $no)
@@ -315,7 +311,6 @@  discard block
 block discarded – undo
315 311
     /**
316 312
      * Remove the specified resource from storage.
317 313
      *
318
-     * @param  int $id
319 314
      * @return \Illuminate\Http\Response
320 315
      */
321 316
     public function destroy($project_key, $no)
@@ -592,7 +587,6 @@  discard block
 block discarded – undo
592 587
      * get working day flag.
593 588
      *
594 589
      * @param  int $start_time
595
-     * @param  int $complete_time
596 590
      * @return \Illuminate\Http\Response
597 591
      */
598 592
     public function getWorkingDay($start_time, $end_time)
Please login to merge, or discard this patch.
src/Http/Api/StateController.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,14 +3,13 @@
 block discarded – undo
3 3
 
4 4
 use Illuminate\Http\Request;
5 5
 
6
-use Fabrica\Http\Requests;
7
-use Fabrica\Http\Api\Controller;
6
+use DB;
8 7
 use Fabrica\Customization\Eloquent\State;
9 8
 use Fabrica\Customization\Eloquent\StateProperty;
10
-use Fabrica\Workflow\Eloquent\Definition;
9
+use Fabrica\Http\Api\Controller;
11 10
 use Fabrica\Project\Eloquent\Project;
12 11
 use Fabrica\Project\Provider;
13
-use DB;
12
+use Fabrica\Workflow\Eloquent\Definition;
14 13
 
15 14
 class StateController extends Controller
16 15
 {
Please login to merge, or discard this patch.
src/Http/Api/SummaryController.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -2,13 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Http\Api;
4 4
 
5
-use Illuminate\Http\Request;
6
-use Illuminate\Support\Facades\Event;
7
-
8
-use Fabrica\Http\Requests;
9 5
 use Fabrica\Http\Api\Controller;
10 6
 
11
-use Sentinel;
12 7
 use DB;
13 8
 use Fabrica\Project\Provider;
14 9
 
Please login to merge, or discard this patch.
src/Http/Api/SyssettingController.php 2 patches
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,14 +4,13 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Http\Request;
6 6
 
7
-use Fabrica\Http\Requests;
8 7
 use Fabrica\Http\Api\Controller;
9 8
 
10 9
 use Fabrica\System\Eloquent\SysSetting;
11 10
 use Sentinel;
12 11
 
13
-use Mail;
14 12
 use Config;
13
+use Mail;
15 14
 
16 15
 use Exception;
17 16
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * Display the specified resource.
28 28
      *
29
-     * @param  int $id
30 29
      * @return \Illuminate\Http\Response
31 30
      */
32 31
     public function show()
@@ -101,9 +100,9 @@  discard block
 block discarded – undo
101 100
     /**
102 101
      * reset the smtp auth pwd.
103 102
      *
104
-     * @param  string $type
105 103
      * @param  array  $added_user_ids
106 104
      * @param  array  $deleted_user_ids
105
+     * @param string $permission
107 106
      * @return void 
108 107
      */
109 108
     public function handleUserPermission($permission, $added_user_ids, $deleted_user_ids)
Please login to merge, or discard this patch.
src/Http/Api/TypeController.php 1 patch
Unused Use Statements   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,13 +4,11 @@
 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
-use Fabrica\Customization\Eloquent\Type;
10
-use Fabrica\Workflow\Eloquent\Definition;
11 7
 use Fabrica\Customization\Eloquent\Screen;
8
+use Fabrica\Customization\Eloquent\Type;
9
+use Fabrica\Http\Api\Controller;
12 10
 use Fabrica\Project\Provider;
13
-use DB;
11
+use Fabrica\Workflow\Eloquent\Definition;
14 12
 
15 13
 class TypeController extends Controller
16 14
 {
Please login to merge, or discard this patch.
src/Http/Api/UserController.php 1 patch
Unused Use Statements   +7 added lines, -8 removed lines patch added patch discarded remove patch
@@ -5,22 +5,21 @@
 block discarded – undo
5 5
 use Illuminate\Http\Request;
6 6
 use Illuminate\Support\Facades\Event;
7 7
 
8
-use Fabrica\Http\Requests;
9
-use Fabrica\Http\Api\Controller;
10
-use Fabrica\Events\DelUserEvent;
11 8
 use Fabrica\Acl\Eloquent\Group;
9
+use Fabrica\Events\DelUserEvent;
10
+use Fabrica\Http\Api\Controller;
12 11
 
13 12
 use Fabrica\ActiveDirectory\Eloquent\Directory;
14 13
 
15
-use Maatwebsite\Excel\Facades\Excel;
14
+use Activation;
16 15
 use Cartalyst\Sentinel\Users\EloquentUser;
17
-use Sentinel;
18
-use Activation; 
16
+use Maatwebsite\Excel\Facades\Excel;
17
+use Sentinel; 
19 18
 
20
-use Fabrica\System\Eloquent\SysSetting;
19
+use Config;
21 20
 use Fabrica\System\Eloquent\ResetPwdCode;
21
+use Fabrica\System\Eloquent\SysSetting;
22 22
 use Mail;
23
-use Config;
24 23
 
25 24
 class UserController extends Controller
26 25
 {
Please login to merge, or discard this patch.
src/Http/Api/VersionController.php 1 patch
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,16 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Http\Api;
4 4
 
5
+use Fabrica\Events\IssueEvent;
6
+use Fabrica\Events\VersionEvent;
5 7
 use Illuminate\Http\Request;
6 8
 use Illuminate\Support\Facades\Event;
7
-use Fabrica\Events\VersionEvent;
8
-use Fabrica\Events\IssueEvent;
9 9
 
10
-use Fabrica\Http\Requests;
11 10
 use Fabrica\Http\Api\Controller;
12 11
 use Fabrica\Project\Eloquent\Version;
13 12
 use Fabrica\Project\Provider;
14
-use Fabrica\Customization\Eloquent\Field;
15 13
 
16 14
 use DB;
17 15
 
Please login to merge, or discard this patch.
src/Http/Api/WebhookController.php 1 patch
Unused Use Statements   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,14 +3,12 @@
 block discarded – undo
3 3
 namespace Fabrica\Http\Api;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use Illuminate\Support\Facades\Event;
7 6
 
8
-use Fabrica\Http\Requests;
9 7
 use Fabrica\Http\Api\Controller;
10 8
 use Fabrica\Project\Eloquent\ExternalUsers;
11 9
 
12
-use Fabrica\WebHook\GitLabPush;
13 10
 use Fabrica\WebHook\GitHubPush;
11
+use Fabrica\WebHook\GitLabPush;
14 12
 
15 13
 use DB;
16 14
 
Please login to merge, or discard this patch.
src/Http/Api/WebhooksController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,12 +3,8 @@
 block discarded – undo
3 3
 
4 4
 use Illuminate\Http\Request;
5 5
 
6
-use Fabrica\Http\Requests;
7 6
 use Fabrica\Http\Api\Controller;
8 7
 use Fabrica\Project\Eloquent\Webhooks;
9
-use Fabrica\Project\Eloquent\Project;
10
-use Fabrica\Project\Provider;
11
-use DB;
12 8
 
13 9
 class WebhooksController extends Controller
14 10
 {
Please login to merge, or discard this patch.