Passed
Branch main (79e40c)
by Rafael
54:46
created
public/htdocs/core/modules/propale/modules_propale.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     public $atleastoneratenotnull = 0;
57 57
 
58 58
 
59
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
59
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
60 60
     /**
61 61
      *  Return list of active generation modules
62 62
      *
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     public static function liste_modeles($db, $maxfilenamelength = 0)
68 68
     {
69
-		// phpcs:enable
69
+        // phpcs:enable
70 70
         $type = 'propal';
71 71
         $list = array();
72 72
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/cheque/modules_chequereceipts.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
      */
51 51
     public $error = '';
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 = 'chequereceipt';
65 65
         $list = array();
66 66
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/cheque/doc/pdf_blochet.class.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         $this->tab_height = 200; //$this->line_height * $this->line_per_page;
113 113
     }
114 114
 
115
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
115
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
116 116
     /**
117 117
      *  Fonction to generate document on disk
118 118
      *
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      */
125 125
     public function write_file($object, $_dir, $number, $outputlangs)
126 126
     {
127
-		// phpcs:enable
127
+        // phpcs:enable
128 128
         global $user, $conf, $langs, $hookmanager;
129 129
 
130 130
         if (!is_object($outputlangs)) {
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
     }
246 246
 
247 247
 
248
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
248
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
249 249
     /**
250 250
      *  Generate Header
251 251
      *
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
      */
258 258
     public function Header(&$pdf, $page, $pages, $outputlangs)
259 259
     {
260
-		// phpcs:enable
260
+        // phpcs:enable
261 261
         global $langs;
262 262
         $default_font_size = pdf_getPDFFontSize($outputlangs);
263 263
 
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
     }
354 354
 
355 355
 
356
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
356
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
357 357
     /**
358 358
      *  Output array
359 359
      *
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
      */
366 366
     public function Body(&$pdf, $pagenb, $pages, $outputlangs)
367 367
     {
368
-		// phpcs:enable
368
+        // phpcs:enable
369 369
         // x=10 - Num
370 370
         // x=30 - Banque
371 371
         // x=100 - Emetteur
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
         }
425 425
     }
426 426
 
427
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
427
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
428 428
     /**
429 429
      *  Show footer of page. Need this->emetteur object
430 430
      *
Please login to merge, or discard this patch.
public/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
         $maxfilesizearray = getMaxFileSizeArray();
199 199
         $maxmin = $maxfilesizearray['maxmin'];
200 200
         if ($maxmin > 0) {
201
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
201
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
202 202
         }
203 203
         $texte .= ' <input type="file" name="uploadfile">';
204 204
         $texte .= '<input type="hidden" value="USER_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
public/htdocs/core/modules/mailings/thirdparties.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     }
57 57
 
58 58
 
59
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
59
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
60 60
     /**
61 61
      *    This is the main function that returns the array of emails
62 62
      *
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function add_to_target($mailing_id)
67 67
     {
68
-		// phpcs:enable
68
+        // phpcs:enable
69 69
         global $conf, $langs;
70 70
 
71 71
         $cibles = array();
Please login to merge, or discard this patch.
public/htdocs/core/modules/mailings/eventorganization.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     }
57 57
 
58 58
 
59
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
59
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
60 60
     /**
61 61
      *    This is the main function that returns the array of emails
62 62
      *
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function add_to_target($mailing_id)
67 67
     {
68
-		// phpcs:enable
68
+        // phpcs:enable
69 69
         global $conf, $langs;
70 70
 
71 71
         $cibles = array();
Please login to merge, or discard this patch.
public/htdocs/core/modules/mailings/modules_mailings.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
         return '';
157 157
     }
158 158
 
159
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
159
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
160 160
     /**
161 161
      * Met a jour nombre de destinataires
162 162
      *
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
      */
166 166
     public function update_nb($mailing_id)
167 167
     {
168
-		// phpcs:enable
168
+        // phpcs:enable
169 169
         // Mise a jour nombre de destinataire dans table des mailings
170 170
         $sql = "SELECT COUNT(*) nb FROM " . MAIN_DB_PREFIX . "mailing_cibles";
171 171
         $sql .= " WHERE fk_mailing = " . ((int) $mailing_id);
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
         return $j;
279 279
     }
280 280
 
281
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
281
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
282 282
     /**
283 283
      *  Supprime tous les destinataires de la table des cibles
284 284
      *
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
      */
288 288
     public function clear_target($mailing_id)
289 289
     {
290
-		// phpcs:enable
290
+        // phpcs:enable
291 291
         $sql = "DELETE FROM " . MAIN_DB_PREFIX . "mailing_cibles";
292 292
         $sql .= " WHERE fk_mailing = " . ((int) $mailing_id);
293 293
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     public $sql;
75 75
 
76 76
 
77
-    public $evenunsubscribe = 0;        // Set this to 1 if you want to flag you also want to include email in target that has opt-out.
77
+    public $evenunsubscribe = 0; // Set this to 1 if you want to flag you also want to include email in target that has opt-out.
78 78
 
79 79
 
80 80
     /**
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
                         $part1 = $reg[1];
345 345
 
346 346
                         //$modName = ucfirst($reg[1]);
347
-                        $modName = 'mailing_' . $reg[1];  // name of selector submodule
347
+                        $modName = 'mailing_' . $reg[1]; // name of selector submodule
348 348
                         //print "file=$file modName=$modName"; exit;
349 349
                         if (in_array($modName, $modules)) {
350 350
                             $langs->load("errors");
Please login to merge, or discard this patch.
public/htdocs/core/modules/mailings/partnership.modules.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     }
57 57
 
58 58
 
59
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
59
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
60 60
     /**
61 61
      *    This is the main function that returns the array of emails
62 62
      *
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function add_to_target($mailing_id)
67 67
     {
68
-		// phpcs:enable
68
+        // phpcs:enable
69 69
         global $conf, $langs;
70 70
 
71 71
         $cibles = array();
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
             $num = $this->db->num_rows($resql);
235 235
 
236 236
             if (empty($conf->partnership->enabled)) {
237
-                $num = 0;   // Force empty list if category module is not enabled
237
+                $num = 0; // Force empty list if category module is not enabled
238 238
             }
239 239
 
240 240
             if ($num) {
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
         // filter_status_thirdparties
260 260
         include_once DOL_DOCUMENT_ROOT . '/partnership/class/partnership.class.php';
261 261
         $tmppartnership = new Partnership($this->db);
262
-        $dummy = $tmppartnership->getLibStatut(0);  // We call this only to have $tmppartnership->labelStatus loaded
262
+        $dummy = $tmppartnership->getLibStatut(0); // We call this only to have $tmppartnership->labelStatus loaded
263 263
 
264 264
         $s .= $form->selectarray('filter_status_partnership', $tmppartnership->labelStatus, GETPOST('filter_status_partnership'), $langs->trans("Status"));
265 265
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/mailings/fraise.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     }
226 226
 
227 227
 
228
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
228
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
229 229
     /**
230 230
      *  Ajoute destinataires dans table des cibles
231 231
      *
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      */
235 235
     public function add_to_target($mailing_id)
236 236
     {
237
-		// phpcs:enable
237
+        // phpcs:enable
238 238
         global $conf, $langs;
239 239
 
240 240
         // Load translation files required by the page
Please login to merge, or discard this patch.