Passed
Push — master ( 143b83...a23624 )
by Andreas
25:01
created
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.
src/midcom/dba/parameters.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
         if (   !$this->can_do('midgard:update')
205 205
             || !$this->can_do('midgard:parameters')) {
206 206
             debug_add("Failed to set parameters, midgard:update or midgard:parameters on " . static::class . " {$this->guid} not granted for the current user.",
207
-                  MIDCOM_LOG_ERROR);
207
+                    MIDCOM_LOG_ERROR);
208 208
             midcom_connection::set_error(MGD_ERR_ACCESS_DENIED);
209 209
             return false;
210 210
         }
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
         if (   !$this->can_do('midgard:update')
249 249
             || !$this->can_do('midgard:parameters')) {
250 250
             debug_add("Failed to delete parameters, midgard:update or midgard:parameters on " . static::class . " {$this->guid} not granted for the current user.",
251
-                  MIDCOM_LOG_ERROR);
251
+                    MIDCOM_LOG_ERROR);
252 252
             midcom_connection::set_error(MGD_ERR_ACCESS_DENIED);
253 253
             return false;
254 254
         }
Please login to merge, or discard this patch.
lib/midcom/services/auth/acl.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -253,15 +253,15 @@
 block discarded – undo
253 253
     private static array $_default_magic_class_privileges = [];
254 254
 
255 255
     /**
256
-    * Internal cache of the content privileges of users on content objects, this is
257
-    * an associative array using a combination of the user identifier and the object's
258
-    * guid as index. The privileges for the anonymous user use the magic
259
-    * EVERYONE as user identifier.
260
-    *
261
-    * This must not be merged with the class-wide privileges_cache, because otherwise
262
-    * class_default_privileges for child objects might be overridden by parent default
263
-    * privileges
264
-    */
256
+     * Internal cache of the content privileges of users on content objects, this is
257
+     * an associative array using a combination of the user identifier and the object's
258
+     * guid as index. The privileges for the anonymous user use the magic
259
+     * EVERYONE as user identifier.
260
+     *
261
+     * This must not be merged with the class-wide privileges_cache, because otherwise
262
+     * class_default_privileges for child objects might be overridden by parent default
263
+     * privileges
264
+     */
265 265
     private static array $_content_privileges_cache = [];
266 266
 
267 267
     /**
Please login to merge, or discard this patch.