Passed
Push — main ( 131f20...c1d479 )
by Rafael
51:37
created
htdocs/recruitment/class/recruitmentcandidature.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -816,7 +816,7 @@  discard block
 block discarded – undo
816 816
         return $this->LibStatut($this->status, $mode);
817 817
     }
818 818
 
819
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
819
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
820 820
     /**
821 821
      *  Return the status
822 822
      *
@@ -826,7 +826,7 @@  discard block
 block discarded – undo
826 826
      */
827 827
     public function LibStatut($status, $mode = 0)
828 828
     {
829
-		// phpcs:enable
829
+        // phpcs:enable
830 830
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
831 831
             global $langs;
832 832
             //$langs->load("recruitment@recruitment");
Please login to merge, or discard this patch.
htdocs/recruitment/class/recruitmentjobposition.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -893,7 +893,7 @@  discard block
 block discarded – undo
893 893
         return $this->LibStatut($this->status, $mode);
894 894
     }
895 895
 
896
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
896
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
897 897
     /**
898 898
      *  Return the status
899 899
      *
@@ -903,7 +903,7 @@  discard block
 block discarded – undo
903 903
      */
904 904
     public function LibStatut($status, $mode = 0)
905 905
     {
906
-		// phpcs:enable
906
+        // phpcs:enable
907 907
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
908 908
             global $langs;
909 909
             //$langs->load("recruitment");
Please login to merge, or discard this patch.
htdocs/hrm/class/position.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -804,7 +804,7 @@  discard block
 block discarded – undo
804 804
         return $this->LibStatut($this->status, $mode);
805 805
     }
806 806
 
807
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
807
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
808 808
 
809 809
     /**
810 810
      *  Return the status
@@ -815,7 +815,7 @@  discard block
 block discarded – undo
815 815
      */
816 816
     public function LibStatut($status, $mode = 0)
817 817
     {
818
-		// phpcs:enable
818
+        // phpcs:enable
819 819
         if (is_null($status)) {
820 820
             return '';
821 821
         }
Please login to merge, or discard this patch.
htdocs/hrm/class/skilldet.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -786,7 +786,7 @@  discard block
 block discarded – undo
786 786
         return $this->LibStatut($this->status, $mode);
787 787
     }
788 788
 
789
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
789
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
790 790
     /**
791 791
      *  Return the status
792 792
      *
@@ -796,7 +796,7 @@  discard block
 block discarded – undo
796 796
      */
797 797
     public function LibStatut($status, $mode = 0)
798 798
     {
799
-		// phpcs:enable
799
+        // phpcs:enable
800 800
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
801 801
             global $langs;
802 802
             //$langs->load("hrm");
Please login to merge, or discard this patch.
htdocs/hrm/class/job.class.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -833,7 +833,7 @@  discard block
 block discarded – undo
833 833
         return $this->LibStatut($this->status, $mode);
834 834
     }
835 835
 
836
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
836
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
837 837
     /**
838 838
      *  Return the status
839 839
      *
@@ -843,7 +843,7 @@  discard block
 block discarded – undo
843 843
      */
844 844
     public function LibStatut($status, $mode = 0)
