Passed
Push — devel-3.0 ( e28ec2...580820 )
by Rubén
03:26
created
app/modules/web/themes/material-blue/views/common/tabs-end.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 <script type="text/javascript">
4 4
     sysPassApp.sk.set("<?php echo $sk; ?>");
5 5
 
6
-    <?php foreach($tabs as $index => $tab): ?>
6
+    <?php foreach ($tabs as $index => $tab): ?>
7 7
         sysPassApp.theme().html.tabs.add("#tabsHeader", <?php echo $index; ?>, "<?php echo $tab['title']; ?>", <?php echo $index === $activeTabId ? 1 : 0; ?>);
8 8
     <?php endforeach; ?>
9 9
 </script>
10 10
\ No newline at end of file
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
@@ -278,7 +278,7 @@
 block discarded – undo
278 278
             }
279 279
         }
280 280
 
281
-        $this->checkLoggedInSession($this->session, $this->request, function ($redirect) {
281
+        $this->checkLoggedInSession($this->session, $this->request, function($redirect) {
282 282
             $this->router->response()
283 283
                 ->redirect($redirect)
284 284
                 ->send(true);
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
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
      */
128 128
     protected function checks()
129 129
     {
130
-        $this->checkLoggedInSession($this->session, $this->request, function ($redirect) {
130
+        $this->checkLoggedInSession($this->session, $this->request, function($redirect) {
131 131
             $this->router->response()
132 132
                 ->redirect($redirect)
133 133
                 ->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
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
             $eventMessage->addDescription(__u('DokuWiki deshabilitada'));
105 105
         }
106 106
 
107
-        $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
107
+        $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/UserController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
             $this->view->assign('disabled', 'disabled');
149 149
             $this->view->assign('readonly', 'readonly');
150 150
 
151
-            $this->view->assign('usage', array_map(function ($value) {
151
+            $this->view->assign('usage', array_map(function($value) {
152 152
                 switch ($value->ref) {
153 153
                     case 'Account':
154 154
                         $value->icon = 'description';
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
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
         }
103 103
 
104 104
 
105
-        $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
105
+        $this->saveConfig($configData, $this->config, function() use ($eventMessage) {
106 106
             $this->eventDispatcher->notifyEvent('save.config.account', new Event($this, $eventMessage));
107 107
         });
108 108
     }
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
             $this->returnJsonResponse(JsonResponse::JSON_SUCCESS, __u('Sin cambios'));
103 103
         }
104 104
 
105
-        $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
105
+        $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/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
-        $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
162
+        $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/ConfigLdapController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
                 $this->returnJsonResponse(JsonResponse::JSON_SUCCESS, __u('Sin cambios'));
94 94
             }
95 95
 
96
-            $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
96
+            $this->saveConfig($configData, $this->config, function() use ($eventMessage) {
97 97
                 $this->eventDispatcher->notifyEvent('save.config.ldap', new Event($this, $eventMessage));
98 98
             });
99 99
         } catch (ValidationException $e) {
Please login to merge, or discard this patch.