Completed
Pull Request — master (#65)
by Phecho
04:59
created
app/Composers/TimezoneLocaleComposer.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
     {
30 30
         $enabledLangs = Config::get('langs');
31 31
 
32
-        $langs = array_map(function ($lang) use ($enabledLangs) {
32
+        $langs = array_map(function($lang) use ($enabledLangs) {
33 33
             $locale = basename($lang);
34 34
 
35 35
             return [$locale => $enabledLangs[$locale]];
Please login to merge, or discard this patch.
app/Handlers/Commands/Project/UpdateProjectCommandHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             'team_id'     => $command->team_id,
55 55
         ];
56 56
 
57
-        return array_filter($params, function ($val) {
57
+        return array_filter($params, function($val) {
58 58
             return $val !== null;
59 59
         });
60 60
     }
Please login to merge, or discard this patch.
app/Handlers/Events/Issue/SendIssueEmailNotificationHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
                 $this->mailer->queue([
82 82
                     'html' => 'emails.issues.new-html',
83 83
                     'text' => 'emails.issues.new-text',
84
-                ], $mail, function (Message $message) use ($mail) {
84
+                ], $mail, function(Message $message) use ($mail) {
85 85
                     $message->to($mail['email'])->subject($mail['subject']);
86 86
                 });
87 87
             }
Please login to merge, or discard this patch.
app/Handlers/Events/User/SendInviteUserEmailHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         $this->mailer->queue([
55 55
             'html' => 'emails.users.invite-html',
56 56
             'text' => 'emails.users.invite-text',
57
-        ], $mail, function (Message $message) use ($mail) {
57
+        ], $mail, function(Message $message) use ($mail) {
58 58
             $message->to($mail['email'])->subject($mail['subject']);
59 59
         });
60 60
     }
Please login to merge, or discard this patch.
app/Http/Controllers/Api/ProjectController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
             $tags = preg_split('/ ?, ?/', Binput::get('tags'));
85 85
 
86 86
             // For every tag, do we need to create it?
87
-            $projectTags = array_map(function ($taggable) use ($project) {
87
+            $projectTags = array_map(function($taggable) use ($project) {
88 88
                 return Tag::firstOrCreate([
89 89
                     'name' => $taggable,
90 90
                 ])->id;
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
             $tags = preg_split('/ ?, ?/', Binput::get('tags'));
125 125
 
126 126
             // For every tag, do we need to create it?
127
-            $projectTags = array_map(function ($taggable) use ($project) {
127
+            $projectTags = array_map(function($taggable) use ($project) {
128 128
                 return Tag::firstOrCreate(['name' => $taggable])->id;
129 129
             }, $tags);
130 130
 
Please login to merge, or discard this patch.
app/Http/Controllers/RepositoryController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
         }
154 154
 
155 155
         $allRepositories = array_unique($allRepositories, SORT_REGULAR);
156
-        uksort($allRepositories, function ($k1, $k2) {
156
+        uksort($allRepositories, function($k1, $k2) {
157 157
             return strtolower($k2) < strtolower($k1);
158 158
         });
159 159
 
Please login to merge, or discard this patch.
app/Http/Routes/ApiRoutes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
             'namespace'  => 'Api',
30 30
             'prefix'     => 'api/v1',
31 31
             'middleware' => ['accept:application/json', 'timezone', 'auth.api.optional'],
32
-        ], function ($router) {
32
+        ], function($router) {
33 33
             // General
34 34
             $router->get('ping', 'GeneralController@ping');
35 35
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             $router->get('issues/{issue}', 'IssueController@getIssue');
45 45
 
46 46
             // Authorization Required
47
-            $router->group(['middleware' => 'auth.api'], function ($router) {
47
+            $router->group(['middleware' => 'auth.api'], function($router) {
48 48
                 $router->get('subscribers', 'SubscriberController@getSubscribers');
49 49
 
50 50
                 $router->post('projects', 'ProjectController@postProjects');
Please login to merge, or discard this patch.
app/Http/Routes/SignupRoutes.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/SubscribeRoutes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
             'middleware' => ['app.hasSetting', 'localize'],
30 30
             'setting'    => 'app_name',
31 31
             'as'         => 'subscribe.',
32
-        ], function ($router) {
33
-            $router->group(['middleware' => 'app.subscribers'], function ($router) {
32
+        ], function($router) {
33
+            $router->group(['middleware' => 'app.subscribers'], function($router) {
34 34
                 $router->get('subscribe', [
35 35
                     'as'   => 'subscribe',
36 36
                     'uses' => 'SubscribeController@showSubscribe',
Please login to merge, or discard this patch.