845 845
     {
846
-		// phpcs:enable
846
+        // phpcs:enable
847 847
         return '';      // There is no status on job profile for the moment
848 848
 
849 849
         /*
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         'description' => array('type' => 'text', 'label' => 'Description', 'enabled' => 1, 'position' => 21, 'notnull' => 0, 'visible' => 1,),
111 111
         'date_creation' => array('type' => 'datetime', 'label' => 'DateCreation', 'enabled' => 1, 'position' => 500, 'notnull' => 1, 'visible' => 2,),
112 112
         'tms' => array('type' => 'timestamp', 'label' => 'DateModification', 'enabled' => 1, 'position' => 501, 'notnull' => 0, 'visible' => 2,),
113
-        'deplacement' => array('type' => 'select', 'required' => 1,'label' => 'NeedBusinessTravels', 'enabled' => 1, 'position' => 90, 'notnull' => 1, 'visible' => 1, 'arrayofkeyval' => array(0 => "No", 1 => "Yes"), 'default' => '0'),
113
+        'deplacement' => array('type' => 'select', 'required' => 1, 'label' => 'NeedBusinessTravels', 'enabled' => 1, 'position' => 90, 'notnull' => 1, 'visible' => 1, 'arrayofkeyval' => array(0 => "No", 1 => "Yes"), 'default' => '0'),
114 114
         'note_public' => array('type' => 'html', 'label' => 'NotePublic', 'enabled' => 1, 'position' => 70, 'notnull' => 0, 'visible' => 0,),
115 115
         'note_private' => array('type' => 'html', 'label' => 'NotePrivate', 'enabled' => 1, 'position' => 71, 'notnull' => 0, 'visible' => 0,),
116 116
         'fk_user_creat' => array('type' => 'integer:User:user/class/user.class.php', 'label' => 'UserAuthor', 'enabled' => 1, 'position' => 510, 'notnull' => 1, 'visible' => -2, 'foreignkey' => 'user.rowid',),
@@ -844,7 +844,7 @@  discard block
 block discarded – undo
844 844
     public function LibStatut($status, $mode = 0)
845 845
     {
846 846
 		// phpcs:enable
847
-        return '';      // There is no status on job profile for the moment
847
+        return ''; // There is no status on job profile for the moment
848 848
 
849 849
         /*
850 850
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
Please login to merge, or discard this patch.
htdocs/hrm/class/skill.class.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -873,7 +873,7 @@  discard block
 block discarded – undo
873 873
         return $this->LibStatut($this->status, $mode);
874 874
     }
875 875
 
876
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
876
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
877 877
     /**
878 878
      *  Return the status
879 879
      *
@@ -887,7 +887,7 @@  discard block
 block discarded – undo
887 887
             $status = 0;
888 888
         }
889 889
 
890
-		// phpcs:enable
890
+        // phpcs:enable
891 891
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
892 892
             global $langs;
893 893
             //$langs->load("hrm");
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
      */
228 228
     public function create(User $user, $notrigger = 0)
229 229
     {
230
-        global $langs,$conf;
230
+        global $langs, $conf;
231 231
 
232 232
         $resultcreate = $this->createCommon($user, $notrigger);
233 233
 
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
             $skilldet->rankorder = $i;
267 267
             $skilldet->fk_skill = $this->id;
268 268
 
269
-            $result =  $skilldet->create($user);
269
+            $result = $skilldet->create($user);
270 270
             if ($result <= 0) {
271 271
                 $error++;
272 272
             }
Please login to merge, or discard this patch.
htdocs/variants/combinations.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -778,7 +778,7 @@
 block discarded – undo
778 778
         <div style="text-align: center">
779 779
         <input type="submit" name="create" <?php if (!is_array($productCombination2ValuePairs1)) {
780 780
             print ' disabled="disabled"';
781
-                                           } ?> value="<?php echo $action == 'add' ? $langs->trans('Create') : $langs->trans("Save") ?>" class="button button-save">
781
+                                            } ?> value="<?php echo $action == 'add' ? $langs->trans('Create') : $langs->trans("Save") ?>" class="button button-save">
782 782
         &nbsp;
783 783
         <input type="submit" name="cancel" value="<?php echo $langs->trans("Cancel"); ?>" class="button button-cancel">
784 784
         </div>
Please login to merge, or discard this patch.
htdocs/variants/class/ProductAttribute.class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
         }
514 514
     }
515 515
 
516
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
516
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
517 517
     /**
518 518
      * Load array lines
519 519
      *
@@ -522,7 +522,7 @@  discard block
 block discarded – undo
522 522
      */
523 523
     public function fetch_lines($filters = '')
524 524
     {
525
-		// phpcs:enable
525
+        // phpcs:enable
526 526
         global $langs;
527 527
 
528 528
         $this->lines = array();
@@ -1242,7 +1242,7 @@  discard block
 block discarded – undo
1242 1242
         return $this->LibStatut(0, $mode);
1243 1243
     }
1244 1244
 
1245
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1245
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1246 1246
     /**
1247 1247
      * Return label of a status
1248 1248
      *
@@ -1252,7 +1252,7 @@  discard block
 block discarded – undo
1252 1252
      */
1253 1253
     public function LibStatut($status, $mode = 1)
1254 1254
     {
1255
-		// phpcs:enable
1255
+        // phpcs:enable
1256 1256
         return '';
1257 1257
     }
1258 1258
 
Please login to merge, or discard this patch.
htdocs/api/class/api_access.class.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         $this->db = $db;
82 82
     }
83 83
 
84
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName
84
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName
85 85
     /**
86 86
      * Check access
87 87
      *
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     public function __isAllowed()
94 94
     {
95
-		// phpcs:enable
95
+        // phpcs:enable
96 96
         global $conf, $db, $user;
97 97
 
98 98
         $login = '';
@@ -229,13 +229,13 @@  discard block
 block discarded – undo
229 229
         return in_array(static::$role, (array) $requirefortest) || static::$role == 'admin';
230 230
     }
231 231
 
232
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName
232
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName
233 233
     /**
234 234
      * @return string string to be used with WWW-Authenticate header
235 235
      */
236 236
     public function __getWWWAuthenticateString()
237 237
     {
238
-		// phpcs:enable
238
+        // phpcs:enable
239 239
         return '';
240 240
     }
241 241
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * @return Luracast\Restler\AutoLoader
27 27
      */
28
-    static function () {
28
+    static function() {
29 29
         $loader = Luracast\Restler\AutoLoader::instance();
30 30
         spl_autoload_register($loader);
31 31
         return $loader;
Please login to merge, or discard this patch.