Passed
Push — main ( f1540e...02d90d )
by Rafael
45:15
created
htdocs/core/modules/modSociete.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
         $this->rights[$r][0] = 130;
205 205
         $this->rights[$r][1] = 'Modify thirdparty information payment';
206 206
         $this->rights[$r][3] = 0;
207
-        $this->rights[$r][4] = 'thirdparty_paymentinformation_advance';      // Visible if option MAIN_USE_ADVANCED_PERMS is on
207
+        $this->rights[$r][4] = 'thirdparty_paymentinformation_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on
208 208
         $this->rights[$r][5] = 'write';
209 209
 
210 210
         // 262 : Restrict access to sales representative
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
         }
423 423
         $keyforselect = 'socpeople';
424 424
         $keyforelement = 'contact';
425
-        $keyforaliasextra = 'extra';  // @phan-suppress-current-line PhanPluginRedundantAssignment
425
+        $keyforaliasextra = 'extra'; // @phan-suppress-current-line PhanPluginRedundantAssignment
426 426
         include DOL_DOCUMENT_ROOT . '/core/extrafieldsinexport.inc.php';
427 427
         $keyforselect = 'societe';
428 428
         $keyforelement = 'company';
Please login to merge, or discard this patch.
htdocs/core/modules/modBookCal.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -496,7 +496,7 @@
 block discarded – undo
496 496
 
497 497
         // Imports profiles provided by this module
498 498
 
499
-        $r = 1;  // @phan-suppress-current-line PhanPluginRedundantAssignment
499
+        $r = 1; // @phan-suppress-current-line PhanPluginRedundantAssignment
500 500
         /* BEGIN MODULEBUILDER IMPORT AVAILABILITIES */
501 501
         /*
502 502
         $langs->load("agenda");
Please login to merge, or discard this patch.
htdocs/core/modules/modECM.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 
80 80
         // Boxes
81 81
         $this->boxes = array(); // List of boxes
82
-        $r = 0;  // @phan-suppress-current-line PhanPluginRedundantAssignment
82
+        $r = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment
83 83
 
84 84
         // Add here list of php file(s) stored in core/boxes that contains class to show a box.
85 85
         // Example:
Please login to merge, or discard this patch.
htdocs/core/modules/modWorkflow.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
 
119 119
         // Main menu entries
120 120
         $this->menu = array(); // List of menus to add
121
-        $r = 0;  // @phan-suppress-current-line PhanPluginRedundantAssignment
121
+        $r = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment
122 122
         /*
123 123
         $this->menu[$r]=array('fk_menu'=>0,
124 124
                                 'type'=>'top',
Please login to merge, or discard this patch.
htdocs/core/modules/product_batch/mod_sn_advanced.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
             $res = $product->fetch($object->fk_product);
154 154
             if ($res > 0 && !empty($product->batch_mask)) {
155 155
                 $mask = $product->batch_mask;
156
-                $filter = '';  // @phan-suppress-current-line PhanPluginRedundantAssignment
156
+                $filter = ''; // @phan-suppress-current-line PhanPluginRedundantAssignment
157 157
             }
158 158
         }
159 159
 
Please login to merge, or discard this patch.
htdocs/core/modules/modHRM.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 
129 129
         // Array to add new pages in new tabs
130 130
         $this->tabs = array();
131
-        $this->tabs[] = array('data' => 'user:+skill_tab:Skills:hrm:1:/hrm/skill_tab.php?id=__ID__&objecttype=user');                   // To add a new tab identified by code tabname1
131
+        $this->tabs[] = array('data' => 'user:+skill_tab:Skills:hrm:1:/hrm/skill_tab.php?id=__ID__&objecttype=user'); // To add a new tab identified by code tabname1
132 132
         //$this->tabs[] = array('data'=>'job:+tabname1:Poste:mylangfile@hrm:1:/hrm/poste_list.php?fk_job=__ID__');                      // To add a new tab identified by code tabname1
133 133
         // Example:
134 134
         // $this->tabs[] = array('data'=>'objecttype:+tabname1:Title1:mylangfile@hrm:$user->rights->hrm->read:/hrm/mynewtab1.php?id=__ID__');                   // To add a new tab identified by code tabname1
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 
194 194
         // Permissions
195 195
         $this->rights = array(); // Permission array used by this module
196
-        $r = 0;  // @phan-suppress-current-line PhanPluginRedundantAssignment
196
+        $r = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment
197 197
 
198 198
         // Skill / Job / Position
199 199
         $this->rights[$r][0] = 4001; // Permission id (must not be already used)
Please login to merge, or discard this patch.
htdocs/core/modules/mailings/xinputfile.modules.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
         $maxfilesizearray = getMaxFileSizeArray();
116 116
         $maxmin = $maxfilesizearray['maxmin'];
117 117
         if ($maxmin > 0) {
118
-            $s .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
118
+            $s .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
119 119
         }
120 120
         $s .= '<input type="file" name="username" class="flat">';
121 121
         return $s;
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         return $s;
122 122
     }
123 123
 
124
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
124
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
125 125
     /**
126 126
      *  Ajoute destinataires dans table des cibles
127 127
      *
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      */
131 131
     public function add_to_target($mailing_id)
132 132
     {
133
-		// phpcs:enable
133
+        // phpcs:enable
134 134
         global $conf, $langs, $_FILES;
135 135
 
136 136
         require_once BASE_PATH . '/../Dolibarr/Lib/Files.php';
Please login to merge, or discard this patch.
htdocs/core/modules/modKnowledgeManagement.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -392,7 +392,7 @@
 block discarded – undo
392 392
         /* END MODULEBUILDER EXPORT KNOWLEDGERECORD */
393 393
 
394 394
         // Imports profiles provided by this module
395
-        $r = 1;  // @phan-suppress-current-line PhanPluginRedundantAssignment
395
+        $r = 1; // @phan-suppress-current-line PhanPluginRedundantAssignment
396 396
         /* BEGIN MODULEBUILDER IMPORT KNOWLEDGERECORD */
397 397
         /*
398 398
          $langs->load("knowledgemanagement");
Please login to merge, or discard this patch.
htdocs/core/modules/contract/mod_contract_olive.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
         $code = strtoupper(trim($code));
110 110
 
111 111
         if (empty($code) && $this->code_null && !getDolGlobalString('MAIN_CONTRACT_CODE_ALWAYS_REQUIRED')) {
112
-            $result = 0;  // @phan-suppress-current-line PhanPluginRedundantAssignment
112
+            $result = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment
113 113
         } elseif (empty($code) && (!$this->code_null || getDolGlobalString('MAIN_CONTRACT_CODE_ALWAYS_REQUIRED'))) {
114 114
             $result = -2;
115 115
         }
Please login to merge, or discard this patch.