Passed
Push — main ( 324b47...7af4bb )
by Rafael
43:55
created
htdocs/core/modules/modRecruitment.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -362,7 +362,7 @@
 block discarded – undo
362 362
         /* END MODULEBUILDER EXPORT RECRUITMENTJOBPOSITION */
363 363
 
364 364
         // Imports profiles provided by this module
365
-        $r = 1;  // @phan-suppress-current-line PhanPluginRedundantAssignment
365
+        $r = 1; // @phan-suppress-current-line PhanPluginRedundantAssignment
366 366
         /* BEGIN MODULEBUILDER IMPORT RECRUITMENTJOBPOSITION */
367 367
         /*
368 368
          $langs->load("recruitment");
Please login to merge, or discard this patch.
htdocs/core/modules/modService.class.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
             $this->export_dependencies_array[$r] = array('category' => 'p.rowid');
268 268
         }
269 269
         $this->export_sql_start[$r] = 'SELECT DISTINCT ';
270
-        $this->export_sql_end[$r]  = ' FROM ' . MAIN_DB_PREFIX . 'product as p';
270
+        $this->export_sql_end[$r] = ' FROM ' . MAIN_DB_PREFIX . 'product as p';
271 271
         if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) {
272 272
             $this->export_sql_end[$r] .= " LEFT JOIN " . MAIN_DB_PREFIX . "product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = " . ((int) $conf->entity);
273 273
         }
@@ -409,14 +409,14 @@  discard block
 block discarded – undo
409 409
                     $this->export_entities_array[$r] = array_merge($this->export_entities_array[$r], array('p.barcode' => 'virtualproduct'));
410 410
                 }
411 411
                 $this->export_entities_array[$r] = array_merge($this->export_entities_array[$r], array('pa.qty' => "subproduct", 'pa.incdec' => 'subproduct'));
412
-                $keyforselect = 'product';  // @phan-suppress-current-line PhanPluginRedundantAssignment
413
-                $keyforelement = 'product';  // @phan-suppress-current-line PhanPluginRedundantAssignment
414
-                $keyforaliasextra = 'extra';  // @phan-suppress-current-line PhanPluginRedundantAssignment
412
+                $keyforselect = 'product'; // @phan-suppress-current-line PhanPluginRedundantAssignment
413
+                $keyforelement = 'product'; // @phan-suppress-current-line PhanPluginRedundantAssignment
414
+                $keyforaliasextra = 'extra'; // @phan-suppress-current-line PhanPluginRedundantAssignment
415 415
                 include DOL_DOCUMENT_ROOT . '/core/extrafieldsinexport.inc.php';
416 416
                 $this->export_fields_array[$r] = array_merge($this->export_fields_array[$r], array('p2.rowid' => "Id", 'p2.ref' => "Ref", 'p2.label' => "Label", 'p2.description' => "Description"));
417 417
                 $this->export_entities_array[$r] = array_merge($this->export_entities_array[$r], array('p2.rowid' => "subproduct", 'p2.ref' => "subproduct", 'p2.label' => "subproduct", 'p2.description' => "subproduct"));
418 418
                 $this->export_sql_start[$r] = 'SELECT DISTINCT ';
419
-                $this->export_sql_end[$r]  = ' FROM ' . MAIN_DB_PREFIX . 'product as p';
419
+                $this->export_sql_end[$r] = ' FROM ' . MAIN_DB_PREFIX . 'product as p';
420 420
                 if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) {
421 421
                     $this->export_sql_end[$r] .= " LEFT JOIN " . MAIN_DB_PREFIX . "product_perentity as pac ON pac.fk_product = p.rowid AND pac.entity = " . ((int) $conf->entity);
422 422
                 }
Please login to merge, or discard this patch.
htdocs/core/modules/modStripe.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,10 +91,10 @@
 block discarded – undo
91 91
 
92 92
         // Permissions
93 93
         $this->rights = array(); // Permission array used by this module
94
-        $r = 0;  // @phan-suppress-current-line PhanPluginRedundantAssignment
94
+        $r = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment
95 95
 
96 96
         // Main menu entries
97
-        $r = 0;  // @phan-suppress-current-line PhanPluginRedundantAssignment
97
+        $r = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment
98 98
         /* $this->menu[$r]=array(
99 99
             'fk_menu'=>'fk_mainmenu=billing,fk_leftmenu=customers_bills_payment',           // Use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode
100 100
             'mainmenu'=>'billing',
Please login to merge, or discard this patch.
htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
         $this->db = $db;
96 96
         $this->name = "standard";
97 97
         $this->description = $langs->trans('DocumentModelStandardPDF');
98
-        $this->update_main_doc_field = 0;   // Save the name of generated file as the main doc when generating a doc with this template
98
+        $this->update_main_doc_field = 0; // Save the name of generated file as the main doc when generating a doc with this template
99 99
 
100 100
         // Page size for A4 format
101 101
         $this->type = 'pdf';
Please login to merge, or discard this patch.
htdocs/core/modules/modExpenseReport.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
         // Constants
77 77
         $this->const = array(); // List of particular constants to add when module is enabled (key, 'chaine', value, desc, visible, 0 or 'allentities')
78
-        $r = 0;  // @phan-suppress-current-line PhanPluginRedundantAssignment
78
+        $r = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment
79 79
 
80 80
         $this->const[$r][0] = "EXPENSEREPORT_ADDON_PDF";
81 81
         $this->const[$r][1] = "chaine";
Please login to merge, or discard this patch.
htdocs/core/modules/modOauth.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
 
105 105
         // Main menu entries
106 106
         $this->menu = array(); // List of menus to add
107
-        $r = 0;  // @phan-suppress-current-line PhanPluginRedundantAssignment
107
+        $r = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment
108 108
 
109 109
         // This is to declare the Top Menu entry:
110 110
         //$this->menu[$r]=array(  'fk_menu'=>'fk_mainmenu=home,fk_leftmenu=admintools',               // Put 0 if this is a top menu
Please login to merge, or discard this patch.
htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
         $this->db = $db;
90 90
         $this->name = "zenith";
91 91
         $this->description = $langs->trans('DocModelZenithDescription');
92
-        $this->update_main_doc_field = 1;       // Save the name of generated file as the main doc when generating a doc with this template
92
+        $this->update_main_doc_field = 1; // Save the name of generated file as the main doc when generating a doc with this template
93 93
 
94 94
         // Page size for A4 format
95 95
         $this->type = 'pdf';
Please login to merge, or discard this patch.
htdocs/core/modules/modWorkstation.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -339,7 +339,7 @@
 block discarded – undo
339 339
         /* END MODULEBUILDER EXPORT WORKSTATION */
