Passed
Push — devel-3.0 ( bf8280...c503ba )
by Rubén
03:22
created
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/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/Helpers/Account/AccountHistoryHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
     protected function initialize()
164 164
     {
165 165
         $this->acl = $this->dic->get(Acl::class);
166
-        $this->accountHistoryService = $this->dic->get(AccountHistoryService::class);;
166
+        $this->accountHistoryService = $this->dic->get(AccountHistoryService::class); ;
167 167
 
168 168
         $this->view->assign('sk', $this->context->generateSecurityKey());
169 169
     }
Please login to merge, or discard this patch.
app/modules/web/Controllers/Helpers/Account/AccountSearchHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
         AccountSearchItem::$isDemoMode = $this->configData->isDemoEnabled();
126 126
 
127 127
         if (\SP\Services\Account\AccountSearchItem::$wikiEnabled) {
128
-            $wikiFilter = array_map(function ($value) {
128
+            $wikiFilter = array_map(function($value) {
129 129
                 return preg_quote($value, '/');
130 130
             }, $this->configData->getWikiFilter());
131 131
 
Please login to merge, or discard this patch.
lib/Definitions.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 return [
45 45
     Request::class => \DI\create(Request::class)
46 46
         ->constructor(\Klein\Request::createFromGlobals()),
47
-    ContextInterface::class => function (ContainerInterface $c) {
47
+    ContextInterface::class => function(ContainerInterface $c) {
48 48
         switch (APP_MODULE) {
49 49
             case 'web':
50 50
                 return $c->get(\SP\Core\Context\SessionContext::class);
@@ -52,15 +52,15 @@  discard block
 block discarded – undo
52 52
                 return $c->get(\SP\Core\Context\StatelessContext::class);
53 53
         }
54 54
     },
55
-    Config::class => function (ContainerInterface $c) {
55
+    Config::class => function(ContainerInterface $c) {
56 56
         return new Config(new XmlHandler(new FileHandler(CONFIG_FILE)), $c->get(ContextInterface::class), $c);
57 57
     },
58
-    ConfigData::class => function (Config $config) {
58
+    ConfigData::class => function(Config $config) {
59 59
         return $config->getConfigData();
60 60
     },
61 61
     DBStorageInterface::class => \DI\create(MySQLHandler::class)
62 62
         ->constructor(\DI\factory([DatabaseConnectionData::class, 'getFromConfig'])),
63
-    Actions::class => function (ContainerInterface $c) {
63
+    Actions::class => function(ContainerInterface $c) {
64 64
         return new Actions($c->get(FileCache::class), new XmlHandler(new FileHandler(ACTIONS_FILE)));
65 65
     },
66 66
     Acl::class => \DI\autowire(Acl::class)
Please login to merge, or discard this patch.
lib/SP/Core/Context/ContextBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
             return;
113 113
         }
114 114
 
115
-        $this->context =& $context['context'];
115
+        $this->context = & $context['context'];
116 116
     }
117 117
 
118 118
     /**
Please login to merge, or discard this patch.
lib/SP/Core/Events/EventMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
216 216
             return '';
217 217
         }
218 218
 
219
-        return implode(PHP_EOL, array_map(function ($detail) use ($translate) {
219
+        return implode(PHP_EOL, array_map(function($detail) use ($translate) {
220 220
             return $this->formatDetail($detail, $translate);
221 221
         }, $this->details));
222 222
     }
Please login to merge, or discard this patch.