Test Failed
Push — main ( c8394f...8477f1 )
by Rafael
66:21
created
public/htdocs/core/modules/ticket/mod_ticket_universal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *  Dolibarr version of the loaded document
35 35
      *  @var string
36 36
      */
37
-    public $version = 'dolibarr';  // 'development', 'experimental', 'dolibarr'
37
+    public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
38 38
 
39 39
     /**
40 40
      *  @var string Error code (or message)
Please login to merge, or discard this patch.
public/htdocs/core/modules/modUser.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -278,7 +278,7 @@
 block discarded – undo
278 278
         $r++;
279 279
         $this->export_code[$r] = $this->rights_class . '_' . $r;
280 280
         $this->export_label[$r] = 'List of security events';
281
-        $this->export_permission[$r] = array(array("user"));    // Only admin
281
+        $this->export_permission[$r] = array(array("user")); // Only admin
282 282
         $this->export_fields_array[$r] = array(
283 283
             'e.rowid' => "Id", 'e.type' => "Type",
284 284
             'e.dateevent' => "Date",
Please login to merge, or discard this patch.
public/htdocs/core/modules/modMrp.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
         $r = 1;
249 249
 
250 250
         $this->export_code[$r] = $this->rights_class . '_' . $r;
251
-        $this->export_label[$r] = 'MOs';  // Translation key (used only if key ExportDataset_xxx_z not found)
251
+        $this->export_label[$r] = 'MOs'; // Translation key (used only if key ExportDataset_xxx_z not found)
252 252
         $this->export_icon[$r] = 'mrp';
253 253
         $this->export_fields_array[$r] = array(
254 254
             'm.rowid' => "Id",
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
         /* END MODULEBUILDER IMPORT MO */
331 331
         $r++;
332 332
         $this->import_code[$r] = $this->rights_class . '_' . $r;
333
-        $this->import_label[$r] = 'MOs';  // Translation key (used only if key ExportDataset_xxx_z not found)
333
+        $this->import_label[$r] = 'MOs'; // Translation key (used only if key ExportDataset_xxx_z not found)
334 334
         $this->import_icon[$r] = 'mrp';
335 335
         $this->import_entities_array[$r] = array(); // We define here only fields that use a different icon from the one defined in import_icon
336 336
         $this->import_tables_array[$r] = array('m' => MAIN_DB_PREFIX . 'mrp_mo', 'extra' => MAIN_DB_PREFIX . 'mrp_mo_extrafields');
Please login to merge, or discard this patch.
htdocs/core/modules/usergroup/doc/doc_generic_usergroup_odt.modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
         $maxfilesizearray = getMaxFileSizeArray();
200 200
         $maxmin = $maxfilesizearray['maxmin'];
201 201
         if ($maxmin > 0) {
202
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
202
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
203 203
         }
204 204
         $texte .= ' <input type="file" name="uploadfile">';
205 205
         $texte .= '<input type="hidden" value="USERGROUP_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
public/htdocs/core/modules/modProjet.class.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -129,10 +129,10 @@
 block discarded – undo
129 129
 
130 130
         // Boxes
131 131
         $this->boxes = array(
132
-            0 => array('file' => 'box_project.php', 'enabledbydefaulton' => 'Home'),  // open projects
133
-            1 => array('file' => 'box_project_opportunities.php', 'enabledbydefaulton' => 'Home'),    // open opportunities
132
+            0 => array('file' => 'box_project.php', 'enabledbydefaulton' => 'Home'), // open projects
133
+            1 => array('file' => 'box_project_opportunities.php', 'enabledbydefaulton' => 'Home'), // open opportunities
134 134
             2 => array('file' => 'box_task.php', 'enabledbydefaulton' => 'Home'),
135
-            3 => array('file' => 'box_validated_projects.php', 'enabledbydefaulton' => 'Home'),   // task without timespent
135
+            3 => array('file' => 'box_validated_projects.php', 'enabledbydefaulton' => 'Home'), // task without timespent
136 136
             4 => array('file' => 'box_funnel_of_prospection.php', 'enabledbydefaulton' => 'Home'),
137 137
         );
138 138
         // Cronjobs
Please login to merge, or discard this patch.
public/htdocs/core/modules/product/doc/doc_generic_product_odt.modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
         $maxfilesizearray = getMaxFileSizeArray();