340 340
 
341 341
         // Imports profiles provided by this module
342
-        $r = 1;  // @phan-suppress-current-line PhanPluginRedundantAssignment
342
+        $r = 1; // @phan-suppress-current-line PhanPluginRedundantAssignment
343 343
         /* BEGIN MODULEBUILDER IMPORT WORKSTATION */
344 344
         /*
345 345
          $langs->load("workstation@workstation");
Please login to merge, or discard this patch.
htdocs/core/modules/modFournisseur.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -469,7 +469,7 @@  discard block
 block discarded – undo
469 469
         include DOL_DOCUMENT_ROOT . '/core/extrafieldsinexport.inc.php';
470 470
         // End add extra fields object
471 471
         $this->export_sql_start[$r] = 'SELECT DISTINCT ';
472
-        $this->export_sql_end[$r]  = ' FROM ' . MAIN_DB_PREFIX . 'societe as s';
472
+        $this->export_sql_end[$r] = ' FROM ' . MAIN_DB_PREFIX . 'societe as s';
473 473
         if (is_object($user) && !$user->hasRight('societe', 'client', 'voir')) {
474 474
             $this->export_sql_end[$r] .= ' LEFT JOIN ' . MAIN_DB_PREFIX . 'societe_commerciaux as sc ON sc.fk_soc = s.rowid';
475 475
         }
@@ -536,7 +536,7 @@  discard block
 block discarded – undo
536 536
         // Add extra fields object
537 537
         $keyforselect = 'commande_fournisseur';
538 538
         $keyforelement = 'order';
539
-        $keyforaliasextra = 'extra';  // @phan-suppress-current-line PhanPluginRedundantAssignment
539
+        $keyforaliasextra = 'extra'; // @phan-suppress-current-line PhanPluginRedundantAssignment
540 540
         include DOL_DOCUMENT_ROOT . '/core/extrafieldsinexport.inc.php';
541 541
         // End add extra fields object
542 542
         // Add extra fields line
Please login to merge, or discard this patch.