Completed
Pull Request — master (#36)
by Phecho
03:41
created
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/Http/Controllers/ProjectsController.php 1 patch
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.
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.
app/Http/Routes/ProjectsRoutes.php 1 patch
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.
app/Http/Controllers/Projects/IssuesController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         $project = $this->getProject($namespace, $project_path);
60 60
         $issueData = Binput::get('issue');
61 61
 
62
-         try {
62
+            try {
63 63
             $issueData['author_id'] = Auth::user()->id;
64 64
             $issueData['project_id'] = $project->id;
65 65
             $issue = $this->dispatchFromArray(AddIssueCommand::class, $issueData);
Please login to merge, or discard this patch.
app/Http/Controllers/FeedController.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -22,17 +22,17 @@
 block discarded – undo
22 22
 class FeedController extends Controller
23 23
 {
24 24
     /**
25
-    * Feed facade.
26
-    *
27
-    * @var Roumen\Feed\Facades\Feed
28
-    */
25
+     * Feed facade.
26
+     *
27
+     * @var Roumen\Feed\Facades\Feed
28
+     */
29 29
     private $feed;
30 30
 
31 31
     /**
32
-    * Create a new feed controller instance.
33
-    *
34
-    * @return void
35
-    */
32
+     * Create a new feed controller instance.
33
+     *
34
+     * @return void
35
+     */
36 36
     public function __construct()
37 37
     {
38 38
         $this->feed = Feed::make();
Please login to merge, or discard this patch.
app/Http/Controllers/GroupsController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -84,11 +84,11 @@
 block discarded – undo
84 84
             ->withSubMenu($this->subMenu);
85 85
     }
86 86
 
87
-     /**
88
-     * Shows the group view.
89
-     *
90
-     * @return \Illuminate\View\View
91
-     */
87
+        /**
88
+         * Shows the group view.
89
+         *
90
+         * @return \Illuminate\View\View
91
+         */
92 92
     public function show($namespace)
93 93
     {
94 94
         $group = Group::where('path', '=', $namespace)->first();
Please login to merge, or discard this patch.
app/Events/Project/ProjectEventInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,5 +15,5 @@
 block discarded – undo
15 15
 
16 16
 interface ProjectEventInterface extends EventInterface
17 17
 {
18
-	// 
18
+    // 
19 19
 }
Please login to merge, or discard this patch.
app/Models/Project.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,11 +116,11 @@
 block discarded – undo
116 116
         return $this->belongsTo(Group::class, 'owner_id', 'id');
117 117
     }
118 118
 
119
-     /**
120
-     * Projects can belong to an owner.
121
-     *
122
-     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
123
-     */
119
+        /**
120
+         * Projects can belong to an owner.
121
+         *
122
+         * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
123
+         */
124 124
     public function projectOwner()
125 125
     {
126 126
         return $this->belongsTo(Owner::class, 'owner_id', 'id');
Please login to merge, or discard this patch.