Passed
Push — GENERAL_BUG_REVIEW_240911 ( 776d89...c757bd )
by Rafael
50:33
created
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.
public/htdocs/core/modules/facture/doc/pdf_octopus.modules.php 3 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   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * Dolibarr version of the loaded document
79 79
      * @var string
80 80
      */
81
-    public $version = 'disabled';   // Disabled by default. Enabled in constructor if option INVOICE_USE_SITUATION is 2.
81
+    public $version = 'disabled'; // Disabled by default. Enabled in constructor if option INVOICE_USE_SITUATION is 2.
82 82
 
83 83
     /**
84 84
      * @var int height for info total
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
             $outputlangsbis->loadLangs(array("main", "bills", "products", "dict", "companies"));
293 293
         }
294 294
 
295
-        if (empty($object) || ($object->type != Facture::TYPE_SITUATION && ($object->type != Facture::TYPE_CREDIT_NOTE &&  !empty($object->situation_cycle_ref)))) {
295
+        if (empty($object) || ($object->type != Facture::TYPE_SITUATION && ($object->type != Facture::TYPE_CREDIT_NOTE && !empty($object->situation_cycle_ref)))) {
296 296
             setEventMessage($langs->trans('WarningsObjectIsNotASituation'), 'warnings');
297 297
             return 1;
298 298
         }
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
                 $pdf->SetAutoPageBreak(1, 0);
412 412
 
413 413
                 // compute height for situation invoices
414
-                $this->heightforinfotot = 45;   // Height reserved to output the info and total part and payment part
414
+                $this->heightforinfotot = 45; // Height reserved to output the info and total part and payment part
415 415
                 if (!getDolGlobalString('INVOICE_NO_PAYMENT_DETAILS') && $nbpayments > 0) {
416 416
                     $this->heightforinfotot += 4 * ($nbpayments + 3);
417 417
                 }
@@ -525,7 +525,7 @@  discard block
 block discarded – undo
525 525
                 // $pdf->GetY() here can't be used. It is bottom of the second address box but first one may be higher
526 526
 
527 527
                 // $this->tab_top is y where we must continue content (90 = 42 + 48: 42 is height of logo and ref, 48 is address blocks)
528
-                $this->tab_top = 90 + $top_shift + $shipp_shift;        // top_shift is an addition for linked objects or addons (0 in most cases)
528
+                $this->tab_top = 90 + $top_shift + $shipp_shift; // top_shift is an addition for linked objects or addons (0 in most cases)
529 529
                 $this->tab_top_newpage = (!getDolGlobalInt('MAIN_PDF_DONOTREPEAT_HEAD') ? 42 + $top_shift : 10);
530 530
 
531 531
                 // You can add more thing under header here, if you increase $extra_under_address_shift too.
@@ -1037,7 +1037,7 @@  discard block
 block discarded – undo
1037 1037
                     if (!isset($this->tva[$vatrate])) {
1038 1038
                         $this->tva[$vatrate] = 0;
1039 1039
                     }
1040
-                    $this->tva[$vatrate] += $tvaligne;  // ->tva is abandoned, we use now ->tva_array that is more complete
1040
+                    $this->tva[$vatrate] += $tvaligne; // ->tva is abandoned, we use now ->tva_array that is more complete
1041 1041
                     $vatcode = $object->lines[$i]->vat_src_code;
1042 1042
                     if (empty($this->tva_array[$vatrate . ($vatcode ? ' (' . $vatcode . ')' : '')]['amount'])) {
1043 1043
                         $this->tva_array[$vatrate . ($vatcode ? ' (' . $vatcode . ')' : '')]['amount'] = 0;
@@ -1337,7 +1337,7 @@  discard block
 block discarded – undo
1337 1337
             $posy = $pdf->GetY() + 4;
1338 1338
         }
1339 1339
 
1340
-        $posxval = 52;  // Position of values of properties shown on left side
1340
+        $posxval = 52; // Position of values of properties shown on left side
1341 1341
         $posxend = 110; // End of x for text on left side
1342 1342
         if ($this->page_largeur < 210) { // To work with US executive format
1343 1343
             $posxend -= 10;
@@ -1700,7 +1700,7 @@  discard block
 block discarded – undo
1700 1700
                     if (($object->lines[$i]->info_bits & 0x01) == 0x01) {
1701 1701
                         $vatrate .= '*';
1702 1702
                     }
1703
-                    if (! isset($tvas[$vatrate])) {
1703
+                    if (!isset($tvas[$vatrate])) {
1704 1704
                         $tvas[$vatrate] = 0;
1705 1705
                     }
1706 1706
                     $tvas[$vatrate] += $tvaligne;
@@ -2013,7 +2013,7 @@  discard block
 block discarded – undo
2013 2013
         $pdf->SetFont('', '', $default_font_size - 1);
2014 2014
 
2015 2015
         if (empty($hidetop)) {
2016
-            $pdf->line($this->marge_gauche, $tab_top + 5, $this->page_largeur - $this->marge_droite, $tab_top + 5);   // line prend une position y en 2eme param et 4eme param
2016
+            $pdf->line($this->marge_gauche, $tab_top + 5, $this->page_largeur - $this->marge_droite, $tab_top + 5); // line prend une position y en 2eme param et 4eme param
2017 2017
         }
2018 2018
     }
2019 2019
 
@@ -2583,7 +2583,7 @@  discard block
 block discarded – undo
2583 2583
             'overtitle' => array(
2584 2584
                 'textkey' => 'Chantier', // use lang key is useful in somme case with module
2585 2585
                 'align' => 'C',
2586
-                'padding' => array(0.5,0.5,0.5,0.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
2586
+                'padding' => array(0.5, 0.5, 0.5, 0.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
2587 2587
                 'width' => 18
2588 2588
             ),
2589 2589
         );
@@ -2610,11 +2610,11 @@  discard block
 block discarded – undo
2610 2610
             'overtitle' => array(
2611 2611
                 'textkey' => $outputlangs->transnoentities('SituationInvoiceDate', $derniere_situation->situation_counter, dol_print_date($derniere_situation->date, "%d/%m/%Y")), // use lang key is useful in somme case with module
2612 2612
                 'align' => 'C',
2613
-                'padding' => array(0.5,0.2,0.5,0.2), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
2613
+                'padding' => array(0.5, 0.2, 0.5, 0.2), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
2614 2614
                 'width' => 10 + 15 //current width + amount cell width
2615 2615
             ),
2616 2616
         );
2617
-        if ($this->situationinvoice && ! empty($this->TDataSituation['date_derniere_situation'])) {
2617
+        if ($this->situationinvoice && !empty($this->TDataSituation['date_derniere_situation'])) {
2618 2618
             $this->cols['prev_progress']['status'] = true;
2619 2619
         }
2620 2620
 
@@ -2629,7 +2629,7 @@  discard block
 block discarded – undo
2629 2629
             ),
2630 2630
             'border-left' => true, // add left line separator
2631 2631
         );
2632
-        if ($this->situationinvoice && ! empty($this->TDataSituation['date_derniere_situation'])) {
2632
+        if ($this->situationinvoice && !empty($this->TDataSituation['date_derniere_situation'])) {
2633 2633
             $this->cols['prev_progress_amount']['status'] = true;
2634 2634
         }
2635 2635
 
@@ -2646,7 +2646,7 @@  discard block
 block discarded – undo
2646 2646
             'overtitle' => array(
2647 2647
                 'textkey' => $outputlangs->transnoentities('SituationInvoiceDate', $object->situation_counter, dol_print_date($object->date, "%d/%m/%Y")), // use lang key is useful in somme case with module
2648 2648
                 'align' => 'C',
2649
-                'padding' => array(0.5,0.2,0.5,0.2), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
2649
+                'padding' => array(0.5, 0.2, 0.5, 0.2), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
2650 2650
                 'width' => 10 + 15
2651 2651
             ),
2652 2652
         );
@@ -2769,7 +2769,7 @@  discard block
 block discarded – undo
2769 2769
 
2770 2770
         // Output Rect
2771 2771
         // KEEPTHIS => Affiche les bords extérieurs
2772
-        $this->printRectBtp($pdf, $this->marge_gauche, $tab_top, $this->page_largeur - $this->marge_gauche - $this->marge_droite, $tab_height, $hidetop, $hidebottom);  // Rect prend une longueur en 3eme param et 4eme param
2772
+        $this->printRectBtp($pdf, $this->marge_gauche, $tab_top, $this->page_largeur - $this->marge_gauche - $this->marge_droite, $tab_height, $hidetop, $hidebottom); // Rect prend une longueur en 3eme param et 4eme param
2773 2773
 
2774 2774
         $pdf->line($this->posx_cumul_anterieur - 1, $tab_top, $this->posx_cumul_anterieur - 1, $tab_top + $tab_height);
2775 2775
         if (empty($hidetop)) {
@@ -2826,7 +2826,7 @@  discard block
 block discarded – undo
2826 2826
             $pdf->SetXY($this->marge_gauche + 10, $tab_top + 24 + $i);
2827 2827
             $pdf->MultiCell(80, 2, $outputlangs->transnoentities("TotalHT") . ' ' . $TVatInfo['label'], '', 'L');
2828 2828
 
2829
-            if (! empty($this->TDataSituation['current'][$tva_tx_formated]['TVA'])) {
2829
+            if (!empty($this->TDataSituation['current'][$tva_tx_formated]['TVA'])) {
2830 2830
                 $pdf->SetXY($this->marge_gauche + 10, $tab_top + 28 + $i);
2831 2831
                 $pdf->MultiCell(80, 2, $outputlangs->transnoentities("VAT") . ' ' . $TVatInfo['label'], '', 'L');
2832 2832
             } else {
@@ -2890,7 +2890,7 @@  discard block
 block discarded – undo
2890 2890
                 $pdf->MultiCell(32, 2, price($this->TDataSituation[$col][$tva_tx_formated]['HT'], 0, '', 1, -1, 2), '', 'R');
2891 2891
 
2892 2892
                 // Total TVA
2893
-                if (! empty($this->TDataSituation['current'][$tva_tx_formated]['TVA'])) {
2893
+                if (!empty($this->TDataSituation['current'][$tva_tx_formated]['TVA'])) {
2894 2894
                     $pdf->SetXY($x, $tab_top + 28 + $i);
2895 2895
                     $pdf->MultiCell(32, 2, price($this->TDataSituation[$col][$tva_tx_formated]['TVA'], 0, '', 1, -1, 2), '', 'R');
2896 2896
                 } else {
@@ -2970,7 +2970,7 @@  discard block
 block discarded – undo
2970 2970
 
2971 2971
         $TDataSituation = array();
2972 2972
 
2973
-        if (! empty($facDerniereSituation)) {
2973
+        if (!empty($facDerniereSituation)) {
2974 2974
             $TDataSituation['derniere_situation'] = $facDerniereSituation;
2975 2975
             $TDataSituation['date_derniere_situation'] = $facDerniereSituation->date;
2976 2976
         }
@@ -2979,9 +2979,9 @@  discard block
 block discarded – undo
2979 2979
         $retenue_garantie_anterieure = 0;
2980 2980
         // Init tous les champs à 0
2981 2981
         $TDataSituation['cumul_anterieur'] = array(
2982
-            'HT' => 0,  //montant HT normal
2983
-            'TVA' => 0,   //montant de la TVA sur le HTnet
2984
-            'TTC' => 0,   //montant TTC (HTnet + TVA)
2982
+            'HT' => 0, //montant HT normal
2983
+            'TVA' => 0, //montant de la TVA sur le HTnet
2984
+            'TTC' => 0, //montant TTC (HTnet + TVA)
2985 2985
             'retenue_garantie' => 0,
2986 2986
             'travaux_sup' => 0,
2987 2987
             'HTnet' => 0, //montant HT
@@ -3011,7 +3011,7 @@  discard block
 block discarded – undo
3011 3011
                     $isFirstSituation = false;
3012 3012
                     if (!empty($l->fk_prev_id)) {
3013 3013
                         $prevSituationPercent = $l->get_prev_progress($previousInvoice->id, true);
3014
-                    } elseif (! array_key_exists($i + 1, $TPreviousInvoices)) {
3014
+                    } elseif (!array_key_exists($i + 1, $TPreviousInvoices)) {
3015 3015
                         $isFirstSituation = true;
3016 3016
                     }
3017 3017
 
@@ -3021,7 +3021,7 @@  discard block
 block discarded – undo
3021 3021
 
3022 3022
                     //1ere ligne
3023 3023
                     $amounttva = $calc_ht * ($ltvatx / 100);
3024
-                    if (! isset($TDataSituation['cumul_anterieur'][$ltvatx])) {
3024
+                    if (!isset($TDataSituation['cumul_anterieur'][$ltvatx])) {
3025 3025
                         $TDataSituation['cumul_anterieur'][$ltvatx]['HT'] = $calc_ht;
3026 3026
                         $TDataSituation['cumul_anterieur'][$ltvatx]['TVA'] = $amounttva;
3027 3027
                     } else {
@@ -3033,14 +3033,14 @@  discard block
 block discarded – undo
3033 3033
                     //le grand total de TVA
3034 3034
                     // $TDataSituation['cumul_anterieur']['TVA'] += $amounttva;
3035 3035
 
3036
-                    if (empty($l->fk_prev_id) && ! $isFirstSituation) {
3036
+                    if (empty($l->fk_prev_id) && !$isFirstSituation) {
3037 3037
                         // TODO: à clarifier, mais pour moi, un facture de situation précédente qui a des progressions à 0% c'est pas logique
3038 3038
                         $TDataSituation['cumul_anterieur']['travaux_sup'] += $calc_ht;
3039 3039
                     }
3040 3040
                 }
3041 3041
             }
3042 3042
 
3043
-            if (! empty($previousInvoice->retained_warranty) && !getDolGlobalString('USE_RETAINED_WARRANTY_ONLY_FOR_SITUATION_FINAL')) {
3043
+            if (!empty($previousInvoice->retained_warranty) && !getDolGlobalString('USE_RETAINED_WARRANTY_ONLY_FOR_SITUATION_FINAL')) {
3044 3044
                 $retenue_garantie_anterieure += $previousInvoice->getRetainedWarrantyAmount();
3045 3045
             }
3046 3046
 
@@ -3054,7 +3054,7 @@  discard block
 block discarded – undo
3054 3054
         // print json_encode($facDerniereSituation->lines);exit;
3055 3055
         $TDataSituation['current'] = $this->btpGetInvoiceAmounts($object->id);
3056 3056
 
3057
-        if (! empty($facDerniereSituation->lines)) {
3057
+        if (!empty($facDerniereSituation->lines)) {
3058 3058
             $TFacLinesKey = array_keys($facDerniereSituation->lines);
3059 3059
             $TObjectLinesKey = array_keys($object->lines);
3060 3060
             $TDiffKey = array_diff($TObjectLinesKey, $TFacLinesKey);
@@ -3220,7 +3220,7 @@  discard block
 block discarded – undo
3220 3220
      */
