Passed
Push — main ( 55273f...7ed502 )
by Rafael
46:12
created
htdocs/core/modules/stock/modules_stock.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     public $version = 'dolibarr';
51 51
 
52 52
 
53
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
53
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
54 54
     /**
55 55
      *  Return list of active generation modules
56 56
      *
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     public static function liste_modeles($db, $maxfilenamelength = 0)
62 62
     {
63
-		// phpcs:enable
63
+        // phpcs:enable
64 64
         $type = 'stock';
65 65
         $list = array();
66 66
 
Please login to merge, or discard this patch.
htdocs/core/modules/stock/doc/pdf_standard.modules.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     }
120 120
 
121 121
 
122
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
122
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
123 123
     /**
124 124
      *  Function to build a document on disk using the generic odt module.
125 125
      *
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      */
134 134
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
135 135
     {
136
-		// phpcs:enable
136
+        // phpcs:enable
137 137
         global $user, $langs, $conf, $mysoc, $db, $hookmanager;
138 138
 
139 139
         if (!is_object($outputlangs)) {
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
         }
573 573
     }
574 574
 
575
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
575
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
576 576
     /**
577 577
      *   Show table for lines
578 578
      *
@@ -679,7 +679,7 @@  discard block
 block discarded – undo
679 679
         }
680 680
     }
681 681
 
682
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
682
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
683 683
     /**
684 684
      *  Show top header of page.
685 685
      *
@@ -833,7 +833,7 @@  discard block
 block discarded – undo
833 833
         return $top_shift;
834 834
     }
835 835
 
836
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
836
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
837 837
     /**
838 838
      *      Show footer of page. Need this->emetteur object
839 839
      *
Please login to merge, or discard this patch.
htdocs/core/modules/stock/doc/doc_generic_stock_odt.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
         return $texte;
191 191
     }
192 192
 
193
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
193
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
194 194
     /**
195 195
      *  Function to build a document on disk using the generic odt module.
196 196
      *
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
      */
205 205
     public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0)
206 206
     {
207
-		// phpcs:enable
207
+        // phpcs:enable
208 208
         global $stock, $langs, $conf, $mysoc, $hookmanager, $user;
209 209
 
210 210
         if (empty($srctemplatepath)) {
Please login to merge, or discard this patch.
htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
         return $texte;
216 216
     }
217 217
 
218
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
218
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
219 219
     /**
220 220
      *  Function to build a document on disk using the generic odt module.
221 221
      *
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
      */
230 230
     public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0)
231 231
     {
232
-		// phpcs:enable
232
+        // phpcs:enable
233 233
         global $user, $langs, $conf, $mysoc, $hookmanager;
234 234
 
235 235
         if (empty($srctemplatepath)) {
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
         return -1;
439 439
     }
440 440
 
441
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
441
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
442 442
     /**
443 443
      * get substitution array for object
444 444
      *
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
      */
450 450
     public function get_substitutionarray_object($object, $outputlangs, $array_key = 'object')
451 451
     {
452
-		// phpcs:enable
452
+        // phpcs:enable
453 453
         if (!$object instanceof User) {
454 454
             dol_syslog("Expected User object, got " . gettype($object), LOG_ERR);
455 455
             return array();
Please login to merge, or discard this patch.
htdocs/core/modules/user/modules_user.class.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
  *  \brief      File with parent class for generating contracts to PDF and File of class to manage contract numbering
33 33
  */
34 34
 
35
- require_once DOL_DOCUMENT_ROOT . '/core/class/commondocgenerator.class.php';
35
+    require_once DOL_DOCUMENT_ROOT . '/core/class/commondocgenerator.class.php';
36 36
 
37 37
 /**
38 38
  *  Parent class to manage intervention document templates
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public $error = '';
46 46
 
47 47
 
48
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
48
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
49 49
     /**
50 50
      *  Return list of active generation modules
51 51
      *
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public static function liste_modeles($db, $maxfilenamelength = 0)
57 57
     {
58
-		// phpcs:enable
58
+        // phpcs:enable
59 59
         $type = 'user';
60 60
         $list = array();
61 61
 
Please login to merge, or discard this patch.
htdocs/core/modules/modDataPolicy.class.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
  */
39 39
 class modDataPolicy extends DolibarrModules
40 40
 {
41
-	// @codingStandardsIgnoreEnd
41
+    // @codingStandardsIgnoreEnd
42 42
     /**
43 43
      * Constructor. Define names, constants, directories, boxes, permissions
44 44
      *
Please login to merge, or discard this patch.
htdocs/core/modules/barcode/mod_barcode_product_standard.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
     }
270 270
 
271 271
 
272
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
272
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
273 273
     /**
274 274
      *  Return if a code is used (by other element)
275 275
      *
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
      */
281 281
     public function verif_dispo($db, $code, $product)
282 282
     {
283
-		// phpcs:enable
283
+        // phpcs:enable
284 284
         $sql = "SELECT barcode FROM " . MAIN_DB_PREFIX . "product";
285 285
         $sql .= " WHERE barcode = '" . $db->escape($code) . "'";
286 286
         $sql .= " AND entity IN (" . getEntity('product') . ")";
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
         }
302 302
     }
303 303
 
304
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
304
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
305 305
     /**
306 306
      *  Return if a barcode value match syntax
307 307
      *
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
      */
312 312
     public function verif_syntax($codefortest, $typefortest)
313 313
     {
314
-		// phpcs:enable
314
+        // phpcs:enable
315 315
         global $conf;
316 316
 
317 317
         $result = 0;
Please login to merge, or discard this patch.
htdocs/core/modules/barcode/mod_barcode_thirdparty_standard.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
     }
274 274
 
275 275
 
276
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
276
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
277 277
     /**
278 278
      *  Return if a code is used (by other element)
279 279
      *
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
      */
285 285
     public function verif_dispo($db, $code, $thirdparty)
286 286
     {
287
-		// phpcs:enable
287
+        // phpcs:enable
288 288
         $sql = "SELECT barcode FROM " . MAIN_DB_PREFIX . "societe";
289 289
         $sql .= " WHERE barcode = '" . $db->escape($code) . "'";
290 290
         if ($thirdparty->id > 0) {
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
         }
304 304
     }
305 305
 
306
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
306
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
307 307
     /**
308 308
      *  Return if a barcode value match syntax
309 309
      *
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
      */
314 314
     public function verif_syntax($codefortest, $typefortest)
315 315
     {
316
-		// phpcs:enable
316
+        // phpcs:enable
317 317
         global $conf;
318 318
 
319 319
         $result = 0;
Please login to merge, or discard this patch.
htdocs/core/modules/contract/modules_contract.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
  */
40 40
 abstract class ModelePDFContract extends CommonDocGenerator
41 41
 {
42
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
42
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
43 43
     /**
44 44
      *  Return list of active generation modules
45 45
      *
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public static function liste_modeles($db, $maxfilenamelength = 0)
51 51
     {
52
-		// phpcs:enable
52
+        // phpcs:enable
53 53
         $type = 'contract';
54 54
         $list = array();
55 55
 
Please login to merge, or discard this patch.