Completed
Push — master ( 6554a3...90d2ed )
by Ricardo
06:26
created
src/Events/FieldDeleteEvent.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * Create a new event instance.
15 15
      *
16
+     * @param integer $field_id
16 17
      * @return void
17 18
      */
18 19
     public function __construct($project_key, $field_id, $field_key, $field_type)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Events;
4 4
 
5
-use Fabrica\Events\Event;
6
-use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
7 5
 use Illuminate\Queue\SerializesModels;
8 6
 
9 7
 class FieldDeleteEvent extends FieldChangeEvent
Please login to merge, or discard this patch.
src/Events/FileUploadEvent.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -10,6 +10,7 @@
 block discarded – undo
10 10
     /**
11 11
      * Create a new event instance.
12 12
      *
13
+     * @param string $project_key
13 14
      * @return void
14 15
      */
15 16
     public function __construct($project_key, $issue_id, $field_key, $file_id, $user)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace Fabrica\Events;
3 3
 
4 4
 use Fabrica\Events\Event;
5
-use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
6 5
 use Illuminate\Queue\SerializesModels;
7 6
 
8 7
 class FileUploadEvent extends Event
Please login to merge, or discard this patch.
src/Http/Api/AccessLogsController.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,6 @@
 block discarded – undo
114 114
     /**
115 115
      * export xls for access logs
116 116
      *
117
-     * @param  array $issues
118 117
      * @return void
119 118
      */
120 119
     public function export($logs)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 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
 
11 9
 use Fabrica\System\Eloquent\ApiAccessLogs;
Please login to merge, or discard this patch.
src/Http/Api/ActivityController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,6 @@
 block discarded – undo
5 5
 use DB;
6 6
 
7 7
 use Fabrica\Http\Api\Controller;
8
-use Fabrica\Http\Requests;
9
-use Fabrica\Project\Provider;
10 8
 use Illuminate\Http\Request;
11 9
 
12 10
 use Sentinel;
Please login to merge, or discard this patch.
src/Http/Api/Auth/AuthController.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Http\Api\Auth;
4 4
 
5
-use Fabrica\User;
6
-use Validator;
7 5
 use Fabrica\Http\Api\Controller;
8
-use Illuminate\Foundation\Auth\ThrottlesLogins;
6
+use Fabrica\User;
9 7
 use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
8
+use Illuminate\Foundation\Auth\ThrottlesLogins;
9
+use Validator;
10 10
 
11 11
 class AuthController extends Controller
12 12
 {
Please login to merge, or discard this patch.
src/Http/Api/BoardController.php 1 patch
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,16 +3,14 @@
 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
 
9
+use Fabrica\Project\Eloquent\AccessBoardLog;
11 10
 use Fabrica\Project\Eloquent\Board;
12 11
 use Fabrica\Project\Eloquent\BoardRankMap;
13
-use Fabrica\Project\Eloquent\AccessBoardLog;
14
-use Fabrica\Project\Eloquent\Sprint;
15 12
 use Fabrica\Project\Eloquent\Epic;
13
+use Fabrica\Project\Eloquent\Sprint;
16 14
 use Fabrica\Project\Eloquent\Version;
17 15
 use Fabrica\Project\Provider;
18 16
 
Please login to merge, or discard this patch.
src/Http/Api/CalendarController.php 2 patches
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,12 +4,11 @@
 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
 use Fabrica\System\Eloquent\CalendarSingular;
10 9
 
11
-use Fabrica\Utils\Lunar;
12 10
 use Fabrica\Utils\CurlRequest;
11
+use Fabrica\Utils\Lunar;
13 12
 
14 13
 class CalendarController extends Controller
15 14
 {
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * fetch the year dates .
55 55
      *
56
-     * @param  number $year
56
+     * @param  integer $year
57 57
      * @return array
58 58
      */
59 59
     public function getYearDates($year)
@@ -87,9 +87,9 @@  discard block
 block discarded – undo
87 87
     /**
88 88
      * convert the solar to lunar.
89 89
      *
90
-     * @param  number $year
91
-     * @param  number $month
92
-     * @param  number $day
90
+     * @param  string $year
91
+     * @param  integer $month
92
+     * @param  integer $day
93 93
      * @return array
94 94
      */
95 95
     private function convert2lunar($year, $month, $day)
@@ -199,7 +199,6 @@  discard block
 block discarded – undo
199 199
     /**
200 200
      * sync the year singular calendars.
201 201
      *
202
-     * @param   string $year
203 202
      * @@return array
204 203
      */
205 204
     public function sync(Request $request)
Please login to merge, or discard this patch.
src/Http/Api/CommentsController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -6,12 +6,8 @@
 block discarded – undo
6 6
 use Fabrica\Events\IssueEvent;
7 7
 use Fabrica\Http\Api\Controller;
8 8
 
9
-use Fabrica\Http\Requests;
10
-use Fabrica\Project\Provider;
11
-
12 9
 use Illuminate\Http\Request;
13 10
 use Illuminate\Support\Facades\Event;
14
-use Sentinel;
15 11
 
16 12
 class CommentsController extends Controller
17 13
 {
Please login to merge, or discard this patch.
src/Http/Api/ConfigController.php 1 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\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 DB;
12
-use Fabrica\Project\Provider;
13 7
 use Fabrica\Acl\Eloquent\RolePermissions;
8
+use Fabrica\Project\Provider;
14 9
 
15 10
 class ConfigController extends Controller
16 11
 {
Please login to merge, or discard this patch.