Passed
Push — master ( e40592...aa7b79 )
by Andreas
37:05
created
lib/midcom/services/auth/acl.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -261,17 +261,17 @@
 block discarded – undo
261 261
     private static $_default_magic_class_privileges = [];
262 262
 
263 263
     /**
264
-    * Internal cache of the content privileges of users on content objects, this is
265
-    * an associative array using a combination of the user identifier and the object's
266
-    * guid as index. The privileges for the anonymous user use the magic
267
-    * EVERYONE as user identifier.
268
-    *
269
-    * This must not be merged with the class-wide privileges_cache, because otherwise
270
-    * class_default_privileges for child objects might be overridden by parent default
271
-    * privileges
272
-    *
273
-    * @var array
274
-    */
264
+     * Internal cache of the content privileges of users on content objects, this is
265
+     * an associative array using a combination of the user identifier and the object's
266
+     * guid as index. The privileges for the anonymous user use the magic
267
+     * EVERYONE as user identifier.
268
+     *
269
+     * This must not be merged with the class-wide privileges_cache, because otherwise
270
+     * class_default_privileges for child objects might be overridden by parent default
271
+     * privileges
272
+     *
273
+     * @var array
274
+     */
275 275
     private static $_content_privileges_cache = [];
276 276
 
277 277
     /**
Please login to merge, or discard this patch.
lib/org/openpsa/user/style/show-person-account.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
             echo '<span class="toolbar_label">' . $data['l10n_midcom']->get('delete') . '</span></a></li>';
24 24
             if (    midcom::get()->config->get('auth_allow_trusted') === true
25 25
                  && $data['person']->can_do('org.openpsa.user:su')) {
26
-                 echo '<li><a class="button" href="' . $data['router']->generate('account_su', ['guid' => $data['person']->guid]) . '">' . $data['l10n']->get('switch to user') . "</a></li>\n";
26
+                    echo '<li><a class="button" href="' . $data['router']->generate('account_su', ['guid' => $data['person']->guid]) . '">' . $data['l10n']->get('switch to user') . "</a></li>\n";
27 27
             }
28 28
             echo "</ul>\n";
29 29
         }
Please login to merge, or discard this patch.
lib/org/openpsa/invoices/midcom/indexer.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,11 +9,11 @@
 block discarded – undo
9 9
 use midcom\datamanager\indexer\client;
10 10
 use midcom\datamanager\datamanager;
11 11
 
12
- /**
13
- * Indexer client class
14
- *
15
- * @package org.openpsa.invoices
16
- */
12
+    /**
13
+     * Indexer client class
14
+     *
15
+     * @package org.openpsa.invoices
16
+     */
17 17
 class org_openpsa_invoices_midcom_indexer extends client
18 18
 {
19 19
     public function prepare_document(midcom_services_indexer_document $document, datamanager $dm)
Please login to merge, or discard this patch.