Passed
Push — EXTRACT_CLASSES ( 0382f2...c25e41 )
by Rafael
52:18
created
template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     }
150 150
 
151 151
 
152
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
152
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
153 153
     /**
154 154
      *  Function to build pdf onto disk
155 155
      *
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      */
164 164
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
165 165
     {
166
-		// phpcs:enable
166
+        // phpcs:enable
167 167
         global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines;
168 168
 
169 169
         dol_syslog("write_file outputlangs->defaultlang=" . (is_object($outputlangs) ? $outputlangs->defaultlang : 'null'));
@@ -824,7 +824,7 @@  discard block
 block discarded – undo
824 824
         }
825 825
     }
826 826
 
827
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
827
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
828 828
     /**
829 829
      *  Return list of active generation modules
830 830
      *
@@ -834,11 +834,11 @@  discard block
 block discarded – undo
834 834
      */
835 835
     public static function liste_modeles($db, $maxfilenamelength = 0)
836 836
     {
837
-		// phpcs:enable
837
+        // phpcs:enable
838 838
         return parent::liste_modeles($db, $maxfilenamelength); // TODO: Change the autogenerated stub
839 839
     }
840 840
 
841
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
841
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
842 842
     /**
843 843
      *   Show table for lines
844 844
      *
@@ -899,7 +899,7 @@  discard block
 block discarded – undo
899 899
         }
900 900
     }
901 901
 
902
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
902
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
903 903
     /**
904 904
      *  Show top header of page.
905 905
      *
@@ -912,7 +912,7 @@  discard block
 block discarded – undo
912 912
      */
913 913
     protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis = null)
914 914
     {
915
-		// phpcs:enable
915
+        // phpcs:enable
916 916
         global $conf, $langs;
917 917
 
918 918
         $ltrdirection = 'L';
@@ -1163,7 +1163,7 @@  discard block
 block discarded – undo
1163 1163
         return $top_shift;
1164 1164
     }
1165 1165
 
1166
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1166
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1167 1167
     /**
1168 1168
      *      Show footer of page. Need this->emetteur object
1169 1169
      *
Please login to merge, or discard this patch.
htdocs/modulebuilder/template/core/modules/mymodule/modules_myobject.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
  */
39 39
 abstract class ModelePDFMyObject extends CommonDocGenerator
