Completed
Pull Request — master (#106)
by Phecho
03:20
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/Models/Owner.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 
30 30
 use AltThree\Validator\ValidatingTrait;
31 31
 use Illuminate\Database\Eloquent\Model;
32
-use Illuminate\Support\Facades\Auth;
33 32
 
34 33
 class Owner extends Model
35 34
 {
Please login to merge, or discard this patch.
app/Http/Controllers/Dashboard/GroupsController.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/GroupsController.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/CommentPresenter.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/ProjectsRoutes.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,12 +52,12 @@  discard block
 block discarded – undo
52 52
             'setting'    => 'app_name',
53 53
             'as'         => 'projects.',
54 54
         ], function ($router) {
55
-           $router->get('{owner_path}/{project_path}', [
55
+            $router->get('{owner_path}/{project_path}', [
56 56
                 'as'   => 'project_show',
57 57
                 'uses' => 'ProjectsController@showAction',
58 58
             ])->where('owner_path', '[a-zA-z.0-9_\-]+')->where('project_path', '[a-zA-z.0-9_\-]+');
59 59
 
60
-           $router->get('{owner_path}/{project_path}/edit', [
60
+            $router->get('{owner_path}/{project_path}/edit', [
61 61
                 'as'   => 'project_edit',
62 62
                 'uses' => 'ProjectsController@editAction',
63 63
             ])->where('owner_path', '[a-zA-z.0-9_\-]+')->where('project_path', '[a-zA-z.0-9_\-]+');
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
                 'uses' => 'Projects\\IssuesController@showAction',
91 91
             ])->where('owner_path', '[a-zA-z.0-9_\-]+')->where('project_path', '[a-zA-z.0-9_\-]+');
92 92
 
93
-             //edit
93
+                //edit
94 94
             $router->get('{owner_path}/{project_path}/issues/{issue}/edit', [
95 95
                 'as'   => 'issue_edit',
96 96
                 'uses' => 'Projects\\IssuesController@editAction',
Please login to merge, or discard this patch.
app/Http/Controllers/Projects/CommentsController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,12 +13,10 @@
 block discarded – undo
13 13
 
14 14
 use Gitamin\Commands\Comment\AddCommentCommand;
15 15
 use Gitamin\Http\Controllers\Controller;
16
-use Gitamin\Models\Comment;
17 16
 use Gitamin\Models\Project;
18 17
 use GrahamCampbell\Binput\Facades\Binput;
19 18
 use Illuminate\Support\Facades\Auth;
20 19
 use Illuminate\Support\Facades\Redirect;
21
-use Illuminate\Support\Facades\View;
22 20
 
23 21
 class CommentsController extends Controller
24 22
 {
Please login to merge, or discard this patch.