Passed
Push — EXTRACT_CLASSES ( 0382f2...c25e41 )
by Rafael
52:18
created
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.
public/htdocs/core/modules/mailings/xinputfile.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         return $s;
123 123
     }
124 124
 
125
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
125
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
126 126
     /**
127 127
      *  Ajoute destinataires dans table des cibles
128 128
      *
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     public function add_to_target($mailing_id)
133 133
     {
134
-		// phpcs:enable
134
+        // phpcs:enable
135 135
         global $conf, $langs, $_FILES;
136 136
 
137 137
         require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/files.lib.php';
Please login to merge, or discard this patch.
public/htdocs/core/modules/mailings/contacts1.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
     }
330 330
 
331 331
 
332
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
332
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
333 333
     /**
334 334
      *  Add some recipients into target table
335 335
      *
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
      */
339 339
     public function add_to_target($mailing_id)
340 340
     {
341
-		// phpcs:enable
341
+        // phpcs:enable
342 342
         global $conf, $langs;
343 343
 
344 344
         $filter = GETPOST('filter', 'alpha');
Please login to merge, or discard this patch.
public/htdocs/core/modules/mailings/advthirdparties.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     }
53 53
 
54 54
 
55
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
55
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
56 56
     /**
57 57
      *    This is the main function that returns the array of emails
58 58
      *
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function add_to_target_spec($mailing_id, $socid, $type_of_target, $contactid)
66 66
     {
67
-		// phpcs:enable
67
+        // phpcs:enable
68 68
         global $conf, $langs;
69 69
 
70 70
         dol_syslog(get_class($this) . "::add_to_target_spec socid=" . var_export($socid, true) . ' contactid=' . var_export($contactid, true));
Please login to merge, or discard this patch.
public/htdocs/core/modules/mailings/pomme.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     }
151 151
 
152 152
 
153
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
153
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
154 154
     /**
155 155
      *  Ajoute destinataires dans table des cibles
156 156
      *
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      */
160 160
     public function add_to_target($mailing_id)
161 161
     {
162
-		// phpcs:enable
162
+        // phpcs:enable
163 163
         global $conf, $langs;
164 164
         $langs->load("companies");
165 165
 
Please login to merge, or discard this patch.
htdocs/core/modules/mailings/thirdparties_services_expired.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     }
79 79
 
80 80
 
81
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
81
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
82 82
     /**
83 83
      *  This is the main function that returns the array of emails
84 84
      *
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     {
90 90
         global $conf;
91 91
 
92
-		// phpcs:enable
92
+        // phpcs:enable
93 93
         $key = GETPOSTINT('filter');
94 94
 
95 95
         $cibles = array();
Please login to merge, or discard this patch.
public/htdocs/core/modules/export/export_csvutf8.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         $this->version_lib = DOL_VERSION;
62 62
     }
63 63
 
64
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
64
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
65 65
     /**
66 66
      *  Output title line into file
67 67
      *
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         return parent::write_title($array_export_fields_label, $array_selected_sorted, $outputlangs, $array_types);
80 80
     }
81 81
 
82
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
82
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
83 83
     /**
84 84
      *  Output record line into file
85 85
      *
Please login to merge, or discard this patch.
public/htdocs/core/modules/export/export_tsv.modules.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     }
152 152
 
153 153
 
154
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
154
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
155 155
     /**
156 156
      *   Open output file
157 157
      *
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
      */
162 162
     public function open_file($file, $outputlangs)
163 163
     {
164
-		// phpcs:enable
164
+        // phpcs:enable
165 165
         global $langs;
166 166
 
167 167
         dol_syslog("ExportTsv::open_file file=" . $file);
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
         return $ret;
180 180
     }
181 181
 
182
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
182
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
183 183
     /**
184 184
      *  Output header into file
185 185
      *
@@ -188,12 +188,12 @@  discard block
 block discarded – undo
188 188
      */
189 189
     public function write_header($outputlangs)
190 190
     {
191
-		// phpcs:enable
191
+        // phpcs:enable
192 192
         return 0;
193 193
     }
194 194
 
195 195
 
196
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
196
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
197 197
     /**
198 198
      *  Output title line into file
199 199
      *
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      */
206 206
     public function write_title($array_export_fields_label, $array_selected_sorted, $outputlangs, $array_types)