3221 3221
     public function btpGetInvoiceAmounts($id, $forceReadFromDB = false)
3222 3222
     {
3223
-        global $user,$langs,$conf,$mysoc,$db,$hookmanager,$nblignes;
3223
+        global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblignes;
3224 3224
 
3225 3225
         $object = new Facture($db);
3226 3226
         $object->fetch($id);
@@ -3238,16 +3238,16 @@  discard block
 block discarded – undo
3238 3238
         $facDerniereSituation = $TPreviousInvoices[0];
3239 3239
 
3240 3240
         $ret = array(
3241
-            'HT' => 0,  //montant HT normal
3241
+            'HT' => 0, //montant HT normal
3242 3242
             'HTnet' => 0, //montant HT
3243
-            'TVA' => 0,   //montant de la TVA sur le HTnet
3244
-            'TTC' => 0,   //montant TTC (HTnet + TVA)
3243
+            'TVA' => 0, //montant de la TVA sur le HTnet
3244
+            'TTC' => 0, //montant TTC (HTnet + TVA)
3245 3245
             'retenue_garantie' => 0,
3246 3246
             'travaux_sup' => 0,
3247 3247
             'total_a_payer' => 0 //montant "a payer" sur la facture
3248 3248
         );
3249 3249
 
3250
-        if (! empty($facDerniereSituation)) {
3250
+        if (!empty($facDerniereSituation)) {
3251 3251
             $ret['derniere_situation'] = $facDerniereSituation;
3252 3252
             $ret['date_derniere_situation'] = $facDerniereSituation->date;
3253 3253
         }
@@ -3379,14 +3379,14 @@  discard block
 block discarded – undo
3379 3379
             $label = $outputlangs->transnoentities("SituationInvoiceTotalProposal");
3380 3380
             $pdf->MultiCell($this->page_largeur - ($this->marge_droite + $this->marge_gauche), 3, $label, 0, 'L', 0, 1, $posx, $posy + 1);
3381 3381
 
3382
-            $amount = price($sign * ($total_ht + (! empty($propal->remise) ? $propal->remise : 0)));
3382
+            $amount = price($sign * ($total_ht + (!empty($propal->remise) ? $propal->remise : 0)));
3383 3383
             $pdf->MultiCell($width2, 3, $amount, 0, 'R', 0, 1, $posx + $width, $posy + 1);
3384 3384
 
3385 3385
             $pdf->SetFont('', '', $default_font_size - 1);
3386 3386
 
3387 3387
             // Output Rect
3388 3388
             $pdf->SetDrawColor(128, 128, 128);
3389
-            $this->printRect($pdf, $posx, $posy, $this->page_largeur - $this->marge_gauche - $this->marge_droite, 6);   // Rect prend une longueur en 3eme param et 4eme param
3389
+            $this->printRect($pdf, $posx, $posy, $this->page_largeur - $this->marge_gauche - $this->marge_droite, 6); // Rect prend une longueur en 3eme param et 4eme param
3390 3390
 
3391 3391
             $posy += 4;
3392 3392
         } elseif (count($orders)) {
@@ -3421,7 +3421,7 @@  discard block
 block discarded – undo
3421 3421
 
3422 3422
         $force_to_zero = false;
3423 3423
 
3424
-        $idinv = 0;//count($previousinvoices);
3424
+        $idinv = 0; //count($previousinvoices);
3425 3425
         while ($idinv < count($previousinvoices)) {
3426 3426
             $invoice = $previousinvoices[$idinv];
3427 3427
 
@@ -3471,7 +3471,7 @@  discard block
 block discarded – undo
3471 3471
                 if (($invoice->lines[$i]->info_bits & 0x01) == 0x01) {
3472 3472
                     $vatrate .= '*';
3473 3473
                 }
3474
-                if (! isset($tvas[$vatrate])) {
3474
+                if (!isset($tvas[$vatrate])) {
3475 3475
                     $tvas[$vatrate] = 0;
3476 3476
                 }
3477 3477
                 $tvas[$vatrate] += $tvaligne;
Please login to merge, or discard this patch.
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3558,7 +3558,9 @@  discard block
 block discarded – undo
3558 3558
             $deja_regle = $invoice->getSommePaiement();
3559 3559
 
3560 3560
             $resteapayer = price2num($invoice->total_ttc - $deja_regle - $total_ttc_rg - $creditnoteamount - $depositsamount, 'MT');
3561
-            if ($invoice->paye) $resteapayer = 0;
3561
+            if ($invoice->paye) {
3562
+                $resteapayer = 0;
3563
+            }
3562 3564
 
3563 3565
             $y = 0;
3564 3566
 
@@ -3608,7 +3610,9 @@  discard block
 block discarded – undo
3608 3610
 
3609 3611
             if ($deja_regle > 0) {
3610 3612
                 $title = $outputlangs->transnoentities("PaymentsAlreadyDone");
3611
-                if ($invoice->type == 2) $title = $outputlangs->transnoentities("PaymentsBackAlreadyDone");
3613
+                if ($invoice->type == 2) {
3614
+                    $title = $outputlangs->transnoentities("PaymentsBackAlreadyDone");
3615
+                }
3612 3616
 
3613 3617
                 $pdf->SetFont('', '', $default_font_size - 3);
3614 3618
                 $pdf->SetXY($posx, $posy + $height * $index);
@@ -3671,7 +3675,9 @@  discard block
 block discarded – undo
3671 3675
                 if (!empty($this->tplidx)) {
3672 3676
                     $pdf->useTemplate($this->tplidx);
3673 3677
                 }
3674
-                if (!getDolGlobalInt('MAIN_PDF_DONOTREPEAT_HEAD')) $this->_pagehead($pdf, $object, 0, $outputlangs);
3678
+                if (!getDolGlobalInt('MAIN_PDF_DONOTREPEAT_HEAD')) {
3679
+                    $this->_pagehead($pdf, $object, 0, $outputlangs);
3680
+                }
3675 3681
                 $pdf->setPage($pageposafter + 1);
3676 3682
                 $pdf->setPageOrientation('', 1, 0); // The only function to edit the bottom margin of current page to set it.
3677 3683
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/facture/doc/doc_generic_invoice_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   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
         $maxfilesizearray = getMaxFileSizeArray();
176 176
         $maxmin = $maxfilesizearray['maxmin'];
177 177
         if ($maxmin > 0) {
178
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
178
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
179 179
         }
180 180
         $texte .= ' <input type="file" name="uploadfile">';
181 181
         $texte .= '<input type="hidden" value="FACTURE_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
@@ -410,10 +410,10 @@  discard block
 block discarded – undo
410 410
                 }
411 411
 
412 412
                 // Define substitution array
413
-                $substitutionarray = getCommonSubstitutionArray($outputlangs, 0, null, $object);    // Set tags __...__
413
+                $substitutionarray = getCommonSubstitutionArray($outputlangs, 0, null, $object); // Set tags __...__
414 414
                 $array_object_from_properties = $this->get_substitutionarray_each_var_object($object, $outputlangs);
415
-                $array_objet = $this->get_substitutionarray_object($object, $outputlangs);          // Set tags object_...
416
-                $array_user = $this->get_substitutionarray_user($user, $outputlangs);               // Set tags myuser_...
415
+                $array_objet = $this->get_substitutionarray_object($object, $outputlangs); // Set tags object_...
416
+                $array_user = $this->get_substitutionarray_user($user, $outputlangs); // Set tags myuser_...
417 417
                 $array_soc = $this->get_substitutionarray_mysoc($mysoc, $outputlangs);
418 418
                 $array_thirdparty = $this->get_substitutionarray_thirdparty($socobject, $outputlangs);
419 419
                 $array_propal = is_object($propal_object) ? $this->get_substitutionarray_object($propal_object, $outputlangs, 'propal') : array();
Please login to merge, or discard this patch.
public/htdocs/core/modules/facture/doc/pdf_crabe.modules.php 2 patches
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     }
181 181
 
182 182
 
183
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
183
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
184 184
     /**
185 185
      *  Function to build pdf onto disk
186 186
      *
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
196 196
     {
197
-		// phpcs:enable
197
+        // phpcs:enable
198 198
         global $user, $langs, $conf, $mysoc, $hookmanager, $nblines;
199 199
 
200 200
         dol_syslog("write_file outputlangs->defaultlang=" . (is_object($outputlangs) ? $outputlangs->defaultlang : 'null'));
@@ -900,8 +900,8 @@  discard block
 block discarded – undo
900 900
     }
901 901
 
902 902
 
903
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
904
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
903
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
904
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
905 905
     /**
906 906
      *  Show payments table
907 907
      *
@@ -914,7 +914,7 @@  discard block
 block discarded – undo
914 914
      */
915 915
     protected function _tableau_versements(&$pdf, $object, $posy, $outputlangs, $heightforfooter = 0)
916 916
     {
917
-		// phpcs:enable
917
+        // phpcs:enable
918 918
         global $conf;
919 919
 
920 920
         $sign = 1;
@@ -1058,8 +1058,8 @@  discard block
 block discarded – undo
1058 1058
         }
1059 1059
     }
1060 1060
 
1061
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1062
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1061
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1062
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1063 1063
     /**
1064 1064
      * Function _tableau_versements_header
1065 1065
      *
@@ -1075,7 +1075,7 @@  discard block
 block discarded – undo
1075 1075
      */
1076 1076
     protected function _tableau_versements_header($pdf, $object, $outputlangs, $default_font_size, $tab3_posx, $tab3_top, $tab3_width, $tab3_height)
1077 1077
     {
1078
-		// phpcs:enable
1078
+        // phpcs:enable
1079 1079
         $title = $outputlangs->transnoentities("PaymentsAlreadyDone");
1080 1080
         if ($object->type == 2) {
1081 1081
             $title = $outputlangs->transnoentities("PaymentsBackAlreadyDone");
@@ -1100,8 +1100,8 @@  discard block
 block discarded – undo
1100 1100
         $pdf->line($tab3_posx, $tab3_top - 1 + $tab3_height, $tab3_posx + $tab3_width, $tab3_top - 1 + $tab3_height);
1101 1101
     }
1102 1102
 
1103
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1104
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1103
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1104
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1105 1105
     /**
1106 1106
      *   Show miscellaneous information (payment mode, payment term, ...)
1107 1107
      *
@@ -1114,7 +1114,7 @@  discard block
 block discarded – undo
1114 1114
      */
1115 1115
     protected function _tableau_info(&$pdf, $object, $posy, $outputlangs, $outputlangsbis)
1116 1116
     {
1117
-		// phpcs:enable
1117
+        // phpcs:enable
1118 1118
         global $conf, $mysoc, $hookmanager;
1119 1119
 
1120 1120
         $default_font_size = pdf_getPDFFontSize($outputlangs);
@@ -1337,8 +1337,8 @@  discard block
 block discarded – undo
1337 1337
     }
1338 1338
 
1339 1339
 
1340
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1341
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1340
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1341
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1342 1342
     /**
1343 1343
      *  Show total to pay
1344 1344
      *
@@ -1352,7 +1352,7 @@  discard block
 block discarded – undo
1352 1352
      */
1353 1353
     protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs, $outputlangsbis)
1354 1354
     {
1355
-		// phpcs:enable
1355
+        // phpcs:enable
1356 1356
         global $conf, $mysoc, $hookmanager;
1357 1357
 
1358 1358
         $sign = 1;
@@ -1683,7 +1683,7 @@  discard block
 block discarded – undo
1683 1683
         return ($tab2_top + ($tab2_hl * $index));
1684 1684
     }
1685 1685
 
1686
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1686
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1687 1687
     /**
1688 1688
      *   Show table for lines
1689 1689
      *
@@ -1804,7 +1804,7 @@  discard block
 block discarded – undo
1804 1804
         }
1805 1805
     }
1806 1806
 
1807
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1807
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1808 1808
     /**
1809 1809
      *  Show top header of page.
1810 1810
      *
@@ -1817,7 +1817,7 @@  discard block
 block discarded – undo
1817 1817
      */
1818 1818
     protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis = null)
1819 1819
     {
1820
-		// phpcs:enable
1820
+        // phpcs:enable
1821 1821
         global $conf, $langs;
1822 1822
 
1823 1823
         $ltrdirection = 'L';
@@ -2195,7 +2195,7 @@  discard block
 block discarded – undo
2195 2195
         return $top_shift;
2196 2196
     }
2197 2197
 
2198
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
2198
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
2199 2199
     /**
2200 2200
      *      Show footer of page. Need this->emetteur object
2201 2201
      *
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
                 // $pdf->GetY() here can't be used. It is bottom of the second address box but first one may be higher
445 445
 
446 446
                 // $tab_top is y where we must continue content (90 = 42 + 48: 42 is height of logo and ref, 48 is address blocks)
447
-                $tab_top = 90 + $top_shift;     // top_shift is an addition for linked objects or addons (0 in most cases)
447
+                $tab_top = 90 + $top_shift; // top_shift is an addition for linked objects or addons (0 in most cases)
448 448
                 $tab_top_newpage = (!getDolGlobalInt('MAIN_PDF_DONOTREPEAT_HEAD') ? 42 + $top_shift : 10);
449 449
 
450 450
                 // You can add more thing under header here, if you increase $extra_under_address_shift too.
@@ -774,7 +774,7 @@  discard block
 block discarded – undo
774 774
                     if (!isset($this->tva[$vatrate])) {
775 775
                         $this->tva[$vatrate] = 0;
776 776
                     }
777
-                    $this->tva[$vatrate] += $tvaligne;  // ->tva is abandoned, we use now ->tva_array that is more complete
777
+                    $this->tva[$vatrate] += $tvaligne; // ->tva is abandoned, we use now ->tva_array that is more complete
778 778
                     $vatcode = $object->lines[$i]->vat_src_code;
779 779
                     if (empty($this->tva_array[$vatrate . ($vatcode ? ' (' . $vatcode . ')' : '')]['amount'])) {
780 780
                         $this->tva_array[$vatrate . ($vatcode ? ' (' . $vatcode . ')' : '')]['amount'] = 0;
@@ -1153,7 +1153,7 @@  discard block
 block discarded – undo
1153 1153
             $lib_condition_paiement = str_replace('\n', "\n", $lib_condition_paiement);
1154 1154
             $pdf->MultiCell(67, 4, $lib_condition_paiement, 0, 'L');
1155 1155
 
1156
-            $posy = $pdf->GetY() + 3;   // We need spaces for 2 lines payment conditions
1156
+            $posy = $pdf->GetY() + 3; // We need spaces for 2 lines payment conditions
1157 1157
         }
1158 1158
 
1159 1159
         // Show category of operations
@@ -2113,7 +2113,7 @@  discard block
 block discarded – undo
2113 2113
 
2114 2114
             $carac_client_name = pdfBuildThirdpartyName($thirdparty, $outputlangs);
2115 2115
 
2116
-            $mode =  'target';
2116
+            $mode = 'target';
2117 2117
             $carac_client = pdf_build_address($outputlangs, $this->emetteur, $object->thirdparty, ($usecontact ? $object->contact : ''), $usecontact, $mode, $object);
2118 2118
 
2119 2119
             // Show recipient
Please login to merge, or discard this patch.
public/htdocs/core/modules/facture/modules_facture.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     public $atleastoneratenotnull = 0;
60 60
 
61 61
 
62
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
62
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
63 63
     /**
64 64
      *  Return list of active generation modules
65 65
      *
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public static function liste_modeles($db, $maxfilenamelength = 0)
71 71
     {
72
-		// phpcs:enable
72
+        // phpcs:enable
73 73
         $type = 'invoice';
74 74
         $list = array();
75 75
 
Please login to merge, or discard this patch.