40 40
 {
41
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
41
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
42 42
     /**
43 43
      *  Return list of active generation modules
44 44
      *
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public static function liste_modeles($db, $maxfilenamelength = 0)
50 50
     {
51
-		// phpcs:enable
51
+        // phpcs:enable
52 52
         $type = 'myobject';
53 53
         $list = array();
54 54
 
Please login to merge, or discard this patch.
template/core/modules/mailings/mailing_mymodule_selector1.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     }
91 91
 
92 92
 
93
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
93
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
94 94
     /**
95 95
      *  This is the main function that returns the array of emails
96 96
      *
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     public function add_to_target($mailing_id)
101 101
     {
102
-		// phpcs:enable
102
+        // phpcs:enable
103 103
         $target = array();
104 104
         $j = 0;
105 105
 
Please login to merge, or discard this patch.
public/htdocs/modulebuilder/template/class/api_mymodule.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
 
343 343
 
344 344
 
345
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
345
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
346 346
     /**
347 347
      * Clean sensible object datas
348 348
      *
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
      */
352 352
     protected function _cleanObjectDatas($object)
353 353
     {
354
-		// phpcs:enable
354
+        // phpcs:enable
355 355
         $object = parent::_cleanObjectDatas($object);
356 356
 
357 357
         unset($object->rowid);
Please login to merge, or discard this patch.
public/htdocs/modulebuilder/template/class/myobject.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -979,7 +979,7 @@  discard block
 block discarded – undo
979 979
         return $this->LibStatut($this->status, $mode);
980 980
     }
981 981
 
982
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
982
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
983 983
     /**
984 984
      *  Return the label of a given status
985 985
      *
@@ -989,7 +989,7 @@  discard block
 block discarded – undo
989 989
      */
990 990
     public function LibStatut($status, $mode = 0)
991 991
     {
992
-		// phpcs:enable
992
+        // phpcs:enable
993 993
         if (is_null($status)) {
994 994
             return '';
995 995
         }
Please login to merge, or discard this patch.
public/htdocs/mailmanspip/class/mailmanspip.class.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
         return $result['content'];
168 168
     }
169 169
 
170
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
170
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
171 171
     /**
172 172
      *  Fonction qui donne les droits redacteurs dans spip
173 173
      *
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
      */
177 177
     public function add_to_spip($object)
178 178
     {
179
-		// phpcs:enable
179
+        // phpcs:enable
180 180
         dol_syslog(get_class($this) . "::add_to_spip");
181 181
 
182 182
         if ($this->isSpipEnabled()) {
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
         return 0;
215 215
     }
216 216
 
217
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
217
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
218 218
     /**
219 219
      *  Fonction qui enleve les droits redacteurs dans spip
220 220
      *
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      */
224 224
     public function del_to_spip($object)
225 225
     {
226
-		// phpcs:enable
226
+        // phpcs:enable
227 227
         dol_syslog(get_class($this) . "::del_to_spip");
228 228
 
229 229
         if ($this->isSpipEnabled()) {
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
         return 0;
256 256
     }
257 257
 
258
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
258
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
259 259
     /**
260 260
      *  Indicate if the user is an existing editor in spip
261 261
      *
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
      */
265 265
     public function is_in_spip($object)
266 266
     {
267
-		// phpcs:enable
267
+        // phpcs:enable
268 268
         if ($this->isSpipEnabled()) {
269 269
             if ($this->checkSpipConfig()) {
270 270
                 $mydb = $this->connectSpip();
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
         return -1;
302 302
     }
303 303
 
304
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
304
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
305 305
     /**
306 306
      *  Subscribe an email to all mailing-lists
307 307
      *
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
      */
312 312
     public function add_to_mailman($object, $listes = '')
313 313
     {
314
-		// phpcs:enable
314
+        // phpcs:enable
315 315
         global $conf, $langs, $user;
316 316
 
317 317
         dol_syslog(get_class($this) . "::add_to_mailman");
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
         return 0;
371 371
     }
372 372
 
373
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
373
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
374 374
     /**
375 375
      *  Unsubscribe an email from all mailing-lists
376 376
      *  Used when a user is resiliated
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
      */
382 382
     public function del_to_mailman($object, $listes = '')
383 383
     {
384
-		// phpcs:enable
384
+        // phpcs:enable
385 385
         global $conf, $langs, $user;
386 386
 
387 387
         dol_syslog(get_class($this) . "::del_to_mailman");
Please login to merge, or discard this patch.
public/htdocs/eventorganization/class/conferenceorboothattendee.class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -639,7 +639,7 @@  discard block
 block discarded – undo
639 639
         }
640 640
     }
641 641
 
642
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
642
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
643 643
     /**
644 644
      *      Load the project with id $this->fk_project into this->project
645 645
      *
@@ -647,7 +647,7 @@  discard block
 block discarded – undo
647 647
      */
648 648
     public function fetch_projet()
649 649
     {
650
-		// phpcs:enable
650
+        // phpcs:enable
651 651
         include_once DOL_DOCUMENT_ROOT . '/projet/class/project.class.php';
652 652
 
653 653
         if (empty($this->fk_project) && !empty($this->fk_projet)) {
@@ -867,7 +867,7 @@  discard block
 block discarded – undo
867 867
         return $this->LibStatut($this->status, $mode);
868 868
     }
869 869
 
870
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
870
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
871 871
     /**
872 872
      *  Return the status
873 873
      *
@@ -877,7 +877,7 @@  discard block
 block discarded – undo
877 877
      */
878 878
     public function LibStatut($status, $mode = 0)
879 879
     {
880
-		// phpcs:enable
880
+        // phpcs:enable
881 881
         global $langs;
882 882
 
883 883
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
Please login to merge, or discard this patch.
public/htdocs/eventorganization/class/conferenceorbooth.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -628,7 +628,7 @@  discard block
 block discarded – undo
628 628
         return $this->LibStatutEvent($this->status, $mode);
629 629
     }
630 630
 
631
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
631
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
632 632
     /**
633 633
      *  Return the status
634 634
      *
@@ -638,7 +638,7 @@  discard block
 block discarded – undo
638 638
      */
639 639
     public function LibStatutEvent($status, $mode = 0)
640 640
     {
641
-		// phpcs:enable
641
+        // phpcs:enable
642 642
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
643 643
             global $langs;
644 644
             //$langs->load("eventorganization@eventorganization");
Please login to merge, or discard this patch.
public/htdocs/ticket/class/api_tickets.class.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 19
  */
20 20
 
21
- use Luracast\Restler\RestException;
21
+    use Luracast\Restler\RestException;
22 22
 
23 23
 require_once constant('DOL_DOCUMENT_ROOT') . '/ticket/class/ticket.class.php';
24 24
 require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/ticket.lib.php';
@@ -465,7 +465,7 @@  discard block
 block discarded – undo
465 465
         return $ticket;
466 466
     }
467 467
 
468
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
468
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
469 469
     /**
470 470
      * Clean sensible object datas
471 471
      *
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
      */
478 478
     protected function _cleanObjectDatas($object)
479 479
     {
480
-		// phpcs:enable
480
+        // phpcs:enable
481 481
         $object = parent::_cleanObjectDatas($object);
482 482
 
483 483
         // Other attributes to clean
Please login to merge, or discard this patch.