Test Failed
Push — main ( c8394f...8477f1 )
by Rafael
66:21
created
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/modStock.class.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
         $this->import_convertvalue_array[$r] = array(
451 451
             'ps.fk_product' => array('rule' => 'fetchidfromref', 'classfile' => '/product/class/product.class.php', 'class' => 'Product', 'method' => 'fetch', 'element' => 'product'),
452 452
             'ps.fk_entrepot' => array('rule' => 'fetchidfromref', 'classfile' => '/product/stock/class/entrepot.class.php', 'class' => 'Entrepot', 'method' => 'fetch', 'element' => 'ref')
453
-          );
453
+            );
454 454
         $this->import_examplevalues_array[$r] = array(
455 455
             'ps.fk_product' => "id or ref of product", 'ps.fk_entrepot' => "id or ref of warehouse", 'ps.reel' => "10"
456 456
         );
@@ -500,10 +500,10 @@  discard block
 block discarded – undo
500 500
         $sql = array();
501 501
 
502 502
         $sql = array(
503
-             "DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[1][2]) . "' AND type = 'stock' AND entity = " . ((int) $conf->entity),
504
-             "INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[1][2]) . "','stock'," . ((int) $conf->entity) . ")",
505
-             "DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[2][2]) . "' AND type = 'mouvement' AND entity = " . ((int) $conf->entity),
506
-             "INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[2][2]) . "','mouvement'," . ((int) $conf->entity) . ")",
503
+                "DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[1][2]) . "' AND type = 'stock' AND entity = " . ((int) $conf->entity),
504
+                "INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[1][2]) . "','stock'," . ((int) $conf->entity) . ")",
505
+                "DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[2][2]) . "' AND type = 'mouvement' AND entity = " . ((int) $conf->entity),
506
+                "INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[2][2]) . "','mouvement'," . ((int) $conf->entity) . ")",
507 507
         );
508 508
 
509 509
         return $this->_init($sql, $options);
Please login to merge, or discard this patch.
public/htdocs/core/modules/reception/doc/pdf_squille.modules.php 1 patch
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.
htdocs/core/modules/reception/doc/doc_generic_reception_odt.modules.php 1 patch
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.
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 1 patch
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.