207 207
     {
208
-		// phpcs:enable
208
+        // phpcs:enable
209 209
         $selectlabel = array();
210 210
         foreach ($array_selected_sorted as $code => $value) {
211 211
             $newvalue = $outputlangs->transnoentities($array_export_fields_label[$code]); // newvalue is now $outputlangs->charset_output encoded
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
     }
227 227
 
228 228
 
229
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
229
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
230 230
     /**
231 231
      *  Output record line into file
232 232
      *
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
      */
239 239
     public function write_record($array_selected_sorted, $objp, $outputlangs, $array_types)
240 240
     {
241
-		// phpcs:enable
241
+        // phpcs:enable
242 242
         global $conf;
243 243
 
244 244
         $this->col = 0;
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
         return 0;
285 285
     }
286 286
 
287
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
287
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
288 288
     /**
289 289
      *  Output footer into file
290 290
      *
@@ -293,11 +293,11 @@  discard block
 block discarded – undo
293 293
      */
294 294
     public function write_footer($outputlangs)
295 295
     {
296
-		// phpcs:enable
296
+        // phpcs:enable
297 297
         return 0;
298 298
     }
299 299
 
300
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
300
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
301 301
     /**
302 302
      *  Close file handle
303 303
      *
@@ -305,12 +305,12 @@  discard block
 block discarded – undo
305 305
      */
306 306
     public function close_file()
307 307
     {
308
-		// phpcs:enable
308
+        // phpcs:enable
309 309
         fclose($this->handle);
310 310
         return 0;
311 311
     }
312 312
 
313
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
313
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
314 314
     /**
315 315
      * Clean a cell to respect rules of TSV file cells
316 316
      *
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
      */
321 321
     public function tsv_clean($newvalue, $charset)
322 322
     {
323
-		// phpcs:enable
323
+        // phpcs:enable
324 324
         // Rule Dolibarr: No HTML
325 325
         $newvalue = dol_string_nohtmltag($newvalue, 1, $charset);
326 326
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/export/exportcsv.class.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     }
130 130
 
131 131
 
132
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
132
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
133 133
     /**
134 134
      *  Open output file
135 135
      *
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     public function open_file($file, $outputlangs)
141 141
     {
142
-		// phpcs:enable
142
+        // phpcs:enable
143 143
         global $langs;
144 144
 
145 145
         dol_syslog("ExportCsv::open_file file=" . $file);
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
         return $ret;
158 158
     }
159 159
 
160
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
160
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
161 161
     /**
162 162
      *  Output header into file
163 163
      *
@@ -166,12 +166,12 @@  discard block
 block discarded – undo
166 166
      */
167 167
     public function write_header($outputlangs)
168 168
     {
169
-		// phpcs:enable
169
+        // phpcs:enable
170 170
         return 0;
171 171
     }
172 172
 
173 173
 
174
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
174
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
175 175
     /**
176 176
      *  Output title line into file
177 177
      *
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      */
184 184
     public function write_title($array_export_fields_label, $array_selected_sorted, $outputlangs, $array_types)
185 185
     {
186
-		// phpcs:enable
186
+        // phpcs:enable
187 187
         $outputlangs->charset_output = getDolGlobalString('EXPORT_CSV_FORCE_CHARSET');
188 188
 
189 189
         $selectlabel = array();
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     }
208 208
 
209 209
 
210
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
210
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
211 211
     /**
212 212
      *  Output record line into file
213 213
      *
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
      */
220 220
     public function write_record($array_selected_sorted, $objp, $outputlangs, $array_types)
221 221
     {
222
-		// phpcs:enable
222
+        // phpcs:enable
223 223
         global $conf;
224 224
 
225 225
         $outputlangs->charset_output = getDolGlobalString('EXPORT_CSV_FORCE_CHARSET');
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
         return 0;
272 272
     }
273 273
 
274
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
274
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
275 275
     /**
276 276
      *  Output footer into file
277 277
      *
@@ -280,11 +280,11 @@  discard block
 block discarded – undo
280 280
      */
281 281
     public function write_footer($outputlangs)
282 282
     {
283
-		// phpcs:enable
283
+        // phpcs:enable
284 284
         return 0;
285 285
     }
286 286
 
287
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
287
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
288 288
     /**
289 289
      *  Close file handle
290 290
      *
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
      */
293 293
     public function close_file()
294 294
     {
295
-		// phpcs:enable
295
+        // phpcs:enable
296 296
         fclose($this->handle);
297 297
         return 0;
298 298
     }
Please login to merge, or discard this patch.