Passed
Push — 3.0 ( b611c9...572608 )
by Rubén
03:38
created
app/modules/web/Controllers/ConfigMailController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             $configData->setMailSecurity($mailSecurity);
81 81
             $configData->setMailFrom($mailFrom);
82 82
             $configData->setMailRecipients($mailRecipients);
83
-            $configData->setMailEvents($this->request->analyzeArray('mail_events', function ($items) {
83
+            $configData->setMailEvents($this->request->analyzeArray('mail_events', function($items) {
84 84
                 return ConfigUtil::eventsAdapter($items);
85 85
             }));
86 86
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             return $this->returnJsonResponse(JsonResponse::JSON_SUCCESS, __u('No changes'));
107 107
         }
108 108
 
109
-        return $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
109
+        return $this->saveConfig($configData, $this->config, function() use ($eventMessage) {
110 110
             $this->eventDispatcher->notifyEvent('save.config.mail', new Event($this, $eventMessage));
111 111
         });
112 112
     }
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
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
                 return $this->returnJsonResponse(JsonResponse::JSON_SUCCESS, __u('No changes'));
98 98
             }
99 99
 
100
-            return $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
100
+            return $this->saveConfig($configData, $this->config, function() use ($eventMessage) {
101 101
                 $this->eventDispatcher->notifyEvent('save.config.ldap', new Event($this, $eventMessage));
102 102
             });
103 103
         } catch (\Exception $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
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         $syslogPort = $this->request->analyzeInt('remotesyslog_port', 0);
86 86
 
87 87
         $configData->setLogEnabled($logEnabled);
88
-        $configData->setLogEvents($this->request->analyzeArray('log_events', function ($items) {
88
+        $configData->setLogEvents($this->request->analyzeArray('log_events', function($items) {
89 89
             return ConfigUtil::eventsAdapter($items);
90 90
         }, []));
91 91
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
             $eventMessage->addDescription(__u('Auth Basic disabled'));
167 167
         }
168 168
 
169
-        return $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
169
+        return $this->saveConfig($configData, $this->config, function() use ($eventMessage) {
170 170
             $this->eventDispatcher->notifyEvent('save.config.general', new Event($this, $eventMessage));
171 171
         });
172 172
     }
Please login to merge, or discard this patch.
app/modules/web/Controllers/ConfigAccountController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
         }
107 107
 
108 108
 
109
-        return $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
109
+        return $this->saveConfig($configData, $this->config, function() use ($eventMessage) {
110 110
             $this->eventDispatcher->notifyEvent('save.config.account', new Event($this, $eventMessage));
111 111
         });
112 112
     }
Please login to merge, or discard this patch.
lib/SP/Services/Backup/FileBackupService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
     {
191 191
         $path = $this->path . DIRECTORY_SEPARATOR . AppInfoInterface::APP_NAME;
192 192
 
193
-        array_map(function ($file) {
193
+        array_map(function($file) {
194 194
             return @unlink($file);
195 195
         }, array_merge(
196 196
             glob($path . '_db-*'),
Please login to merge, or discard this patch.
app/modules/web/Controllers/ControllerBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
             $this->session,
240 240
             $this->request,
241 241
             $this->configData,
242
-            function ($redirect) {
242
+            function($redirect) {
243 243
                 $this->router->response()
244 244
                     ->redirect($redirect)
245 245
                     ->send(true);
Please login to merge, or discard this patch.
app/modules/web/Controllers/ConfigManagerController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
         $template->addTemplate('accounts');
176 176
         $template->assign('gdIsAvailable', $this->extensionChecker->checkGdAvailable());
177 177
 
178
-        $mimeTypesAvailable = array_map(function ($value) {
178
+        $mimeTypesAvailable = array_map(function($value) {
179 179
             return $value['type'];
180 180
         }, $this->dic->get(MimeTypes::class)->getMimeTypes());
181 181
 
Please login to merge, or discard this patch.
app/modules/web/Controllers/SimpleControllerBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
             $this->session,
240 240
             $this->request,
241 241
             $this->configData,
242
-            function ($redirect) {
242
+            function($redirect) {
243 243
                 $this->router->response()
244 244
                     ->redirect($redirect)
245 245
                     ->send(true);
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
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
             $eventMessage->addDescription(__u('Wiki disabled'));
79 79
         }
80 80
 
81
-        return $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
81
+        return $this->saveConfig($configData, $this->config, function() use ($eventMessage) {
82 82
             $this->eventDispatcher->notifyEvent('save.config.wiki', new Event($this, $eventMessage));
83 83
         });
84 84
     }
Please login to merge, or discard this patch.