Passed
Push — master ( e4006a...0c4633 )
by Lars
21:40 queued 06:51
created
src/Intraface/modules/shop/Controller/BasketEvaluation/Edit.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@
 block discarded – undo
49 49
         $settings = $this->getBasketEvaluation()->get('settings');
50 50
 
51 51
         $data = array('basketevaluation' => $this->getBasketEvaluation(),
52
-                      'value' => $this->value,
53
-                      'settings' => $settings,
54
-                      'translation' => $this->getKernel()->getTranslation('shop')
52
+                        'value' => $this->value,
53
+                        'settings' => $settings,
54
+                        'translation' => $this->getKernel()->getTranslation('shop')
55 55
         );
56 56
         $tpl = $this->template->create('Intraface/modules/shop/Controller/tpl/evaluation');
57 57
         return $tpl->render($this, $data);
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Page.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     public function __construct($cmssite, $id = 0)
77 77
     {
78 78
         if (!is_object($cmssite)) {
79
-             throw new Exception('CMS_Page::__construct needs CMS_Site');
79
+                throw new Exception('CMS_Page::__construct needs CMS_Site');
80 80
         }
81 81
 
82 82
         $this->id         = (int)$id;
@@ -525,7 +525,7 @@  discard block
 block discarded – undo
525 525
 
526 526
         return $display;
527 527
     }
528
-    */
528
+     */
529 529
     function getComments()
530 530
     {
531 531
         if (!$this->kernel->intranet->hasModuleAccess('contact')) {
@@ -784,7 +784,7 @@  discard block
 block discarded – undo
784 784
     {
785 785
         $db = new DB_Sql();
786 786
         $db2 = new DB_Sql;
787
-          // egentlig skuille denne m�ske v�re rekursiv?
787
+            // egentlig skuille denne m�ske v�re rekursiv?
788 788
 
789 789
         /*
790 790
         // I am not quite sure what this one is suppossed to do - see the next one instead.
Please login to merge, or discard this patch.
src/Intraface/modules/cms/MainCms.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
         $this->addPreloadFile('Section.php');
45 45
 
46
-         $this->includeSettingFile('settings.php');
46
+            $this->includeSettingFile('settings.php');
47 47
 
48 48
         $this->addSetting('status', array(
49 49
             1 => 'draft',
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/templates/page.tpl.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
             echo '<fieldset>';
63 63
         }
64 64
         include 'section/shorttext.tpl.php';
65
-                     break;
65
+                        break;
66 66
     case 'longtext':
67 67
         if (!array_key_exists($section->get('id'), $error) and !empty($test) and $test != 'longtext') {
68 68
             echo '</fieldset>';
@@ -71,19 +71,19 @@  discard block
 block discarded – undo
71 71
             echo '<fieldset>';
72 72
         }
73 73
         include 'section/longtext.tpl.php';
74
-                     break;
74
+                        break;
75 75
     case 'picture':
76 76
         if (!array_key_exists($section->get('id'), $error) and !empty($test)) {
77 77
             echo '</fieldset>';
78 78
         }
79 79
         include 'section/picture.tpl.php';
80
-                     break;
80
+                        break;
81 81
     case 'mixed':
82 82
         if (!array_key_exists($section->get('id'), $error)) {
83 83
             echo '</fieldset>';
84 84
         }
85 85
         include 'section/mixed.tpl.php';
86
-                     break;
86
+                        break;
87 87
             ?> <?php
88 88
     }
89 89
     $test = $section->get('type');
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/templates/element/htmltext.tpl.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,9 +70,9 @@
 block discarded – undo
70 70
     require_once dirname(__FILE__) . '/../../../CKEditor.php';
71 71
     $config['language'] = 'da';
72 72
     $config['toolbar'] = array(
73
-         array( 'Source', '-', 'Cut','Copy','Paste','PasteText','PasteFromWord', '', 'Undo','Redo', '-', 'Format', 'Bold', 'Italic', 'Strike' ),
74
-         array( 'Image', 'Link', 'Unlink', 'NumberedList', 'BulletedList', 'Blockquote', 'Outdent', 'Indent', '-', 'Maximize' )
75
-     );
73
+            array( 'Source', '-', 'Cut','Copy','Paste','PasteText','PasteFromWord', '', 'Undo','Redo', '-', 'Format', 'Bold', 'Italic', 'Strike' ),
74
+            array( 'Image', 'Link', 'Unlink', 'NumberedList', 'BulletedList', 'Blockquote', 'Outdent', 'Indent', '-', 'Maximize' )
75
+        );
76 76
     $config['filebrowserBrowseUrl'] = url('/restricted/module/filemanager/ckeditor', array('images' => 1));
77 77
     $CKEditor = new CKEditor();
78 78
     echo $CKEditor->editor("text", $value['text'], $config);
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Templates.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     function getSiteId()
21 21
     {
22
-         return $this->context->name();
22
+            return $this->context->name();
23 23
     }
24 24
 
25 25
     function renderHtml()
Please login to merge, or discard this patch.
src/Intraface/modules/invoice/Reminder.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -722,9 +722,9 @@
 block discarded – undo
722 722
     function getPaymentInformation()
723 723
     {
724 724
         $info = array('bank_name'    => $this->kernel->setting->get("intranet", "bank_name"),
725
-                      'bank_reg_number' => $this->kernel->setting->get("intranet", "bank_reg_number"),
726
-                      'bank_account_number' => $this->kernel->setting->get("intranet", "bank_account_number"),
727
-                      'giro_account_number' => $this->kernel->setting->get("intranet", "giro_account_number")
725
+                        'bank_reg_number' => $this->kernel->setting->get("intranet", "bank_reg_number"),
726
+                        'bank_account_number' => $this->kernel->setting->get("intranet", "bank_account_number"),
727
+                        'giro_account_number' => $this->kernel->setting->get("intranet", "giro_account_number")
728 728
         );
729 729
 
730 730
         return $info;
Please login to merge, or discard this patch.
src/Intraface/modules/onlinepayment/OnlinePayment.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      * @param array $input (belong_to, belong_to_id, transaction_number, transaction_status, amount)
134 134
      *
135 135
      * @return integer
136
-      */
136
+     */
137 137
     public function save($input)
138 138
     {
139 139
         $input = safeToDb($input);
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
         }
164 164
 
165 165
         if ($input['transaction_status'] == $this->transaction_status_authorized) {
166
-             $status_key = 2;
166
+                $status_key = 2;
167 167
         } else {
168 168
             $status_key = 1;
169 169
         }
Please login to merge, or discard this patch.
src/Intraface/modules/intranetmaintenance/Controller/User/Index.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         if (!is_null($this->redirect)) {
82 82
             return $this->redirect;
83 83
         }
84
-         return $this->redirect = Intraface_Redirect::factory($this->getKernel(), 'receive');
84
+            return $this->redirect = Intraface_Redirect::factory($this->getKernel(), 'receive');
85 85
     }
86 86
 
87 87
     function isAddUserTrue()
Please login to merge, or discard this patch.