Passed
Push — CHECK_API ( 78ffdd...fa4f39 )
by Rafael
41:29
created
htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php 2 patches
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     }
131 131
 
132 132
 
133
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
133
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
134 134
     /**
135 135
      * Define array with couple substitution key => substitution value
136 136
      *
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     public function get_substitutionarray_object($object, $outputlangs, $array_key = 'object')
143 143
     {
144
-		// phpcs:enable
144
+        // phpcs:enable
145 145
         global $extrafields;
146 146
 
147 147
         if (!$object instanceof Project) {
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
         return $resarray;
175 175
     }
176 176
 
177
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
177
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
178 178
     /**
179 179
      *  Define array with couple substitution key => substitution value
180 180
      *
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     public function get_substitutionarray_tasks($task, $outputlangs, $array_key = 'task')
187 187
     {
188
-		// phpcs:enable
188
+        // phpcs:enable
189 189
         global $extrafields;
190 190
 
191 191
         $resarray = array(
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
         return $resarray;
219 219
     }
220 220
 
221
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
221
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
222 222
     /**
223 223
      *  Define array with couple substitution key => substitution value
224 224
      *
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      */
229 229
     public function get_substitutionarray_project_contacts($contact, $outputlangs)
230 230
     {
231
-		// phpcs:enable
231
+        // phpcs:enable
232 232
         return array(
233 233
             'projcontacts_id' => $contact['id'],
234 234
             'projcontacts_rowid' => $contact['rowid'],
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
         );
242 242
     }
243 243
 
244
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
244
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
245 245
     /**
246 246
      *  Define array with couple substitution key => substitution value
247 247
      *
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
      */
252 252
     public function get_substitutionarray_project_file($file, $outputlangs)
253 253
     {
254
-		// phpcs:enable
254
+        // phpcs:enable
255 255
         return array(
256 256
             'projfile_name' => $file['name'],
257 257
             'projfile_date' => dol_print_date($file['date'], 'day'),
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
         );
260 260
     }
261 261
 
262
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
262
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
263 263
     /**
264 264
      *  Define array with couple substitution key => substitution value
265 265
      *
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
      */
270 270
     public function get_substitutionarray_project_reference($refdetail, $outputlangs)
271 271
     {
272
-		// phpcs:enable
272
+        // phpcs:enable
273 273
         return array(
274 274
             'projref_type' => $refdetail['type'],
275 275
             'projref_ref' => $refdetail['ref'],
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
         );
282 282
     }
283 283
 
284
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
284
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
285 285
     /**
286 286
      *  Define array with couple substitution key => substitution value
287 287
      *
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
      */
292 292
     public function get_substitutionarray_tasksressource($taskresource, $outputlangs)
293 293
     {
294
-		// phpcs:enable
294
+        // phpcs:enable
295 295
 
296 296
         //dol_syslog(get_class($this).'::get_substitutionarray_tasksressource taskressource='.var_export($taskressource,true),LOG_DEBUG);
297 297
         return array(
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
         );
306 306
     }
307 307
 
308
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
308
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
309 309
     /**
310 310
      *  Define array with couple substitution key => substitution value
311 311
      *
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
      */
316 316
     public function get_substitutionarray_taskstime($tasktime, $outputlangs)
317 317
     {
318
-		// phpcs:enable
318
+        // phpcs:enable
319 319
         global $conf;
320 320
 
321 321
         return array(
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
         );
331 331
     }
332 332
 
333
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
333
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
334 334
     /**
335 335
      *  Define array with couple substitution key => substitution value
336 336
      *
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
      */
341 341
     public function get_substitutionarray_task_file($file, $outputlangs)
