Passed
Push — devel-3.0 ( f64695...31000f )
by Rubén
06:13
created
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.
app/modules/web/Controllers/Helpers/Account/AccountHelper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -127,22 +127,22 @@
 block discarded – undo
127 127
         $selectTags = SelectItemAdapter::factory(TagService::getItemsBasic());
128 128
 
129 129
         $usersView = SelectItemAdapter::getIdFromArrayOfObjects(
130
-            array_filter($accountDetailsResponse->getUsers(), function ($value) {
130
+            array_filter($accountDetailsResponse->getUsers(), function($value) {
131 131
                 return (int)$value->isEdit === 0;
132 132
             }));
133 133
 
134 134
         $usersEdit = SelectItemAdapter::getIdFromArrayOfObjects(
135
-            array_filter($accountDetailsResponse->getUsers(), function ($value) {
135
+            array_filter($accountDetailsResponse->getUsers(), function($value) {
136 136
                 return (int)$value->isEdit === 1;
137 137
             }));
138 138
 
139 139
         $userGroupsView = SelectItemAdapter::getIdFromArrayOfObjects(
140
-            array_filter($accountDetailsResponse->getUserGroups(), function ($value) {
140
+            array_filter($accountDetailsResponse->getUserGroups(), function($value) {
141 141
                 return (int)$value->isEdit === 0;
142 142
             }));
143 143
 
144 144
         $userGroupsEdit = SelectItemAdapter::getIdFromArrayOfObjects(
145
-            array_filter($accountDetailsResponse->getUserGroups(), function ($value) {
145
+            array_filter($accountDetailsResponse->getUserGroups(), function($value) {
146 146
                 return (int)$value->isEdit === 1;
147 147
             }));
148 148
 
Please login to merge, or discard this patch.
app/modules/web/Controllers/Helpers/LayoutHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -337,7 +337,7 @@
 block discarded – undo
337 337
                 'route' => Acl::getActionRoute(ActionsInterface::PLUGIN)
338 338
             ]);
339 339
 
340
-            $actions[] =  $actionPlugins;
340
+            $actions[] = $actionPlugins;
341 341
         }
342 342
 
343 343
         if ($acl->checkUserAccess(ActionsInterface::CONFIG)) {
Please login to merge, or discard this patch.
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 does not 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.
lib/SP/Providers/Auth/Ldap/LdapActions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
             throw new LdapException(__u('Error al buscar RDN de grupo'));
114 114
         }
115 115
 
116
-        return array_filter(array_map(function ($value) {
116
+        return array_filter(array_map(function($value) {
117 117
             if (is_array($value)) {
118 118
                 return $value['dn'];
119 119
             }
Please login to merge, or discard this patch.