Completed
Pull Request — master (#29)
by Phecho
03:15
created
app/Http/Routes/HelpRoutes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             'middleware' => ['app.hasSetting', 'guest'],
30 30
             'setting'    => 'app_name',
31 31
             'as'         => 'signup.',
32
-        ], function ($router) {
32
+        ], function($router) {
33 33
             $router->get('signup/invite/{code}', [
34 34
                 'as'   => 'invite',
35 35
                 'uses' => 'SignupController@getSignup',
Please login to merge, or discard this patch.
app/Http/Routes/ProfileRoutes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             'middleware' => ['app.hasSetting', 'guest'],
30 30
             'setting'    => 'app_name',
31 31
             'as'         => 'signup.',
32
-        ], function ($router) {
32
+        ], function($router) {
33 33
             $router->get('signup/invite/{code}', [
34 34
                 'as'   => 'invite',
35 35
                 'uses' => 'SignupController@getSignup',
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/DashboardController.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/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/Commands/ProjectNamespace/RemoveProjectNamespaceCommand.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
     /**
26 26
      * Create a new remove project team command instance.
27 27
      *
28
-     * @param \Gitamin\Models\ProjectTeam $team
29 28
      *
30 29
      * @return void
31 30
      */
Please login to merge, or discard this patch.
app/Http/Controllers/Dashboard/GroupsController.php 1 patch
Unused Use Statements   -13 removed lines patch added patch discarded remove patch
@@ -11,22 +11,9 @@
 block discarded – undo
11 11
 
12 12
 namespace Gitamin\Http\Controllers\Dashboard;
13 13
 
14
-use AltThree\Validator\ValidationException;
15
-use Gitamin\Commands\Project\AddProjectCommand;
16
-use Gitamin\Commands\Project\RemoveProjectCommand;
17
-use Gitamin\Commands\Project\UpdateProjectCommand;
18
-use Gitamin\Commands\ProjectNamespace\AddProjectNamespaceCommand;
19
-use Gitamin\Commands\ProjectNamespace\RemoveProjectNamespaceCommand;
20
-use Gitamin\Commands\ProjectNamespace\UpdateProjectNamespaceCommand;
21 14
 use Gitamin\Http\Controllers\Controller;
22
-use Gitamin\Models\Project;
23 15
 use Gitamin\Models\Group;
24
-use Gitamin\Models\Tag;
25
-use GrahamCampbell\Binput\Facades\Binput;
26
-use Illuminate\Foundation\Bus\DispatchesJobs;
27
-use Illuminate\Support\Facades\Redirect;
28 16
 use Illuminate\Support\Facades\View;
29
-use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
30 17
 
31 18
 class GroupsController extends Controller
32 19
 {
Please login to merge, or discard this patch.
app/Http/Routes/GroupsRoutes.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
             'setting'    => 'app_name',
33 33
             'prefix'     => 'projects',
34 34
             'as'         => 'projects.',
35
-        ], function ($router) {
35
+        ], function($router) {
36 36
             $router->get('/', [
37 37
                 'as'   => 'index',
38 38
                 'uses' => 'ProjectsController@index',
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             'middleware' => ['app.hasSetting'],
55 55
             'setting'    => 'app_name',
56 56
             'as'         => 'projects.',
57
-        ], function ($router) {
57
+        ], function($router) {
58 58
            $router->get('{namespace}/{project}', [
59 59
                 'as'   => 'project_show',
60 60
                 'uses' => 'ProjectsController@show',
Please login to merge, or discard this patch.
app/Http/Routes/ProjectsRoutes.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,12 +55,12 @@
 block discarded – undo
55 55
             'setting'    => 'app_name',
56 56
             'as'         => 'projects.',
57 57
         ], function ($router) {
58
-           $router->get('{namespace}/{project}', [
58
+            $router->get('{namespace}/{project}', [
59 59
                 'as'   => 'project_show',
60 60
                 'uses' => 'ProjectsController@show',
61 61
             ])->where('namespace', '[a-zA-z.0-9_\-]+')->where('project', '[a-zA-z.0-9_\-]+');
62 62
 
63
-           $router->get('{namespace}/{project}/edit', [
63
+            $router->get('{namespace}/{project}/edit', [
64 64
                 'as'   => 'project_edit',
65 65
                 'uses' => 'ProjectsController@edit',
66 66
             ])->where('namespace', '[a-zA-z.0-9_\-]+')->where('project', '[a-zA-z.0-9_\-]+');
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
             'setting'    => 'app_name',
33 33
             'prefix'     => 'projects',
34 34
             'as'         => 'projects.',
35
-        ], function ($router) {
35
+        ], function($router) {
36 36
             $router->get('/', [
37 37
                 'as'   => 'index',
38 38
                 'uses' => 'ProjectsController@index',
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             'middleware' => ['app.hasSetting'],
55 55
             'setting'    => 'app_name',
56 56
             'as'         => 'projects.',
57
-        ], function ($router) {
57
+        ], function($router) {
58 58
            $router->get('{namespace}/{project}', [
59 59
                 'as'   => 'project_show',
60 60
                 'uses' => 'ProjectsController@show',
Please login to merge, or discard this patch.
app/Commands/ProjectNamespace/UpdateProjectNamespaceCommand.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -52,10 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Create a add project team command instance.
54 54
      *
55
-     * @param \Gitamin\Models\ProjectTeam $team
56 55
      * @param string                      $name
57
-     * @param string                      $slug
58
-     * @param int                         $order
59 56
      *
60 57
      * @return void
61 58
      */
Please login to merge, or discard this patch.