342 342
     {
343
-		// phpcs:enable
343
+        // phpcs:enable
344 344
         return array(
345 345
             'tasksfile_name' => $file['name'],
346 346
             'tasksfile_date' => dol_print_date($file['date'], 'day'),
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
         return $texte;
450 450
     }
451 451
 
452
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
452
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
453 453
     /**
454 454
      *  Function to build a document on disk using the generic odt module.
455 455
      *
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
      */
461 461
     public function write_file($object, $outputlangs, $srctemplatepath)
462 462
     {
463
-		// phpcs:enable
463
+        // phpcs:enable
464 464
         global $user, $langs, $conf, $mysoc, $hookmanager;
465 465
 
466 466
         if (empty($srctemplatepath)) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -434,7 +434,7 @@
 block discarded – undo
434 434
         $maxfilesizearray = getMaxFileSizeArray();
435 435
         $maxmin = $maxfilesizearray['maxmin'];
436 436
         if ($maxmin > 0) {
437
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
437
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
438 438
         }
439 439
         $texte .= ' <input type="file" name="uploadfile">';
440 440
         $texte .= '<input type="hidden" value="PROJECT_TASK_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
public/htdocs/core/modules/project/task/modules_task.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
  */
36 36
 abstract class ModelePDFTask extends CommonDocGenerator
37 37
 {
38
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
38
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
39 39
     /**
40 40
      *  Return list of active generation modules
41 41
      *
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public static function liste_modeles($db, $maxfilenamelength = 0)
47 47
     {
48
-		// phpcs:enable
48
+        // phpcs:enable
49 49
         $type = 'project_task';
50 50
         $list = array();
51 51
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/reception/doc/pdf_squille.modules.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         }
128 128
     }
129 129
 
130
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
130
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
131 131
     /**
132 132
      *  Function to build pdf onto disk
133 133
      *
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
143 143
     {
144
-		// phpcs:enable
144
+        // phpcs:enable
145 145
         global $user, $conf, $langs, $hookmanager;
146 146
 
147 147
         $object->fetch_thirdparty();
@@ -676,8 +676,8 @@  discard block
 block discarded – undo
676 676
         }
677 677
     }
678 678
 
679
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
680
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
679
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
680
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
681 681
     /**
682 682
      *  Show total to pay
683 683
      *
@@ -692,7 +692,7 @@  discard block
 block discarded – undo
692 692
      */
693 693
     protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs, $totalOrdered, $totalAmount = 0)
694 694
     {
695
-		// phpcs:enable
695
+        // phpcs:enable
696 696
         global $conf, $mysoc;
697 697
 
698 698
         $sign = 1;
@@ -794,7 +794,7 @@  discard block
 block discarded – undo
794 794
         return ($tab2_top + ($tab2_hl * $index));
795 795
     }
796 796
 
797
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
797
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
798 798
     /**
799 799
      *   Show table for lines
800 800
      *
@@ -888,7 +888,7 @@  discard block
 block discarded – undo
888 888
         }
889 889
     }
890 890
 
891
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
891
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
892 892
     /**
893 893
      *  Show top header of page.
894 894
      *
@@ -1129,7 +1129,7 @@  discard block
 block discarded – undo
1129 1129
         return $top_shift;
1130 1130
     }
1131 1131
 
1132
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1132
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1133 1133
     /**
1134 1134
      *      Show footer of page. Need this->emetteur object
1135 1135
      *
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@
 block discarded – undo
293 293
                 $pdf->MultiCell(0, 3, ''); // Set interline to 3
294 294
                 $pdf->SetTextColor(0, 0, 0);
295 295
 
296
-                $tab_top = 90;  // position of top tab
296
+                $tab_top = 90; // position of top tab
297 297
                 $tab_top_newpage = (!getDolGlobalInt('MAIN_PDF_DONOTREPEAT_HEAD') ? 42 : 10);
298 298
 
299 299
                 $tab_height = $this->page_hauteur - $tab_top - $heightforfooter - $heightforfreetext;
Please login to merge, or discard this patch.
htdocs/core/modules/reception/doc/doc_generic_reception_odt.modules.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
         return $texte;
196 196
     }
197 197
 
198
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
198
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
199 199
     /**
200 200
      *  Function to build a document on disk using the generic odt module.
201 201
      *
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
      */
210 210
     public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0)
211 211
     {
212
-		// phpcs:enable
212
+        // phpcs:enable
213 213
         global $user, $langs, $conf, $mysoc, $hookmanager;
214 214
 
215 215
         if (empty($srctemplatepath)) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
         $maxfilesizearray = getMaxFileSizeArray();
171 171
         $maxmin = $maxfilesizearray['maxmin'];
172 172
         if ($maxmin > 0) {
173
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
173
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
174 174
         }
175 175
         $texte .= ' <input type="file" name="uploadfile">';
176 176
         $texte .= '<input type="hidden" value="RECEPTION_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
public/htdocs/core/modules/reception/modules_reception.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
  */
33 33
 abstract class ModelePdfReception extends CommonDocGenerator
34 34
 {
35
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
35
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
36 36
     /**
37 37
      *  Return list of active generation modules
38 38
      *
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public static function liste_modeles($db, $maxfilenamelength = 0)
44 44
     {
45
-		// phpcs:enable
45
+        // phpcs:enable
46 46
         $type = 'reception';
47 47
         $list = array();
48 48
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/dons/html_generic.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
         return 1;
184 184
     }
185 185
 
186
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
186
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
187 187
     /**
188 188
      *  Write the object to document file to disk
189 189
      *
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     public function write_file($don, $outputlangs, $currency = '')
196 196
     {
197
-		// phpcs:enable
197
+        // phpcs:enable
198 198
         global $user, $conf, $langs, $mysoc;
199 199
 
200 200
         $id = (!is_object($don) ? $don : '');
Please login to merge, or discard this patch.
public/htdocs/core/modules/dons/modules_don.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
  */
38 38
 abstract class ModeleDon extends CommonDocGenerator
39 39
 {
40
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
40
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
41 41
     /**
42 42
      *  Return list of active generation modules
43 43
      *
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public static function liste_modeles($db, $maxfilenamelength = 0)
49 49
     {
50
-		// phpcs:enable
50
+        // phpcs:enable
51 51
         $type = 'donation';
52 52
         $list = array();
53 53
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/dons/html_cerfafr.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
 
69
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
69
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
70 70
     /**
71 71
      *  Write the object to document file to disk
72 72
      *
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     public function write_file($don, $outputlangs, $currency = '')
79 79
     {
80
-		// phpcs:enable
80
+        // phpcs:enable
81 81
         global $user, $conf, $langs, $mysoc;
82 82
 
83 83
         $now = dol_now();
Please login to merge, or discard this patch.
public/htdocs/core/modules/facture/doc/pdf_sponge.modules.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     }
183 183
 
184 184
 
185
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
185
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
186 186
     /**
187 187
      *  Function to build pdf onto disk
188 188
      *
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
      */
197 197
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
198 198
     {
199
-		// phpcs:enable
199
+        // phpcs:enable
200 200
         global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines;
201 201
 
202 202
         dol_syslog("write_file outputlangs->defaultlang=" . (is_object($outputlangs) ? $outputlangs->defaultlang : 'null'));
@@ -1974,7 +1974,7 @@  discard block
 block discarded – undo
1974 1974
         return ($tab2_top + ($tab2_hl * $index));
1975 1975
     }
1976 1976
 
1977
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1977
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1978 1978
     /**
1979 1979
      *  Return list of active generation modules
1980 1980
      *
@@ -1984,11 +1984,11 @@  discard block
 block discarded – undo
1984 1984
      */
1985 1985
     public static function liste_modeles($db, $maxfilenamelength = 0)
1986 1986
     {
1987
-		// phpcs:enable
1987
+        // phpcs:enable
1988 1988
         return parent::liste_modeles($db, $maxfilenamelength); // TODO: Change the autogenerated stub
1989 1989
     }
1990 1990
 
1991
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1991
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1992 1992
     /**
1993 1993
      *   Show table for lines
1994 1994
      *
@@ -2056,7 +2056,7 @@  discard block
 block discarded – undo
2056 2056
         }
2057 2057
     }
2058 2058
 
2059
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
2059
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
2060 2060
     /**
2061 2061
      *  Show top header of page. This include the logo, ref and address blocks
2062 2062
      *
@@ -2069,7 +2069,7 @@  discard block
 block discarded – undo
2069 2069
      */
2070 2070
     protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis = null)
2071 2071
     {
2072
-		// phpcs:enable
2072
+        // phpcs:enable
2073 2073
         global $conf, $langs;
2074 2074
 
2075 2075
         $ltrdirection = 'L';
@@ -2449,7 +2449,7 @@  discard block
 block discarded – undo
2449 2449
         return $pagehead;
2450 2450
     }
2451 2451
 
2452
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
2452
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
2453 2453
     /**
2454 2454
      *      Show footer of page. Need this->emetteur object
2455 2455
      *
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
                 // $pdf->GetY() here can't be used. It is bottom of the second address box but first one may be higher
454 454
 
455 455
                 // $this->tab_top is y where we must continue content (90 = 42 + 48: 42 is height of logo and ref, 48 is address blocks)
456
-                $this->tab_top = 90 + $top_shift + $shipp_shift;        // top_shift is an addition for linked objects or addons (0 in most cases)
456
+                $this->tab_top = 90 + $top_shift + $shipp_shift; // top_shift is an addition for linked objects or addons (0 in most cases)
457 457
                 $this->tab_top_newpage = (!getDolGlobalInt('MAIN_PDF_DONOTREPEAT_HEAD') ? 42 + $top_shift : 10);
458 458
 
459 459
                 // You can add more thing under header here, if you increase $extra_under_address_shift too.
@@ -690,7 +690,7 @@  discard block
 block discarded – undo
690 690
                     }
691 691
 
692 692
                     $pdf->setTopMargin($this->tab_top_newpage);
693
-                    $page_bottom_margin =  $this->heightforfooter + $this->heightforfreetext + $this->heightforinfotot + $this->getHeightForQRInvoice($pdf->getPage(), $object, $langs);
693
+                    $page_bottom_margin = $this->heightforfooter + $this->heightforfreetext + $this->heightforinfotot + $this->getHeightForQRInvoice($pdf->getPage(), $object, $langs);
694 694
                     $pdf->setPageOrientation('', 1, $page_bottom_margin);
695 695
                     $pageposbefore = $pdf->getPage();
696 696
 
@@ -934,7 +934,7 @@  discard block
 block discarded – undo
934 934
                     if (!isset($this->tva[$vatrate])) {
935 935
                         $this->tva[$vatrate] = 0;
936 936
                     }
937
-                    $this->tva[$vatrate] += $tvaligne;  // ->tva is abandoned, we use now ->tva_array that is more complete
937
+                    $this->tva[$vatrate] += $tvaligne; // ->tva is abandoned, we use now ->tva_array that is more complete
938 938
                     $vatcode = $object->lines[$i]->vat_src_code;
939 939
                     if (empty($this->tva_array[$vatrate . ($vatcode ? ' (' . $vatcode . ')' : '')]['amount'])) {
940 940
                         $this->tva_array[$vatrate . ($vatcode ? ' (' . $vatcode . ')' : '')]['amount'] = 0;
@@ -1228,7 +1228,7 @@  discard block
 block discarded – undo
1228 1228
             $posy = $pdf->GetY() + 4;
1229 1229
         }
1230 1230
 
1231
-        $posxval = 52;  // Position of values of properties shown on left side
1231
+        $posxval = 52; // Position of values of properties shown on left side
1232 1232
         $posxend = 110; // End of x for text on left side
1233 1233
         if ($this->page_largeur < 210) { // To work with US executive format
1234 1234
             $posxend -= 10;
Please login to merge, or discard this patch.