Passed
Branch master (e0d98e)
by Rubén
06:37
created
inc/SP/Controller/NoticeShowController.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
         $this->view->assign('isDisabled', ($this->view->isDemo || $this->view->actionId === self::ACTION_NOT_USER_VIEW) ? 'disabled' : '');
129 129
         $this->view->assign('isReadonly', $this->view->isDisabled ? 'readonly' : '');
130 130
 
131
-        if ($this->UserData->isUserIsAdminApp()){
131
+        if ($this->UserData->isUserIsAdminApp()) {
132 132
             $this->view->assign('users', User::getItem()->getItemsForSelect());
133 133
         }
134 134
 
Please login to merge, or discard this patch.
inc/SP/Controller/AccountSearchController.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
         AccountsSearchItem::$isDemoMode = Checks::demoIsEnabled();
185 185
 
186 186
         if (AccountsSearchItem::$wikiEnabled) {
187
-            $wikiFilter = array_map(function ($value) {
187
+            $wikiFilter = array_map(function($value) {
188 188
                 return preg_quote($value, '/');
189 189
             }, Config::getConfig()->getWikiFilter());
190 190
 
Please login to merge, or discard this patch.
inc/SP/Account/AccountFavorites.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
         $favorites = [];
56 56
 
57
-        foreach($queryRes as $favorite){
57
+        foreach ($queryRes as $favorite) {
58 58
             $favorites[] = (int)$favorite->accfavorite_accountId;
59 59
         }
60 60
 
Please login to merge, or discard this patch.
inc/SP/Account/AccountsSearchItem.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@
 block discarded – undo
282 282
         if (!isset($_SESSION[$cacheName][$accountId])
283 283
             || $_SESSION[$cacheName][$accountId]['time'] < (int)strtotime($this->AccountSearchData->getAccountDateEdit())
284 284
         ) {
285
-            $session =& $_SESSION[$cacheName][$accountId];
285
+            $session = & $_SESSION[$cacheName][$accountId];
286 286
 
287 287
             $session['users'] = [];
288 288
             $session['groups'] = [];
Please login to merge, or discard this patch.
inc/SP/Core/ActionsInterface.class.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -110,9 +110,9 @@
 block discarded – undo
110 110
     const ACTION_MGM_PLUGINS_NEW = 690;
111 111
     const ACTION_MGM_PLUGINS_VIEW = 691;
112 112
     const ACTION_MGM_PLUGINS_SEARCH = 695;
113
-    const ACTION_MGM_PLUGINS_ENABLE= 696;
114
-    const ACTION_MGM_PLUGINS_DISABLE= 697;
115
-    const ACTION_MGM_PLUGINS_RESET= 698;
113
+    const ACTION_MGM_PLUGINS_ENABLE = 696;
114
+    const ACTION_MGM_PLUGINS_DISABLE = 697;
115
+    const ACTION_MGM_PLUGINS_RESET = 698;
116 116
     const ACTION_USR = 70;
117 117
     const ACTION_USR_USERS = 71;
118 118
     const ACTION_USR_USERS_VIEW = 710;
Please login to merge, or discard this patch.
inc/SP/Core/Upgrade/Group.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         try {
55 55
             DB::beginTransaction();
56 56
 
57
-            if ($groupId === 0){
57
+            if ($groupId === 0) {
58 58
                 $groupId = self::$orphanGroupId ?: self::createOrphanGroup();
59 59
             }
60 60
 
Please login to merge, or discard this patch.
inc/SP/Core/Upgrade/Profile.class.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
             DB::beginTransaction();
58 58
 
59
-            if ($profileId === 0){
59
+            if ($profileId === 0) {
60 60
                 $profileId = self::$orphanProfileId ?: self::createOrphanProfile();
61 61
             }
62 62
 
Please login to merge, or discard this patch.
inc/SP/Core/Backup.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -264,7 +264,7 @@
 block discarded – undo
264 264
             }
265 265
 
266 266
             $archive = new \PharData($backupFile);
267
-            $archive->buildFromDirectory(Init::$SERVERROOT,'/^(?!backup).*$/');
267
+            $archive->buildFromDirectory(Init::$SERVERROOT, '/^(?!backup).*$/');
268 268
             $archive->compress(\Phar::GZ);
269 269
 
270 270
             unlink($backupFile);
Please login to merge, or discard this patch.
inc/SP/Core/Messages/LogMessage.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
 
219 219
         if (count($this->details) > 1) {
220 220
             if ($translate === true) {
221
-                return implode(PHP_EOL, array_map(function ($detail) use ($translate) {
221
+                return implode(PHP_EOL, array_map(function($detail) use ($translate) {
222 222
                     return $this->formatDetail($detail, $translate);
223 223
                 }, $this->details));
224 224
             }
Please login to merge, or discard this patch.