Passed
Pull Request — devel-3.0 (#1021)
by
unknown
04:23
created
lib/SP/Bootstrap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     {
135 135
         $oops = "Oops, it looks like this content doesn't exist...";
136 136
 
137
-        $this->router->onError(function ($router, $err_msg, $type, $err) {
137
+        $this->router->onError(function($router, $err_msg, $type, $err) {
138 138
             logger('Routing error: ' . $err_msg);
139 139
 
140 140
             /** @var Exception|\Throwable $err */
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
         // Manage requests for api module
148 148
         $this->router->respond(['POST'],
149 149
             '@/api\.php',
150
-            function ($request, $response, $service) use ($oops) {
150
+            function($request, $response, $service) use ($oops) {
151 151
                 try {
152 152
                     $apiRequest = self::$container->get(ApiRequest::class);
153 153
 
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
         // Manage requests for web module
187 187
         $this->router->respond(['GET', 'POST'],
188 188
             '@/index\.php',
189
-            function ($request, $response, $service) use ($oops) {
189
+            function($request, $response, $service) use ($oops) {
190 190
                 try {
191 191
                     /** @var \Klein\Request $request */
192 192
                     $route = Filter::getString($request->param('r', 'index/index'));
Please login to merge, or discard this patch.
app/modules/web/Controllers/ConfigMailController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             $configData->setMailSecurity($mailSecurity);
77 77
             $configData->setMailFrom($mailFrom);
78 78
             $configData->setMailRecipients($mailRecipients);
79
-            $configData->setMailEvents($this->request->analyzeArray('mail_events', function ($items) {
79
+            $configData->setMailEvents($this->request->analyzeArray('mail_events', function($items) {
80 80
                 return ConfigUtil::eventsAdapter($items);
81 81
             }));
82 82
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             return $this->returnJsonResponse(JsonResponse::JSON_SUCCESS, __u('Sin cambios'));
103 103
         }
104 104
 
105
-        return $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
105
+        return $this->saveConfig($configData, $this->config, function() use ($eventMessage) {
106 106
             $this->eventDispatcher->notifyEvent('save.config.mail', new Event($this, $eventMessage));
107 107
         });
108 108
     }
Please login to merge, or discard this patch.
app/modules/web/Controllers/ConfigLdapController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
                 return $this->returnJsonResponse(JsonResponse::JSON_SUCCESS, __u('Sin cambios'));
95 95
             }
96 96
 
97
-            return $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
97
+            return $this->saveConfig($configData, $this->config, function() use ($eventMessage) {
98 98
                 $this->eventDispatcher->notifyEvent('save.config.ldap', new Event($this, $eventMessage));
99 99
             });
100 100
         } catch (ValidationException $e) {
Please login to merge, or discard this patch.
app/modules/web/Controllers/ConfigGeneralController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $syslogPort = $this->request->analyzeInt('remotesyslog_port', 0);
79 79
 
80 80
         $configData->setLogEnabled($logEnabled);
81
-        $configData->setLogEvents($this->request->analyzeArray('log_events', function ($items) {
81
+        $configData->setLogEvents($this->request->analyzeArray('log_events', function($items) {
82 82
             return ConfigUtil::eventsAdapter($items);
83 83
         }, []));
84 84
 
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
             $eventMessage->addDescription(__u('Auth Basic deshabiltada'));
160 160
         }
161 161
 
162
-        return $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
162
+        return $this->saveConfig($configData, $this->config, function() use ($eventMessage) {
163 163
             $this->eventDispatcher->notifyEvent('save.config.general', new Event($this, $eventMessage));
164 164
         });
165 165
     }
Please login to merge, or discard this patch.
app/modules/web/Controllers/ConfigWikiController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
             $eventMessage->addDescription(__u('DokuWiki deshabilitada'));
105 105
         }
106 106
 
107
-        return $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
107
+        return $this->saveConfig($configData, $this->config, function() use ($eventMessage) {
108 108
             $this->eventDispatcher->notifyEvent('save.config.wiki', new Event($this, $eventMessage));
109 109
         });
110 110
     }
Please login to merge, or discard this patch.