Completed
Pull Request — master (#36)
by Phecho
03:41
created
app/Http/Controllers/RepositoryController.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/Presenters/IssuePresenter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Gitamin\Presenters;
13 13
 
14
-use Gitamin\Facades\Setting;
15 14
 use Gitamin\Presenters\Traits\TimestampsTrait;
16 15
 use GrahamCampbell\Markdown\Facades\Markdown;
17 16
 use Jenssegers\Date\Date;
Please login to merge, or discard this patch.
app/Http/Routes/DashboardRoutes.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
                 'as'     => 'activities.',
92 92
                 'prefix' => 'activities',
93 93
                 ], function ($router) {
94
-                   $router->get('/', [
94
+                    $router->get('/', [
95 95
                     'as'   => 'index',
96 96
                     'uses' => 'ActivityController@showActivities',
97 97
                 ]);
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
                 'as'     => 'milestones.',
103 103
                 'prefix' => 'milestones',
104 104
                 ], function ($router) {
105
-                   $router->get('/', [
105
+                    $router->get('/', [
106 106
                     'as'   => 'index',
107 107
                     'uses' => 'MilestoneController@showMilestones',
108 108
                 ]);
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
                 'as'     => 'merge_requests.',
114 114
                 'prefix' => 'merge_requests',
115 115
                 ], function ($router) {
116
-                   $router->get('/', [
116
+                    $router->get('/', [
117 117
                     'as'   => 'index',
118 118
                     'uses' => 'MergeRequestController@showMergeRequests',
119 119
                 ]);
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
                 'as'     => 'snippets.',
125 125
                 'prefix' => 'snippets',
126 126
                 ], function ($router) {
127
-                   $router->get('/', [
127
+                    $router->get('/', [
128 128
                     'as'   => 'index',
129 129
                     'uses' => 'SnippetController@showSnippets',
130 130
                 ]);
Please login to merge, or discard this patch.
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/Http/Controllers/Dashboard/UserController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use AltThree\Validator\ValidationException;
15 15
 use Gitamin\Models\User;
16
-use Gitamin\Models\Role;
17
-use Gitamin\Models\Permission;
18 16
 use GrahamCampbell\Binput\Facades\Binput;
19 17
 use Illuminate\Routing\Controller;
20 18
 use Illuminate\Support\Facades\Auth;
Please login to merge, or discard this patch.
app/Http/Controllers/AuthController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,6 @@
 block discarded – undo
15 15
 use Illuminate\Routing\Controller;
16 16
 use Illuminate\Support\Facades\Auth;
17 17
 use Illuminate\Support\Facades\Redirect;
18
-use Illuminate\Support\Facades\Request;
19
-use Illuminate\Support\Facades\Session;
20 18
 use Illuminate\Support\Facades\View;
21 19
 
22 20
 class AuthController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/ProjectsController.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,10 +32,10 @@
 block discarded – undo
32 32
     }
33 33
 
34 34
     /**
35
-    * Show the form or adding a new resource.
36
-    *
37
-    * return \Illuminate\Http\Response
38
-    */
35
+     * Show the form or adding a new resource.
36
+     *
37
+     * return \Illuminate\Http\Response
38
+     */
39 39
     public function new()
40 40
     {
41 41
         $teamId = 1;
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -19,13 +19,11 @@
 block discarded – undo
19 19
 use GrahamCampbell\Binput\Facades\Binput;
20 20
 use AltThree\Validator\ValidationException;
21 21
 use Gitamin\Commands\Project\AddProjectCommand;
22
-use Gitamin\Commands\Project\RemoveProjectCommand;
23 22
 use Gitamin\Commands\Project\UpdateProjectCommand;
24 23
 use Gitamin\Models\Project;
25 24
 use Gitamin\Models\Owner;
26 25
 use Gitamin\Models\Group;
27 26
 use Gitamin\Models\Tag;
28
-
29 27
 use Gitamin\Http\Controllers\Controller;
30 28
 
31 29
 class ProjectsController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/Help/HelpController.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 Gitamin\Http\Controllers\Projects;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use Gitamin\Http\Requests;
8 6
 use Gitamin\Http\Controllers\Controller;
9 7
 
10 8
 class ProjectController extends Controller
Please login to merge, or discard this patch.
app/Http/Routes/GroupsRoutes.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,12 +52,12 @@
 block discarded – undo
52 52
             'setting'    => 'app_name',
53 53
             'as'         => 'groups.',
54 54
         ], function ($router) {
55
-           $router->get('{namespace}', [
55
+            $router->get('{namespace}', [
56 56
                 'as'   => 'group_show',
57 57
                 'uses' => 'GroupsController@show',
58 58
             ])->where('namespace', '[a-zA-z.0-9_\-]+');
59 59
 
60
-           $router->get('{namespace}/edit', [
60
+            $router->get('{namespace}/edit', [
61 61
                 'as'   => 'group_edit',
62 62
                 'uses' => 'GroupsController@edit',
63 63
             ])->where('namespace', '[a-zA-z.0-9_\-]+');
Please login to merge, or discard this patch.