Passed
Push — dev ( 096618...2f56d7 )
by Rafael
75:21 queued 23:09
created
template/core/modules/mymodule/doc/doc_generic_myobject_odt.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
         return $texte;
207 207
     }
208 208
 
209
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
209
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
210 210
     /**
211 211
      *  Function to build a document on disk using the generic odt module.
212 212
      *
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
      */
221 221
     public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0)
222 222
     {
223
-		// phpcs:enable
223
+        // phpcs:enable
224 224
         global $user, $langs, $conf, $mysoc, $hookmanager;
225 225
         global $action;
226 226
 
Please login to merge, or discard this patch.
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.
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.
Dolibarr/Code/User/Classes/User.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -278,8 +278,8 @@
 block discarded – undo
278 278
     public $lastsearch_values_tmp; // To store last saved search criteria for user
279 279
 public $lastsearch_values;
280 280
         /**
281
-     * @var array<int,User>|array<int,array{rowid:int,id:int,fk_user:int,fk_soc:int,firstname:string,lastname:string,login:string,statut:int,entity:int,email:string,gender:string|int<-1,-1>,admin:int<0,1>,photo:string,fullpath:string,fullname:string,level:int}>  Array of User (filled from fetchAll) or Array with hierarchy of user information (filled with get_full_tree()
282
-     */
281
+         * @var array<int,User>|array<int,array{rowid:int,id:int,fk_user:int,fk_soc:int,firstname:string,lastname:string,login:string,statut:int,entity:int,email:string,gender:string|int<-1,-1>,admin:int<0,1>,photo:string,fullpath:string,fullname:string,level:int}>  Array of User (filled from fetchAll) or Array with hierarchy of user information (filled with get_full_tree()
282
+         */
283 283
     public $users = array(); // To store an array of all parents for all ids.
284 284
     public $parentof; // Cache array of already loaded children
285 285
 public $accountancy_code; // Accountancy code in prevision of the complete accountancy module
Please login to merge, or discard this patch.