Passed
Push — EXTRACT_CLASSES ( a2ff75...ae6b5c )
by Rafael
34:15
created
public/htdocs/webportal/controllers/default.controller.class.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 19
  */
20 20
 
21
- /**
22
- * \file        htdocs/webportal/controllers/default.controller.class.php
23
- * \ingroup     webportal
24
- * \brief       This file is a controller for default
25
- */
21
+    /**
22
+     * \file        htdocs/webportal/controllers/default.controller.class.php
23
+     * \ingroup     webportal
24
+     * \brief       This file is a controller for default
25
+     */
26 26
 
27 27
 /**
28 28
  * Class for DefaultController
Please login to merge, or discard this patch.
public/htdocs/webportal/controllers/login.controller.class.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@
 block discarded – undo
18 18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 19
  */
20 20
 
21
- /**
22
- * \file        htdocs/webportal/controllers/login.controller.class.php
23
- * \ingroup     webportal
24
- * \brief       This file is a controller for login
25
- */
21
+    /**
22
+     * \file        htdocs/webportal/controllers/login.controller.class.php
23
+     * \ingroup     webportal
24
+     * \brief       This file is a controller for login
25
+     */
26 26
 /**
27
- * Class for LoginController
28
- */
27
+     * Class for LoginController
28
+     */
29 29
 class LoginController extends Controller
30 30
 {
31 31
     /**
Please login to merge, or discard this patch.
public/htdocs/webportal/controllers/document.controller.class.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 19
  */
20 20
 
21
- /**
22
- * \file        htdocs/webportal/controllers/document.controller.class.php
23
- * \ingroup     webportal
24
- * \brief       This file is a controller for documents
25
- */
21
+    /**
22
+     * \file        htdocs/webportal/controllers/document.controller.class.php
23
+     * \ingroup     webportal
24
+     * \brief       This file is a controller for documents
25
+     */
26 26
 
27 27
 require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/files.lib.php';
28 28
 
Please login to merge, or discard this patch.
public/htdocs/admin/dolistore/class/dolistore.class.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
         }
199 199
     }
200 200
 
201
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
201
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
202 202
     /**
203 203
      * Return tree of Dolistore categories. $this->categories must have been loaded before.
204 204
      *
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
      */
208 208
     public function get_categories($parent = 0)
209 209
     {
210
-		// phpcs:enable
210
+        // phpcs:enable
211 211
         if (!isset($this->categories)) {
212 212
             die('not possible');
213 213
         }
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
         }
246 246
     }
247 247
 
248
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
248
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
249 249
     /**
250 250
      * Return list of product formatted for output
251 251
      *
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
      */
254 254
     public function get_products()
255 255
     {
256
-		// phpcs:enable
256
+        // phpcs:enable
257 257
         global $langs, $conf;
258 258
         $html       = "";
259 259
         $last_month = time() - (30 * 24 * 60 * 60);
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
         return $html;
343 343
     }
344 344
 
345
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
345
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
346 346
     /**
347 347
      * get previous link
348 348
      *
@@ -351,11 +351,11 @@  discard block
 block discarded – undo
351 351
      */
352 352
     public function get_previous_link($text = '<<')
353 353
     {
354
-		// phpcs:enable
354
+        // phpcs:enable
355 355
         return '<a href="' . $this->get_previous_url() . '" class="button">' . dol_escape_htmltag($text) . '</a>';
356 356
     }
357 357
 
358
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
358
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
359 359
     /**
360 360
      * get next link
361 361
      *
@@ -364,11 +364,11 @@  discard block
 block discarded – undo
364 364
      */
365 365
     public function get_next_link($text = '>>')
366 366
     {
367
-		// phpcs:enable
367
+        // phpcs:enable
368 368
         return '<a href="' . $this->get_next_url() . '" class="button">' . dol_escape_htmltag($text) . '</a>';
369 369
     }
370 370
 
371
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
371
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
372 372
     /**
373 373
      * get previous url
374 374
      *
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
      */
377 377
     public function get_previous_url()
378 378
     {
379
-		// phpcs:enable
379
+        // phpcs:enable
380 380
         $param_array = array();
381 381
         if ($this->start < $this->per_page) {
382 382
             $sub = 0;
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
         return $this->url . "&" . $param;
393 393
     }
394 394
 
395
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
395
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
396 396
     /**
397 397
      * get next url
398 398
      *
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
      */
401 401
     public function get_next_url()
402 402
     {
403
-		// phpcs:enable
403
+        // phpcs:enable
404 404
         $param_array = array();
405 405
         if (count($this->products) < $this->per_page) {
406 406
             $add = 0;
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
         return $this->url . "&" . $param;
417 417
     }
418 418
 
419
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
419
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
420 420
     /**
421 421
      * version compare
422 422
      *
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
      */
427 427
     public function version_compare($v1, $v2)
428 428
     {
429
-		// phpcs:enable
429
+        // phpcs:enable
430 430
         $v1       = explode('.', $v1);
431 431
         $v2       = explode('.', $v2);
432 432
         $ret      = 0;
Please login to merge, or discard this patch.
public/htdocs/projet/card.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1657,7 +1657,7 @@
 block discarded – undo
1657 1657
                     70 => array('lang' => 'interventions', 'enabled' => isModEnabled("intervention"), 'perm' => $user->hasRight('fichinter', 'creer'), 'label' => 'AddIntervention', 'url' => '/fichinter/card.php?action=create&amp;projectid=' . $object->id . '&amp;socid=' . $object->socid),
1658 1658
                     80 => array('lang' => 'contracts', 'enabled' => isModEnabled("contract"), 'perm' => $user->hasRight('contrat', 'creer'), 'label' => 'AddContract', 'url' => '/contrat/card.php?action=create&amp;projectid=' . $object->id . '&amp;socid=' . $object->socid),
1659 1659
                     90 => array('lang' => 'trips', 'enabled' => isModEnabled("expensereport"), 'perm' => $user->hasRight('expensereport', 'creer'), 'label' => 'AddTrip', 'url' => '/expensereport/card.php?action=create&amp;projectid=' . $object->id . '&amp;socid=' . $object->socid),
1660
-                   100 => array('lang' => 'donations', 'enabled' => isModEnabled("don"), 'perm' => $user->hasRight('don', 'creer'), 'label' => 'AddDonation', 'url' => '/don/card.php?action=create&amp;projectid=' . $object->id . '&amp;socid=' . $object->socid),
1660
+                    100 => array('lang' => 'donations', 'enabled' => isModEnabled("don"), 'perm' => $user->hasRight('don', 'creer'), 'label' => 'AddDonation', 'url' => '/don/card.php?action=create&amp;projectid=' . $object->id . '&amp;socid=' . $object->socid),
1661 1661
                 );
1662 1662
 
1663 1663
                 $params = array('backtopage' => $_SERVER["PHP_SELF"] . '?id=' . $object->id);
Please login to merge, or discard this patch.
core/modules/knowledgemanagement/modules_knowledgerecord.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 ModelePDFKnowledgeRecord 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
         global $conf;
53 53
 
54 54
         $type = 'knowledgerecord';
Please login to merge, or discard this patch.
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.
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.