Passed
Push — main ( 324b47...7af4bb )
by Rafael
43:55
created
htdocs/core/modules/expedition/modules_expedition.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
  */
41 41
 abstract class ModelePdfExpedition extends CommonDocGenerator
42 42
 {
43
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
43
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
44 44
     /**
45 45
      *  Return list of active generation models
46 46
      *
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public static function liste_modeles($db, $maxfilenamelength = 0)
52 52
     {
53
-		// phpcs:enable
53
+        // phpcs:enable
54 54
         $type = 'shipping';
55 55
         $list = array();
56 56
 
Please login to merge, or discard this patch.
htdocs/core/modules/hrm/modules_evaluation.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 ModelePDFEvaluation 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 = 'evaluation';
54 54
         $list = array();
55 55
 
Please login to merge, or discard this patch.
htdocs/core/modules/hrm/doc/pdf_standard.modules.php 2 patches
Indentation   +5 added lines, -5 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
      *  Function to build pdf onto disk
136 136
      *
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      */
145 145
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
146 146
     {
147
-		// phpcs:enable
147
+        // phpcs:enable
148 148
         global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines;
149 149
 
150 150
         if (!is_object($outputlangs)) {
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
         $pdf->writeHTMLCell($this->posxskill - $this->posxpiece - 0.8, 3, $this->posxpiece - 1, $curY, $linenumber + 1, 0, 1, 0, 0, 'C');
516 516
     }
517 517
 
518
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
518
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
519 519
     /**
520 520
      *  Show top header of page.
521 521
      *
@@ -631,7 +631,7 @@  discard block
 block discarded – undo
631 631
         return 0;
632 632
     }
633 633
 
634
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
634
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
635 635
     /**
636 636
      *   Show table for lines
637 637
      *
@@ -707,7 +707,7 @@  discard block
 block discarded – undo
707 707
 
708 708
 
709 709
 
710
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
710
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
711 711
     /**
712 712
      *  Show footer of page. Need this->emetteur object
713 713
      *
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@
 block discarded – undo
250 250
 
251 251
                 // Show notes
252 252
                 if (!empty($object->note_public)) {
253
-                    $tab_top = 65;  // @phan-suppress-current-line PhanPluginRedundantAssignment
253
+                    $tab_top = 65; // @phan-suppress-current-line PhanPluginRedundantAssignment
254 254
 
255 255
                     $pdf->SetFont('', 'B', $default_font_size);
256 256
                     $pdf->MultiCell(190, 4, $outputlangs->transnoentities("Notes") . ":", 0, 'L', 0, '', 12, $tab_top);
Please login to merge, or discard this patch.
htdocs/core/modules/hrm/mod_evaluation_advanced.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
  * \brief      File containing class for advanced numbering model of Evaluation
28 28
  */
29 29
 
30
- require_once DOL_DOCUMENT_ROOT . '/core/modules/hrm/modules_evaluation.php';
30
+    require_once DOL_DOCUMENT_ROOT . '/core/modules/hrm/modules_evaluation.php';
31 31
 
32 32
 
33 33
 /**
Please login to merge, or discard this patch.
htdocs/core/modules/member/modules_cards.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     public $error = '';
43 43
 
44 44
 
45
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
45
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
46 46
     /**
47 47
      *  Return list of active generation modules
48 48
      *
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public static function liste_modeles($db, $maxfilenamelength = 0)
54 54
     {
55
-		// phpcs:enable
55
+        // phpcs:enable
56 56
         $type = 'member';
57 57
         $list = array();
58 58
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
  */
80 80
 function members_card_pdf_create($db, $arrayofmembers, $modele, $outputlangs, $outputdir = '', $template = 'standard', $filename = 'tmp_cards')
81 81
 {
82
-	// phpcs:enable
82
+    // phpcs:enable
83 83
     global $conf, $langs;
84 84
     $langs->load("members");
85 85
 
Please login to merge, or discard this patch.
htdocs/core/modules/member/modules_member.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
  */
39 39
 abstract class ModelePDFMember extends CommonDocGenerator
40 40
 {
41
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
41
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
42 42
     /**
43 43
      *  Return list of active generation modules
44 44
      *
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public static function liste_modeles($db, $maxfilenamelength = 0)
50 50
     {
51
-		// phpcs:enable
51
+        // phpcs:enable
52 52
         $type = 'member';
53 53
         $list = array();
54 54
 
Please login to merge, or discard this patch.
htdocs/core/modules/member/doc/pdf_standard.class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         // use this method in future refactoring
76 76
     }
77 77
 
78
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
78
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
79 79
     /**
80 80
      * Output a sticker on page at position _COUNTX, _COUNTY (_COUNTX and _COUNTY start from 0)
81 81
      * - __LOGO__ is replace with company logo
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function Add_PDF_card(&$pdf, $textleft, $header, $footer, $outputlangs, $textright = '', $idmember = 0, $photo = '')
95 95
     {
96
-		// phpcs:enable
96
+        // phpcs:enable
97 97
         global $db, $mysoc, $conf, $langs;
98 98
         global $forceimgscalewidth, $forceimgscaleheight;
99 99
 
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
         }
261 261
     }
262 262
 
263
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
263
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
264 264
     /**
265 265
      *  Function to build PDF on disk, then output on HTTP stream.
266 266
      *
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
      */
275 275
     public function write_file($object, $outputlangs, $srctemplatepath, $mode = 'member', $nooutput = 0, $filename = 'tmp_cards')
276 276
     {
277
-		// phpcs:enable
277
+        // phpcs:enable
278 278
         global $user, $conf, $langs, $mysoc, $_Avery_Labels;
279 279
 
280 280
         $this->code = $srctemplatepath;
Please login to merge, or discard this patch.
htdocs/core/modules/member/doc/doc_generic_member_odt.class.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
         return $texte;
184 184
     }
185 185
 
186
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
186
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
187 187
     /**
188 188
      *  Function to build a document on disk using the generic odt module.
189 189
      *
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
      */
198 198
     public function write_file($object, $outputlangs, $srctemplatepath, $mode = 'member', $nooutput = 0, $filename = 'tmp_cards')
199 199
     {
200
-		// phpcs:enable
200
+        // phpcs:enable
201 201
         global $user, $langs, $conf, $mysoc, $hookmanager;
202 202
 
203 203
         if (empty($srctemplatepath)) {
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
         return -1;
416 416
     }
417 417
 
418
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
418
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
419 419
     /**
420 420
      * get substitution array for object
421 421
      *
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
      */
427 427
     public function get_substitutionarray_object($object, $outputlangs, $array_key = 'object')
428 428
     {
429
-		// phpcs:enable
429
+        // phpcs:enable
430 430
         if (!$object instanceof Adherent) {
431 431
             dol_syslog("Expected Adherent object, got " . gettype($object), LOG_ERR);
432 432
             return array();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
         $maxfilesizearray = getMaxFileSizeArray();
168 168
         $maxmin = $maxfilesizearray['maxmin'];
169 169
         if ($maxmin > 0) {
170
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
170
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
171 171
         }
172 172
         $texte .= ' <input type="file" name="uploadfile">';
173 173
         $texte .= '<input type="hidden" value="MEMBER_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
htdocs/core/modules/movement/modules_movement.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     public $version = 'dolibarr';
54 54
 
55 55
 
56
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
56
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
57 57
     /**
58 58
      *  Return list of active generation modules
59 59
      *
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public static function liste_modeles($db, $maxfilenamelength = 0)
65 65
     {
66
-		// phpcs:enable
66
+        // phpcs:enable
67 67
         $type = 'movement';
68 68
         $list = array();
69 69
 
Please login to merge, or discard this patch.