172 172
         $maxmin = $maxfilesizearray['maxmin'];
173 173
         if ($maxmin > 0) {
174
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
174
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
175 175
         }
176 176
         $texte .= ' <input type="file" name="uploadfile">';
177 177
         $texte .= '<input type="hidden" value="PRODUCT_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
public/htdocs/core/modules/project/doc/doc_generic_project_odt.modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -466,7 +466,7 @@
 block discarded – undo
466 466
         $maxfilesizearray = getMaxFileSizeArray();
467 467
         $maxmin = $maxfilesizearray['maxmin'];
468 468
         if ($maxmin > 0) {
469
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
469
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
470 470
         }
471 471
         $texte .= ' <input type="file" name="uploadfile">';
472 472
         $texte .= '<input type="hidden" value="PROJECT_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -434,7 +434,7 @@
 block discarded – undo
434 434
         $maxfilesizearray = getMaxFileSizeArray();
435 435
         $maxmin = $maxfilesizearray['maxmin'];
436 436
         if ($maxmin > 0) {
437
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
437
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
438 438
         }
439 439
         $texte .= ' <input type="file" name="uploadfile">';
440 440
         $texte .= '<input type="hidden" value="PROJECT_TASK_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
public/htdocs/core/modules/modStock.class.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
             'e.phone' => 'Text', 'e.fax' => 'Text', 'e.statut' => 'Text', 'pe.rowid' => 'List:entrepot:ref:rowid:stock', 'pe.ref' => 'Text'
225 225
         );
226 226
         $this->export_entities_array[$r] = array(); // We define here only fields that use another icon that the one defined into export_icon
227
-        $this->export_aggregate_array[$r] = array();    // TODO Not used yet
227
+        $this->export_aggregate_array[$r] = array(); // TODO Not used yet
228 228
         $keyforselect = 'warehouse';
229 229
         $keyforelement = 'warehouse';
230 230
         $keyforaliasextra = 'extra';
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
             'p.datec' => 'product', 'p.tms' => 'product', 'p.pmp' => 'product', 'p.cost_price' => 'product',
272 272
             'ps.reel' => 'stock',
273 273
             'p.seuil_stock_alerte' => 'product', 'p.barcode' => 'product', 'bt.libelle' => 'product',
274
-        );  // We define here only fields that use another icon that the one defined into export_icon
274
+        ); // We define here only fields that use another icon that the one defined into export_icon
275 275
         if (isModEnabled('barcode')) {
276 276
             $this->export_entities_array[$r] = array_merge($this->export_entities_array[$r], array('p.barcode' => 'product'));
277 277
         }
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
                 'p.datec' => 'product', 'p.tms' => 'product', 'p.pmp' => 'product', 'p.cost_price' => 'product',
331 331
                 'pb.rowid' => 'batch', 'pb.batch' => 'batch', 'pb.qty' => 'batch',
332 332
                 'pl.eatby' => 'batch', 'pl.sellby' => 'batch'
333
-            );  // We define here only fields that use another icon that the one defined into export_icon
333
+            ); // We define here only fields that use another icon that the one defined into export_icon
334 334
             if (isModEnabled('barcode')) {
335 335
                 $this->export_entities_array[$r] = array_merge($this->export_entities_array[$r], array('p.barcode' => 'product'));
336 336
             }
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
             'e.rowid' => 'warehouse', 'e.ref' => 'warehouse', 'e.description' => 'warehouse', 'e.lieu' => 'warehouse', 'e.address' => 'warehouse', 'e.zip' => 'warehouse', 'e.town' => 'warehouse',
381 381
             'p.rowid' => "product", 'p.ref' => "product", 'p.fk_product_type' => "product", 'p.label' => "product", 'p.description' => "product", 'p.note' => "product",
382 382
             'p.price' => "product", 'p.tva_tx' => 'product', 'p.tosell' => "product", 'p.tobuy' => "product", 'p.duration' => "product", 'p.datec' => 'product', 'p.tms' => 'product'
383
-        );  // We define here only fields that use another icon that the one defined into export_icon
383
+        ); // We define here only fields that use another icon that the one defined into export_icon
384 384
         if (isModEnabled('productbatch')) {
385 385
             $this->export_fields_array[$r]['sm.batch'] = 'Batch';
386 386
             $this->export_TypeFields_array[$r]['sm.batch'] = 'Text';
Please login to merge, or discard this patch.