Passed
Branch master (95796a)
by Andreas
38:22
created
lib/midcom/helper/filesync/importer.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@
 block discarded – undo
28 28
      */
29 29
     public function __construct($root_dir, $delete_missing = false)
30 30
     {
31
-         $this->delete_missing = $delete_missing;
32
-         $this->root_dir = $root_dir;
31
+            $this->delete_missing = $delete_missing;
32
+            $this->root_dir = $root_dir;
33 33
 
34
-         parent::__construct();
34
+            parent::__construct();
35 35
     }
36 36
 
37 37
     public function run()
Please login to merge, or discard this patch.
lib/midcom/helper/head.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
      */
227 227
     public function add_meta_head($attributes = null)
228 228
     {
229
-         $this->_meta_head .= '<meta' . $this->_get_attribute_string($attributes) . ' />' . "\n";
229
+            $this->_meta_head .= '<meta' . $this->_get_attribute_string($attributes) . ' />' . "\n";
230 230
     }
231 231
 
232 232
     /**
Please login to merge, or discard this patch.
lib/midcom/core/privilege.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -554,7 +554,7 @@
 block discarded – undo
554 554
                     $user = midcom::get()->auth->get_user($user_id);
555 555
                     if (is_object($user))
556 556
                     {
557
-                       return $user->is_in_group($this->__privilege['assignee']);
557
+                        return $user->is_in_group($this->__privilege['assignee']);
558 558
                     }
559 559
                 }
560 560
                 return false;
Please login to merge, or discard this patch.
lib/midcom/core/user.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -407,7 +407,7 @@
 block discarded – undo
407 407
 
408 408
                 $parent = $parent->get_parent_group();
409 409
             }
410
-            */
410
+             */
411 411
             $this->_inheritance_chains[$id] = $inheritance_chain;
412 412
         }
413 413
     }
Please login to merge, or discard this patch.
lib/midcom/helper/filesync/exporter.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@
 block discarded – undo
28 28
      */
29 29
     public function __construct($root_dir, $delete_missing = false)
30 30
     {
31
-         $this->delete_missing = $delete_missing;
32
-         $this->root_dir = $root_dir;
31
+            $this->delete_missing = $delete_missing;
32
+            $this->root_dir = $root_dir;
33 33
 
34
-         parent::__construct();
34
+            parent::__construct();
35 35
     }
36 36
 
37 37
     public function run()
Please login to merge, or discard this patch.
src/midcom/datamanager/template/form.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -184,12 +184,12 @@
 block discarded – undo
184 184
 
185 185
     public function hidden_widget(FormView $view, array $data)
186 186
     {
187
-         return $this->renderer->block($view, 'form_widget_simple', array('type' => isset($data['type']) ? $data['type'] : "hidden"));
187
+            return $this->renderer->block($view, 'form_widget_simple', array('type' => isset($data['type']) ? $data['type'] : "hidden"));
188 188
     }
189 189
 
190 190
     public function email_widget(FormView $view, array $data)
191 191
     {
192
-         return $this->renderer->block($view, 'form_widget_simple', array('type' => isset($data['type']) ? $data['type'] : "email"));
192
+            return $this->renderer->block($view, 'form_widget_simple', array('type' => isset($data['type']) ? $data['type'] : "email"));
193 193
     }
194 194
 
195 195
     public function autocomplete_widget(FormView $view, array $data)
Please login to merge, or discard this patch.
src/midcom/datamanager/storage/container/dbacontainer.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,8 @@
 block discarded – undo
68 68
     private function prepare_field(array $config)
69 69
     {
70 70
         if (   empty($config['storage']['location'])
71
-               // This line is needed because a parameter default is set by the schema parser and then ignored
72
-               // by the type. The things we do for backwards compatibility...
71
+                // This line is needed because a parameter default is set by the schema parser and then ignored
72
+                // by the type. The things we do for backwards compatibility...
73 73
             || $config['storage']['location'] === 'parameter')
74 74
         {
75 75
             if (class_exists('midcom\datamanager\storage\\' . $config['type']))
Please login to merge, or discard this patch.
lib/org/routamc/positioning/object.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
      */
39 39
     public function __construct($object)
40 40
     {
41
-         $this->_object = $object;
42
-         parent::__construct();
41
+            $this->_object = $object;
42
+            parent::__construct();
43 43
     }
44 44
 
45 45
     /**
Please login to merge, or discard this patch.
lib/org/routamc/positioning/dm2/callbacks/countries.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
  * @package org.routamc.positioning
18 18
  */
19 19
 class org_routamc_positioning_dm2_callbacks_countries extends midcom_baseclasses_components_purecode
20
- implements midcom_helper_datamanager2_callback_interface
20
+    implements midcom_helper_datamanager2_callback_interface
21 21
 {
22 22
     /**
23 23
      * The array with the data we're working on.
Please login to merge, or discard this patch.