Completed
Push — master ( 5eaaac...a29976 )
by Rubén
15:10
created
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/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/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.
app/modules/web/Controllers/ConfigDokuWikiController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
             $eventMessage->addDescription(__u('DokuWiki disabled'));
83 83
         }
84 84
 
85
-        return $this->saveConfig($configData, $this->config, function () use ($eventMessage) {
85
+        return $this->saveConfig($configData, $this->config, function() use ($eventMessage) {
86 86
             $this->eventDispatcher->notifyEvent('save.config.dokuwiki', new Event($this, $eventMessage));
87 87
         });
88 88
     }
Please login to merge, or discard this patch.
app/modules/web/Controllers/Helpers/Grid/NotificationGrid.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,12 +142,12 @@
 block discarded – undo
142 142
         $gridData = new DataGridData();
143 143
         $gridData->setDataRowSourceId('id');
144 144
         $gridData->addDataRowSource('date', false,
145
-            function ($value) {
145
+            function($value) {
146 146
                 return DateUtil::getDateFromUnix($value);
147 147
             });
148 148
         $gridData->addDataRowSource('type');
149 149
         $gridData->addDataRowSource('component');
150
-        $gridData->addDataRowSource('description', false, function ($data) {
150
+        $gridData->addDataRowSource('description', false, function($data) {
151 151
             return Html::stripTags($data);
152 152
         });
153 153
         $gridData->addDataRowSourceWithIcon('checked', $this->icons->getIconEnabled()->setTitle(__('Read')));
Please login to merge, or discard this patch.
lib/SP/Core/Messages/TextFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     {
57 57
         return implode(
58 58
             $this->delimiter,
59
-            array_map(function ($value) use ($translate) {
59
+            array_map(function($value) use ($translate) {
60 60
                 return sprintf(
61 61
                     '%s: %s',
62 62
                     $translate ? __($value[0]) : $value[0]
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
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
         return $this->saveConfig(
109 109
             $configData,
110 110
             $this->config,
111
-            function () use ($eventMessage) {
111
+            function() use ($eventMessage) {
112 112
                 $this->eventDispatcher->notifyEvent(
113 113
                     'save.config.account',
114 114
                     new Event($this, $eventMessage)
Please login to merge, or discard this patch.
lib/SP/Providers/Auth/Ldap/LdapUtil.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 
80 80
         return implode(
81 81
             '',
82
-            array_map(function ($attribute) use ($value) {
82
+            array_map(function($attribute) use ($value) {
83 83
                 return sprintf('(%s=%s)', $attribute, $value);
84 84
             }, $attributes)
85 85
         );
Please login to merge, or discard this patch.
app/modules/web/Controllers/Helpers/Grid/PublicLinkGrid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
         $gridData->addDataRowSource('getDateAddFormat', true);
130 130
         $gridData->addDataRowSource('getDateExpireFormat', true);
131 131
         $gridData->addDataRowSource('userLogin');
132
-        $gridData->addDataRowSource('notify', false, function ($value) {
132
+        $gridData->addDataRowSource('notify', false, function($value) {
133 133
             return $value ? __('ON') : __('OFF');
134 134
         });
135 135
         $gridData->addDataRowSource('getCountViewsString', true);
Please login to merge, or discard this patch.