فهرست منبع

PSR2 FunctionClosingBrace

Frédéric FRANCE 6 سال پیش
والد
کامیت
b03f4004ea
100فایلهای تغییر یافته به همراه9 افزوده شده و 151 حذف شده
  1. 3 0
      dev/setup/codesniffer/ruleset.xml
  2. 0 1
      dev/translation/autotranslator.class.php
  3. 0 1
      htdocs/adherents/canvas/default/actions_adherentcard_default.class.php
  4. 0 2
      htdocs/adherents/class/adherent.class.php
  5. 0 1
      htdocs/admin/tools/eaccelerator.php
  6. 0 1
      htdocs/api/class/api_access.class.php
  7. 0 8
      htdocs/blockedlog/class/authority.class.php
  8. 0 4
      htdocs/blockedlog/class/blockedlog.class.php
  9. 0 1
      htdocs/bookmarks/class/bookmark.class.php
  10. 0 13
      htdocs/cashdesk/class/Facturation.class.php
  11. 0 2
      htdocs/comm/action/class/actioncomm.class.php
  12. 0 1
      htdocs/comm/action/class/api_agendaevents.class.php
  13. 0 1
      htdocs/comm/action/class/ical.class.php
  14. 0 1
      htdocs/comm/mailing/class/mailing.class.php
  15. 0 1
      htdocs/comm/propal/class/api_proposals.class.php
  16. 0 1
      htdocs/commande/class/api_orders.class.php
  17. 0 1
      htdocs/commande/class/commande.class.php
  18. 0 3
      htdocs/compta/bank/class/account.class.php
  19. 0 1
      htdocs/compta/deplacement/class/deplacement.class.php
  20. 0 1
      htdocs/compta/facture/class/facture-rec.class.php
  21. 0 1
      htdocs/compta/facture/class/facture.class.php
  22. 0 2
      htdocs/compta/paiement/class/cpaiement.class.php
  23. 0 3
      htdocs/compta/prelevement/class/bonprelevement.class.php
  24. 0 3
      htdocs/compta/prelevement/class/rejetprelevement.class.php
  25. 0 2
      htdocs/compta/sociales/class/cchargesociales.class.php
  26. 0 1
      htdocs/compta/sociales/class/chargesociales.class.php
  27. 0 2
      htdocs/compta/sociales/class/paymentsocialcontribution.class.php
  28. 0 1
      htdocs/contact/canvas/default/actions_contactcard_default.class.php
  29. 0 1
      htdocs/contrat/class/api_contracts.class.php
  30. 6 8
      htdocs/contrat/class/contrat.class.php
  31. 0 1
      htdocs/core/boxes/box_clients.php
  32. 0 1
      htdocs/core/boxes/box_comptes.php
  33. 0 1
      htdocs/core/boxes/box_factures_fourn_imp.php
  34. 0 1
      htdocs/core/boxes/box_fournisseurs.php
  35. 0 1
      htdocs/core/boxes/box_goodcustomers.php
  36. 0 1
      htdocs/core/boxes/box_graph_product_distribution.php
  37. 0 1
      htdocs/core/boxes/box_lastlogin.php
  38. 0 1
      htdocs/core/boxes/box_members.php
  39. 0 1
      htdocs/core/boxes/box_project.php
  40. 0 1
      htdocs/core/boxes/box_services_contracts.php
  41. 0 1
      htdocs/core/boxes/box_task.php
  42. 0 1
      htdocs/core/class/CMailFile.class.php
  43. 0 1
      htdocs/core/class/commondocgenerator.class.php
  44. 0 3
      htdocs/core/class/commonobject.class.php
  45. 0 1
      htdocs/core/class/conf.class.php
  46. 0 2
      htdocs/core/class/coreobject.class.php
  47. 0 1
      htdocs/core/class/doleditor.class.php
  48. 0 1
      htdocs/core/class/dolreceiptprinter.class.php
  49. 0 3
      htdocs/core/class/extrafields.class.php
  50. 0 1
      htdocs/core/class/html.formfile.class.php
  51. 0 1
      htdocs/core/class/link.class.php
  52. 0 1
      htdocs/core/class/rssparser.class.php
  53. 0 1
      htdocs/core/class/smtps.class.php
  54. 0 1
      htdocs/core/lib/bank.lib.php
  55. 0 1
      htdocs/core/lib/date.lib.php
  56. 0 1
      htdocs/core/lib/files.lib.php
  57. 0 1
      htdocs/core/lib/functions.lib.php
  58. 0 1
      htdocs/core/lib/resource.lib.php
  59. 0 1
      htdocs/core/menus/standard/empty.php
  60. 0 3
      htdocs/core/modules/bank/doc/pdf_ban.modules.php
  61. 0 2
      htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php
  62. 0 1
      htdocs/core/modules/barcode/mod_barcode_product_standard.php
  63. 0 1
      htdocs/core/modules/commande/doc/pdf_einstein.modules.php
  64. 0 1
      htdocs/core/modules/dons/html_cerfafr.modules.php
  65. 0 1
      htdocs/core/modules/expedition/doc/pdf_rouget.modules.php
  66. 0 1
      htdocs/core/modules/expensereport/doc/pdf_standard.modules.php
  67. 0 1
      htdocs/core/modules/export/export_csv.modules.php
  68. 0 1
      htdocs/core/modules/facture/doc/pdf_crabe.modules.php
  69. 0 1
      htdocs/core/modules/mailings/advthirdparties.modules.php
  70. 0 1
      htdocs/core/modules/mailings/thirdparties.modules.php
  71. 0 1
      htdocs/core/modules/mailings/xinputuser.modules.php
  72. 0 2
      htdocs/core/modules/member/modules_cards.php
  73. 0 1
      htdocs/core/modules/modAccounting.class.php
  74. 0 1
      htdocs/core/modules/modAdherent.class.php
  75. 0 1
      htdocs/core/modules/modAgenda.class.php
  76. 0 1
      htdocs/core/modules/modBanque.class.php
  77. 0 1
      htdocs/core/modules/modBookmark.class.php
  78. 0 1
      htdocs/core/modules/modComptabilite.class.php
  79. 0 1
      htdocs/core/modules/modDon.class.php
  80. 0 1
      htdocs/core/modules/modDynamicPrices.class.php
  81. 0 1
      htdocs/core/modules/modExport.class.php
  82. 0 1
      htdocs/core/modules/modExternalSite.class.php
  83. 0 1
      htdocs/core/modules/modFicheinter.class.php
  84. 0 1
      htdocs/core/modules/modHRM.class.php
  85. 0 1
      htdocs/core/modules/modImport.class.php
  86. 0 1
      htdocs/core/modules/modLabel.class.php
  87. 0 1
      htdocs/core/modules/modLoan.class.php
  88. 0 1
      htdocs/core/modules/modMailing.class.php
  89. 0 1
      htdocs/core/modules/modMailmanSpip.class.php
  90. 0 1
      htdocs/core/modules/modModuleBuilder.class.php
  91. 0 2
      htdocs/core/modules/modOauth.class.php
  92. 0 1
      htdocs/core/modules/modPrelevement.class.php
  93. 0 2
      htdocs/core/modules/modPrinting.class.php
  94. 0 1
      htdocs/core/modules/modProductBatch.class.php
  95. 0 1
      htdocs/core/modules/modPropale.class.php
  96. 0 2
      htdocs/core/modules/modReceiptPrinter.class.php
  97. 0 1
      htdocs/core/modules/modResource.class.php
  98. 0 1
      htdocs/core/modules/modStock.class.php
  99. 0 1
      htdocs/core/modules/modTax.class.php
  100. 0 1
      htdocs/core/modules/modUser.class.php

+ 3 - 0
dev/setup/codesniffer/ruleset.xml

@@ -374,6 +374,9 @@
 	</rule>
 	<rule ref="PEAR.NamingConventions.ValidVariableName" />
 
+    <!--<rule ref="PSR2.Classes.ClassDeclaration" />-->
+    <rule ref="PSR2.Methods.FunctionClosingBrace" />
+
 	<!-- This is not in PSR2 -->
 	<rule ref="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore">
         <severity>0</severity>

+ 0 - 1
dev/translation/autotranslator.class.php

@@ -65,7 +65,6 @@ class autoTranslator
 		//ini_set('default_charset','UTF-8');
 		ini_set('default_charset',$this->_outputpagecode);
 		$this->parse_refLangTranslationFiles();
-
 	}
 
 	/**

+ 0 - 1
htdocs/adherents/canvas/default/actions_adherentcard_default.class.php

@@ -117,7 +117,6 @@ class ActionsAdherentCardDefault extends ActionsAdherentCardCommon
 		{
 	        $this->LoadListDatas($limit, $offset, $sortfield, $sortorder);
 		}
-
 	}
 
 

+ 0 - 2
htdocs/adherents/class/adherent.class.php

@@ -690,7 +690,6 @@ class Adherent extends CommonObject
 			$this->db->rollback();
 			return -1;
 		}
-
 	}
 
 	/**
@@ -2107,7 +2106,6 @@ class Adherent extends CommonObject
 			$this->error=$this->db->error();
 			return -1;
 		}
-
 	}
 
 	/**

+ 0 - 1
htdocs/admin/tools/eaccelerator.php

@@ -181,7 +181,6 @@ function create_script_table($list)
         print '</tr>';
     }
     print '</table>';
-
 }
 
 /**

+ 0 - 1
htdocs/api/class/api_access.class.php

@@ -196,6 +196,5 @@ class DolibarrApiAccess implements iAuthenticate
         return $requires
             ? static::$role == 'admin' || in_array(static::$role, (array) $requires)
             : true;
-
     }
 }

+ 0 - 8
htdocs/blockedlog/class/authority.class.php

@@ -54,7 +54,6 @@ class BlockedLogAuthority
     {
 
     	$this->db = $db;
-
 	}
 
 	/**
@@ -90,7 +89,6 @@ class BlockedLogAuthority
     {
 
 		return md5($this->signature.$this->blockchain);
-
 	}
 
 	/**
@@ -103,7 +101,6 @@ class BlockedLogAuthority
     {
 
 		return ($hash === $this->getBlockchainHash() );
-
 	}
 
 	/**
@@ -116,7 +113,6 @@ class BlockedLogAuthority
     {
 
 		$this->blockchain.=$block;
-
 	}
 
 	/**
@@ -197,7 +193,6 @@ class BlockedLogAuthority
 			$this->error=$this->db->error();
 			return -1;
 		}
-
 	}
 
 	/**
@@ -252,7 +247,6 @@ class BlockedLogAuthority
 			$this->db->rollback();
 			return -1;
 		}
-
 	}
 
 	/**
@@ -291,7 +285,6 @@ class BlockedLogAuthority
 			$this->db->rollback();
 			return -1;
 		}
-
 	}
 
 	/**
@@ -340,5 +333,4 @@ class BlockedLogAuthority
 
 		return 1;
 	}
-
 }

+ 0 - 4
htdocs/blockedlog/class/blockedlog.class.php

@@ -283,7 +283,6 @@ class BlockedLog
 		}
 
 		return '<i class="opacitymedium">'.$langs->trans('ImpossibleToReloadObject', $this->element, $this->fk_object).'</i>';
-
 	}
 
 	/**
@@ -676,7 +675,6 @@ class BlockedLog
 			$this->error=$this->db->error();
 			return -1;
 		}
-
 	}
 
 
@@ -716,8 +714,6 @@ class BlockedLog
 		if($res===false) return false;
 
 		return true;
-
-
 	}
 
 	/**

+ 0 - 1
htdocs/bookmarks/class/bookmark.class.php

@@ -226,7 +226,6 @@ class Bookmark extends CommonObject
             $this->error=$this->db->lasterror();
             return -1;
         }
-
     }
 
 	/**

+ 0 - 13
htdocs/cashdesk/class/Facturation.class.php

@@ -167,7 +167,6 @@ class Facturation
         $_SESSION['poscart']=$newcartarray;
 
         $this->raz();
-
     }
 
     /**
@@ -269,7 +268,6 @@ class Facturation
         $this->prixTotalHt('RESET');
         $this->montantTva('RESET');
         $this->prixTotalTtc('RESET');
-
     }
 
 
@@ -324,7 +322,6 @@ class Facturation
         {
             $this->ref = $aRef;
         }
-
     }
 
     /**
@@ -348,7 +345,6 @@ class Facturation
         {
             $this->qte = $aQte;
         }
-
     }
 
     /**
@@ -372,7 +368,6 @@ class Facturation
         {
             $this->stock = $aStock;
         }
-
     }
 
     /**
@@ -396,7 +391,6 @@ class Facturation
         {
             $this->remise_percent = $aRemisePercent;
         }
-
     }
 
     /**
@@ -421,7 +415,6 @@ class Facturation
             $this->montant_remise = $aMontantRemise;
 
         }
-
     }
 
     /**
@@ -446,7 +439,6 @@ class Facturation
             $this->prix = $aPrix;
 
         }
-
     }
 
     /**
@@ -470,7 +462,6 @@ class Facturation
             $this->tva = $aTva;
 
         }
-
     }
 
     /**
@@ -518,7 +509,6 @@ class Facturation
             $this->mode_reglement = $aModeReglement;
 
         }
-
     }
 
     /**
@@ -543,7 +533,6 @@ class Facturation
             $this->montant_encaisse = $aMontantEncaisse;
 
         }
-
     }
 
     /**
@@ -567,7 +556,6 @@ class Facturation
             $this->montant_rendu = $aMontantRendu;
 
         }
-
     }
 
     /**
@@ -637,7 +625,6 @@ class Facturation
             $this->montant_tva = $aMontantTva;
 
         }
-
     }
 
     /**

+ 0 - 2
htdocs/comm/action/class/actioncomm.class.php

@@ -437,7 +437,6 @@ class ActionComm extends CommonObject
             $this->error=$this->db->lasterror();
             return -1;
         }
-
     }
 
 	/**
@@ -648,7 +647,6 @@ class ActionComm extends CommonObject
         }
 
         return $num;
-
     }
 
 	/**

+ 0 - 1
htdocs/comm/action/class/api_agendaevents.class.php

@@ -293,7 +293,6 @@ class AgendaEvents extends DolibarrApi
                 'message' => 'Agenda Event deleted'
             )
         );
-
     }
 
     /**

+ 0 - 1
htdocs/comm/action/class/ical.class.php

@@ -44,7 +44,6 @@ class ICal
 	 */
 	public function __construct()
 	{
-
 	}
 
 	/**

+ 0 - 1
htdocs/comm/mailing/class/mailing.class.php

@@ -93,7 +93,6 @@ class Mailing extends CommonObject
 		$this->statut_dest[1] = 'MailingStatusSent';
 		$this->statut_dest[2] = 'MailingStatusRead';
 		$this->statut_dest[3] = 'MailingStatusReadAndUnsubscribe';    // Read but ask to not be contacted anymore
-
 	}
 
 	/**

+ 0 - 1
htdocs/comm/propal/class/api_proposals.class.php

@@ -491,7 +491,6 @@ class Proposals extends DolibarrApi
 				'message' => 'Commercial Proposal deleted'
 			)
 		);
-
 	}
 
 	/**

+ 0 - 1
htdocs/commande/class/api_orders.class.php

@@ -473,7 +473,6 @@ class Orders extends DolibarrApi
                 'message' => 'Order deleted'
             )
         );
-
     }
 
     /**

+ 0 - 1
htdocs/commande/class/commande.class.php

@@ -3411,7 +3411,6 @@ class Commande extends CommonOrder
 			if ($statut==self::STATUS_CLOSED && ($billed && empty($conf->global->WORKFLOW_BILL_ON_SHIPMENT))) return '<span class="hideonsmartphone">'.$langs->trans('StatusOrderProcessed').$billedtext.' </span>'.img_picto($langs->trans('StatusOrderProcessed').$billedtext,'statut6');
 			if ($statut==self::STATUS_CLOSED && (! empty($conf->global->WORKFLOW_BILL_ON_SHIPMENT))) return '<span class="hideonsmartphone">'.$langs->trans('StatusOrderDelivered').' </span>'.img_picto($langs->trans('StatusOrderDelivered'),'statut6');
 		}
-
 	}
 
 

+ 0 - 3
htdocs/compta/bank/class/account.class.php

@@ -1170,7 +1170,6 @@ class Account extends CommonObject
 		}
 
 		return $solde;
-
 	}
 
 	/**
@@ -1513,7 +1512,6 @@ class Account extends CommonObject
 	 */
 	function info($id)
 	{
-
 	}
 
 	/**
@@ -1558,7 +1556,6 @@ class Account extends CommonObject
 
 		//Get the order the properties are shown
 		return $fieldarray;
-
 	}
 
 	/**

+ 0 - 1
htdocs/compta/deplacement/class/deplacement.class.php

@@ -154,7 +154,6 @@ class Deplacement extends CommonObject
 			$this->db->rollback();
 			return -1;
 		}
-
 	}
 
 	/**

+ 0 - 1
htdocs/compta/facture/class/facture-rec.class.php

@@ -1858,7 +1858,6 @@ class FactureLigneRec extends CommonInvoiceLine
     		$this->db->rollback();
     		return -2;
     	}
-
     }
 
 }

+ 0 - 1
htdocs/compta/facture/class/facture.class.php

@@ -1551,7 +1551,6 @@ class Facture extends CommonInvoice
 				}
 			}
 		}
-
 	}
 
 	/**

+ 0 - 2
htdocs/compta/paiement/class/cpaiement.class.php

@@ -369,8 +369,6 @@ class Cpaiement
 		$this->active = '';
 		$this->accountancy_code = '';
 		$this->module = '';
-
-
 	}
 
 }

+ 0 - 3
htdocs/compta/prelevement/class/bonprelevement.class.php

@@ -164,7 +164,6 @@ class BonPrelevement extends CommonObject
 		}
 
 		return $result;
-
 	}
 
 	/**
@@ -1457,7 +1456,6 @@ class BonPrelevement extends CommonObject
 		if (! empty($conf->global->MAIN_UMASK))
 		@chmod($this->file, octdec($conf->global->MAIN_UMASK));
 		return $result;
-
 	}
 
 
@@ -1687,7 +1685,6 @@ class BonPrelevement extends CommonObject
 		fputs($this->file, substr("                                        ",0,5));
 
 		fputs($this->file, "\n");
-
 	}
 
 	/**

+ 0 - 3
htdocs/compta/prelevement/class/rejetprelevement.class.php

@@ -69,7 +69,6 @@ class RejetPrelevement
 
     	$this->facturer[0]=$langs->trans("NoInvoiceRefused");
 		$this->facturer[1]=$langs->trans("InvoiceRefused");
-
 	}
 
 	/**
@@ -198,7 +197,6 @@ class RejetPrelevement
 			dol_syslog("RejetPrelevement::Create Rollback");
 			$this->db->rollback();
 		}
-
 	}
 
 	/**
@@ -327,7 +325,6 @@ class RejetPrelevement
 		}
 
 		return $arr;
-
 	}
 
 	/**

+ 0 - 2
htdocs/compta/sociales/class/cchargesociales.class.php

@@ -523,8 +523,6 @@ class Cchargesociales
 		$this->fk_pays = '';
 		$this->module = '';
 		$this->accountancy_code = '';
-
-		
 	}
 
 }

+ 0 - 1
htdocs/compta/sociales/class/chargesociales.class.php

@@ -289,7 +289,6 @@ class ChargeSociales extends CommonObject
             $this->db->rollback();
             return -1;
         }
-
     }
 
 

+ 0 - 2
htdocs/compta/sociales/class/paymentsocialcontribution.class.php

@@ -501,8 +501,6 @@ class PaymentSocialContribution extends CommonObject
 		$this->fk_bank='';
 		$this->fk_user_creat='';
 		$this->fk_user_modif='';
-
-
 	}
 
 

+ 0 - 1
htdocs/contact/canvas/default/actions_contactcard_default.class.php

@@ -116,7 +116,6 @@ class ActionsContactCardDefault extends ActionsContactCardCommon
 		{
 	        $this->LoadListDatas($limit, $offset, $sortfield, $sortorder);
 		}
-
 	}
 
 

+ 0 - 1
htdocs/contrat/class/api_contracts.class.php

@@ -537,7 +537,6 @@ class Contracts extends DolibarrApi
                 'message' => 'Contract deleted'
             )
         );
-
     }
 
     /**

+ 6 - 8
htdocs/contrat/class/contrat.class.php

@@ -45,22 +45,22 @@ class Contrat extends CommonObject
 	 * @var string ID to identify managed object
 	 */
 	public $element='contrat';
-	
+
 	/**
 	 * @var string Name of table without prefix where object is stored
 	 */
 	public $table_element='contrat';
-	
+
 	public $table_element_line='contratdet';
 	public $fk_element='fk_contrat';
     public $picto='contract';
-    
+
     /**
      * 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
      * @var int
      */
     public $ismultientitymanaged = 1;
-    
+
     /**
      * 0=Default, 1=View may be restricted to sales representative only if no permission to see all or to company of external user if external user
      * @var integer
@@ -520,7 +520,6 @@ class Contrat extends CommonObject
 			$this->db->rollback();
 			return -1;
 		}
-
 	}
 
 	/**
@@ -699,7 +698,6 @@ class Contrat extends CommonObject
 			$this->error=$this->db->error();
 			return -1;
 		}
-
 	}
 
 	/**
@@ -2465,7 +2463,7 @@ class ContratLigne extends CommonObjectLine
 	 * @var string ID to identify managed object
 	 */
 	public $element='contratdet';
-    
+
     /**
 	 * @var string Name of table without prefix where object is stored
 	 */
@@ -2475,7 +2473,7 @@ class ContratLigne extends CommonObjectLine
 	 * @var int ID
 	 */
 	public $id;
-	
+
 	var $ref;
 	var $tms;
 

+ 0 - 1
htdocs/core/boxes/box_clients.php

@@ -163,7 +163,6 @@ class box_clients extends ModeleBoxes
                 'text' => $langs->trans("ReadPermissionNotAllowed")
 			);
 		}
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/boxes/box_comptes.php

@@ -174,7 +174,6 @@ class box_comptes extends ModeleBoxes
                 'text' => $langs->trans("ReadPermissionNotAllowed")
             );
         }
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/boxes/box_factures_fourn_imp.php

@@ -191,7 +191,6 @@ class box_factures_fourn_imp extends ModeleBoxes
                 'text' => $langs->trans("ReadPermissionNotAllowed")
             );
         }
-
     }
 
 	/**

+ 0 - 1
htdocs/core/boxes/box_fournisseurs.php

@@ -150,7 +150,6 @@ class box_fournisseurs extends ModeleBoxes
                 'text' => $langs->trans("ReadPermissionNotAllowed")
             );
         }
-
     }
 
 	/**

+ 0 - 1
htdocs/core/boxes/box_goodcustomers.php

@@ -159,7 +159,6 @@ class box_goodcustomers extends ModeleBoxes
 				'text' => $langs->trans("ReadPermissionNotAllowed")
 			);
 		}
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/boxes/box_graph_product_distribution.php

@@ -401,7 +401,6 @@ class box_graph_product_distribution extends ModeleBoxes
 				'text' => $mesg
 			);
 		}
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/boxes/box_lastlogin.php

@@ -98,7 +98,6 @@ class box_lastlogin extends ModeleBoxes
             'td' => '',
             'text' => $tmp,
         );
-        
     }
 
 

+ 0 - 1
htdocs/core/boxes/box_members.php

@@ -168,7 +168,6 @@ class box_members extends ModeleBoxes
                 'text' => $langs->trans("ReadPermissionNotAllowed")
             );
         }
-
     }
 
 	/**

+ 0 - 1
htdocs/core/boxes/box_project.php

@@ -184,7 +184,6 @@ class box_project extends ModeleBoxes
             'td' => '',
             'text' => "&nbsp;",
         );
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/boxes/box_services_contracts.php

@@ -222,7 +222,6 @@ class box_services_contracts extends ModeleBoxes
                 'text' => $langs->trans("ReadPermissionNotAllowed")
 			);
 		}
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/boxes/box_task.php

@@ -137,7 +137,6 @@ class box_task extends ModeleBoxes
 		$this->info_box_contents[$i][] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totalplannedtot,'all',25200,5));
 		$this->info_box_contents[$i][] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totaldurationtot,'all',25200,5));
 		$this->info_box_contents[$i][] = array('td' => '', 'text' => "");
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/class/CMailFile.class.php

@@ -471,7 +471,6 @@ class CMailFile
 			// --------------------------------------
 			$this->error = 'Bad value for sendmode';
 		}
-
 	}
 
 

+ 0 - 1
htdocs/core/class/commondocgenerator.class.php

@@ -767,7 +767,6 @@ abstract class CommonDocGenerator
 		}
 
 		return $array_to_fill;
-
 	}
 
 

+ 0 - 3
htdocs/core/class/commonobject.class.php

@@ -1063,7 +1063,6 @@ abstract class CommonObject
 			dol_print_error($this->db);
 			return -1;
 		}
-
 	}
 
 	/**
@@ -2026,7 +2025,6 @@ abstract class CommonObject
             $this->db->commit();
             return 1;
         }
-
 	}
 
 
@@ -4622,7 +4620,6 @@ abstract class CommonObject
 		if (isset($conf->global->$keyforfieldname)) return $conf->global->$keyforfieldname;
 
 		// TODO Ad here a scan into table llx_overwrite_default with a filter on $this->element and $fieldname
-
 	}
 
 

+ 0 - 1
htdocs/core/class/conf.class.php

@@ -666,7 +666,6 @@ class Conf
 				$this->loghandlers[$handler] = $loghandlerinstance;
 			}
 		}
-
 	}
 }
 

+ 0 - 2
htdocs/core/class/coreobject.class.php

@@ -75,7 +75,6 @@ class CoreObject extends CommonObject
         {
 			return false;
 		}
-
 	}
 
     /**
@@ -271,7 +270,6 @@ class CoreObject extends CommonObject
             $this->db->rollback();
             return -1;
         }
-
 	}
 
     /**

+ 0 - 1
htdocs/core/class/doleditor.class.php

@@ -135,7 +135,6 @@ class DolEditor
             $this->height				= $height;
             $this->width				= $width;
     	}
-
     }
 
     /**

+ 0 - 1
htdocs/core/class/dolreceiptprinter.class.php

@@ -204,7 +204,6 @@ class dolReceiptPrinter extends Escpos
             'dol_print_if_customer_tax_number',
             'dol_print_if_customer_account_balance_positive',
         );
-
     }
 
     /**

+ 0 - 3
htdocs/core/class/extrafields.class.php

@@ -460,7 +460,6 @@ class ExtraFields
 		{
 			return 0;
 		}
-
 	}
 
 	/**
@@ -500,7 +499,6 @@ class ExtraFields
 		{
 			return 0;
 		}
-
 	}
 
 	/**
@@ -610,7 +608,6 @@ class ExtraFields
 		{
 			return 0;
 		}
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/class/html.formfile.class.php

@@ -1658,7 +1658,6 @@ class FormFile
 
 		// Include template
 		include DOL_DOCUMENT_ROOT.'/core/tpl/ajax/fileupload_view.tpl.php';
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/class/link.class.php

@@ -385,7 +385,6 @@ class Link extends CommonObject
             $this->db->rollback();
             return -1;
         }
-
     }
 
 }

+ 0 - 1
htdocs/core/class/rssparser.class.php

@@ -786,6 +786,5 @@ function xml2php($xml)
     }
 
     return $array;
-
 }
 

+ 0 - 1
htdocs/core/class/smtps.class.php

@@ -1165,7 +1165,6 @@ class SMTPs
 			$this->_setErr(102, 'eMail type not defined.');
 			return false;
 		}
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/lib/bank.lib.php

@@ -215,7 +215,6 @@ function checkSwiftForAccount($account)
     } else {
         return false;
     }
-
 }
 
 /**

+ 0 - 1
htdocs/core/lib/date.lib.php

@@ -439,7 +439,6 @@ function dol_get_next_week($day, $week, $month, $year)
 	$tmparray=dol_getdate($time,true);
 
 	return array('year' => $tmparray['year'], 'month' => $tmparray['mon'], 'day' => $tmparray['mday']);
-
 }
 
 /**	Return GMT time for first day of a month or year

+ 0 - 1
htdocs/core/lib/files.lib.php

@@ -651,7 +651,6 @@ function dolReplaceInFile($srcfile, $arrayreplacement, $destfile='', $newmask=0,
 function dolReplaceRegExInFile($srcfile, $arrayreplacement, $destfile='', $newmask=0, $indexdatabase=0)
 {
 	// TODO
-
 }
 
 /**

+ 0 - 1
htdocs/core/lib/functions.lib.php

@@ -4859,7 +4859,6 @@ function get_localtax_by_third($local)
 	}
 
 	return 0;
-
 }
 
 

+ 0 - 1
htdocs/core/lib/resource.lib.php

@@ -114,5 +114,4 @@ function resource_admin_prepare_head()
 	complete_head_from_modules($conf,$langs,null,$head,$h,'resource_admin','remove');
 
 	return $head;
-
 }

+ 0 - 1
htdocs/core/menus/standard/empty.php

@@ -57,7 +57,6 @@ class MenuManager
 	 */
 	function loadMenu()
 	{
-
 	}
 
 

+ 0 - 3
htdocs/core/modules/bank/doc/pdf_ban.modules.php

@@ -280,8 +280,6 @@ class pdf_ban extends ModeleBankAccountDoc
 		global $conf,$mysoc;
 
         $default_font_size = pdf_getPDFFontSize($outputlangs);
-
-
 	}
 
 	/**
@@ -368,7 +366,6 @@ class pdf_ban extends ModeleBankAccountDoc
 	    	}
 	    }
         */
-
 	}
 
 	/**

+ 0 - 2
htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php

@@ -423,7 +423,6 @@ class pdf_sepamandate extends ModeleBankAccountDoc
 		global $conf,$mysoc;
 
         $default_font_size = pdf_getPDFFontSize($outputlangs);
-
 	}
 
 	
@@ -592,7 +591,6 @@ class pdf_sepamandate extends ModeleBankAccountDoc
 	    	}
 	    }
         */
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/modules/barcode/mod_barcode_product_standard.php

@@ -253,7 +253,6 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
 		{
 			return -2;
 		}
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/modules/commande/doc/pdf_einstein.modules.php

@@ -654,7 +654,6 @@ class pdf_einstein extends ModelePDFCommandes
 	 */
 	function _tableau_versements(&$pdf, $object, $posy, $outputlangs)
 	{
-
 	}
 
 

+ 0 - 1
htdocs/core/modules/dons/html_cerfafr.modules.php

@@ -424,5 +424,4 @@ $chif2=array('', 'dix', 'vingt', 'trente', 'quarante', 'cinquante', 'soixante',
 		return $somme. ' et z&eacute;ro '. $dev2;
 	else
 		return $somme. $trio_c. ' ' .$secon_c. ' ' . $dev2;
-
 }

+ 0 - 1
htdocs/core/modules/expedition/doc/pdf_rouget.modules.php

@@ -832,7 +832,6 @@ class pdf_rouget extends ModelePdfExpedition
 			}
 
 		}
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/modules/expensereport/doc/pdf_standard.modules.php

@@ -776,7 +776,6 @@ class pdf_standard extends ModeleExpenseReport
 				}
 			}
 		}
-
    	}
 
 	/**

+ 0 - 1
htdocs/core/modules/export/export_csv.modules.php

@@ -76,7 +76,6 @@ class ExportCsv extends ModeleExports
 		// If driver use an external library, put its name here
 		$this->label_lib='Dolibarr';
 		$this->version_lib=DOL_VERSION;
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/modules/facture/doc/pdf_crabe.modules.php

@@ -910,7 +910,6 @@ class pdf_crabe extends ModelePDFFactures
 			$this->error=$this->db->lasterror();
 			return -1;
 		}
-
 	}
 
 

+ 0 - 1
htdocs/core/modules/mailings/advthirdparties.modules.php

@@ -277,7 +277,6 @@ class mailing_advthirdparties extends MailingTargets
 
 		$s.='</select>';
 		return $s;
-
 	}
 
 

+ 0 - 1
htdocs/core/modules/mailings/thirdparties.modules.php

@@ -309,7 +309,6 @@ class mailing_thirdparties extends MailingTargets
                 $s.='<option value="0">'.$langs->trans("Disabled").'</option>';
 		$s.='</select>';
 		return $s;
-
 	}
 
 

+ 0 - 1
htdocs/core/modules/mailings/xinputuser.modules.php

@@ -157,7 +157,6 @@ class mailing_xinputuser extends MailingTargets
 		   	$this->error = $langs->trans("ErrorBadEmail",$email);
 			return -1;
 		}
-
 	}
 
 }

+ 0 - 2
htdocs/core/modules/member/modules_cards.php

@@ -163,7 +163,5 @@ function members_card_pdf_create($db, $arrayofmembers, $modele, $outputlangs, $o
 		dol_print_error('',$langs->trans("Error")." ".$langs->trans("ErrorFileDoesNotExists",$file));
 		return -1;
 	}
-
-
 }
 

+ 0 - 1
htdocs/core/modules/modAccounting.class.php

@@ -287,6 +287,5 @@ class modAccounting extends DolibarrModules
 			'aa.account_parent'=>array('rule'=>'zeroifnull'),
 		);
 		$this->import_examplevalues_array[$r]=array('aa.fk_pcg_version'=>"PCG99-ABREGE",'aa.account_number'=>"707",'aa.label'=>"Product sales",'aa.account_parent'=>"1407","aa.fk_accounting_category"=>"","aa.pcg_type"=>"PROD",'aa.pcg_subtype'=>'PRODUCT','aa.active'=>'1','aa.datec'=>"2017-04-28");
-
 	}
 }

+ 0 - 1
htdocs/core/modules/modAdherent.class.php

@@ -362,7 +362,6 @@ class modAdherent extends DolibarrModules
 				'test'=>true,
 			),
         );
-
     }
 
 

+ 0 - 1
htdocs/core/modules/modAgenda.class.php

@@ -419,7 +419,6 @@ class modAgenda extends DolibarrModules
 		if (empty($user->rights->societe->client->voir)) $this->export_sql_end[$r] .=' AND (sc.fk_user = '.(empty($user)?0:$user->id).' OR ac.fk_soc IS NULL)';
 		if (empty($user->rights->agenda->allactions->read)) $this->export_sql_end[$r] .=' AND acr.fk_element = '.(empty($user)?0:$user->id);
 		$this->export_sql_end[$r] .=' ORDER BY ac.datep';
-
 	}
 
 }

+ 0 - 1
htdocs/core/modules/modBanque.class.php

@@ -199,7 +199,6 @@ class modBanque extends DolibarrModules
 		$this->export_sql_end[$r] .=' AND p.fk_paiement = 7';
 		$this->export_sql_end[$r] .=' AND ba.entity IN ('.getEntity('bank_account').')';
 		$this->export_sql_order[$r] =' ORDER BY b.datev, b.num_releve';
-
 	}
 
 

+ 0 - 1
htdocs/core/modules/modBookmark.class.php

@@ -101,6 +101,5 @@ class modBookmark extends DolibarrModules
 		// Menus
 		//-------
 		$this->menu = 1;        // This module add menu entries. They are coded into menu manager.
-
 	}
 }

+ 0 - 1
htdocs/core/modules/modComptabilite.class.php

@@ -98,7 +98,6 @@ class modComptabilite extends DolibarrModules
 		// Menus
 		//-------
 		$this->menu = 1;        // This module add menu entries. They are coded into menu manager.
-
 	}
 
 

+ 0 - 1
htdocs/core/modules/modDon.class.php

@@ -140,7 +140,6 @@ class modDon extends DolibarrModules
 		// Menus
 		//-------
 		$this->menu = 1;        // This module add menu entries. They are coded into menu manager.
-
 	}
 
 

+ 0 - 1
htdocs/core/modules/modDynamicPrices.class.php

@@ -82,6 +82,5 @@ class modDynamicPrices extends DolibarrModules
         $this->rights = array();
         $this->rights_class = 'dynamicprices';
         $r=0;
-
     }
 }

+ 0 - 1
htdocs/core/modules/modExport.class.php

@@ -94,6 +94,5 @@ class modExport extends DolibarrModules
 		// Menus
 		//-------
 		$this->menu = 1;        // This module add menu entries. They are coded into menu manager.
-
 	}
 }

+ 0 - 1
htdocs/core/modules/modExternalSite.class.php

@@ -113,7 +113,6 @@ class modExternalSite extends DolibarrModules
 			'user'=>0
 		);
 		$r++;
-
 	}
 }
 

+ 0 - 1
htdocs/core/modules/modFicheinter.class.php

@@ -196,7 +196,6 @@ class modFicheinter extends DolibarrModules
         $this->export_sql_end[$r] .=' WHERE f.fk_soc = s.rowid';
         $this->export_sql_end[$r] .=' AND f.entity IN ('.getEntity('intervention').')';
         $r++;
-
     }
 
 

+ 0 - 1
htdocs/core/modules/modHRM.class.php

@@ -120,7 +120,6 @@ class modHRM extends DolibarrModules
 		// Menus
 		//-------
 		$this->menu = 1;        // This module add menu entries. They are coded into menu manager.
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/modules/modImport.class.php

@@ -91,6 +91,5 @@ class modImport extends DolibarrModules
 		// Menus
 		//-------
 		$this->menu = 1;        // This module add menu entries. They are coded into menu manager.
-
 	}
 }

+ 0 - 1
htdocs/core/modules/modLabel.class.php

@@ -90,7 +90,6 @@ class modLabel extends DolibarrModules
 		$this->rights[4][1] = 'Supprimer les etiquettes'; // libelle de la permission
 		$this->rights[4][3] = 0; // La permission est-elle une permission par defaut
 		$this->rights[4][4] = 'supprimer';
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/modules/modLoan.class.php

@@ -145,7 +145,6 @@ class modLoan extends DolibarrModules
 		// Exports
 		//--------
 		$r=0;
-
 	}
 
 

+ 0 - 1
htdocs/core/modules/modMailing.class.php

@@ -133,7 +133,6 @@ class modMailing extends DolibarrModules
 		// Menus
 		//-------
 		$this->menu = 1;        // This module add menu entries. They are coded into menu manager.
-
 	}
 
 

+ 0 - 1
htdocs/core/modules/modMailmanSpip.class.php

@@ -83,6 +83,5 @@ class modMailmanSpip extends DolibarrModules
 		// Menus
 		//-------
 		$this->menu = 1;        // This module add menu entries. They are coded into menu manager.
-
 	}
 }

+ 0 - 1
htdocs/core/modules/modModuleBuilder.class.php

@@ -98,6 +98,5 @@ class modModuleBuilder extends DolibarrModules
             'enabled'=>'$conf->modulebuilder->enabled && preg_match(\'/^(admintools|all)/\',$leftmenu) && ($user->admin || $conf->global->MODULEBUILDER_FOREVERYONE)',
             'target'=>'_modulebuilder',
             'user'=>0);
-
     }
 }

+ 0 - 2
htdocs/core/modules/modOauth.class.php

@@ -119,8 +119,6 @@ class modOauth extends DolibarrModules
         //                        'user'=>0);                     // 0=Menu for internal users, 1=external users, 2=both
 
         //$r++;
-
-
     }
 
 

+ 0 - 1
htdocs/core/modules/modPrelevement.class.php

@@ -135,7 +135,6 @@ class modPrelevement extends DolibarrModules
 		// Menus
 		//-------
 		$this->menu = 1;        // This module add menu entries. They are coded into menu manager.
-
 	}
 
 

+ 0 - 2
htdocs/core/modules/modPrinting.class.php

@@ -117,7 +117,5 @@ class modPrinting extends DolibarrModules
                                 'user'=>0);                     // 0=Menu for internal users, 1=external users, 2=both
 
         $r++;
-
-
     }
 }

+ 0 - 1
htdocs/core/modules/modProductBatch.class.php

@@ -104,7 +104,6 @@ class modProductBatch extends DolibarrModules
 
 		// Exports
 		$r=0;
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/modules/modPropale.class.php

@@ -283,6 +283,5 @@ class modPropale extends DolibarrModules
 		);
 
 		return $this->_init($sql,$options);
-
 	}
 }

+ 0 - 2
htdocs/core/modules/modReceiptPrinter.class.php

@@ -119,8 +119,6 @@ class modReceiptPrinter extends DolibarrModules
         //                        'user'=>0);                     // 0=Menu for internal users, 1=external users, 2=both
 
         $r++;
-
-
     }
 
 

+ 0 - 1
htdocs/core/modules/modResource.class.php

@@ -285,7 +285,6 @@ class modResource extends DolibarrModules
 		$this->import_regex_array[$r]=array('s.datec'=>'^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]( [0-9][0-9]:[0-9][0-9]:[0-9][0-9])?$');
 		$this->import_examplevalues_array[$r]=array('r.ref'=>"REF1",'r.fk_code_type_resource'=>"Code from dictionary resource type",'r.datec'=>"2017-01-01 or 2017-01-01 12:30:00");
 		$this->import_updatekeys_array[$r]=array('r.rf'=>'ResourceFormLabel_ref');
-
 	}
 
 	/**

+ 0 - 1
htdocs/core/modules/modStock.class.php

@@ -348,7 +348,6 @@ class modStock extends DolibarrModules
 		$this->import_run_sql_after_array[$r]=array(    // Because we may change data that are denormalized, we must update dernormalized data after.
 		    'UPDATE llx_product p SET p.stock= (SELECT SUM(ps.reel) FROM llx_product_stock ps WHERE ps.fk_product = p.rowid);'
 		);
-
 	}
 	
 	

+ 0 - 1
htdocs/core/modules/modTax.class.php

@@ -174,7 +174,6 @@ class modTax extends DolibarrModules
 		$this->import_examplevalues_array[$r]=array('t.label'=>"VAT Payment 1st quarter 2016",'t.fk_typepayment'=>"CHQ (must be id or code found into dictionary)",
 		    't.datep'=>"2016-04-02", 't.datev'=>"2016-03-31", 't.amount'=>1000, 't.num_payment'=>'123456'
 		);
-
 	}
 
 

+ 0 - 1
htdocs/core/modules/modUser.class.php

@@ -291,7 +291,6 @@ class modUser extends DolibarrModules
 			'u.email'=>"test@mycompany.com",'u.salary'=>"10000",'u.note'=>"This is an example of note for record",'u.datec'=>"2015-01-01 or 2015-01-01 12:30:00"
 		);
 		$this->import_updatekeys_array[$r]=array('u.lastname'=>'Lastname','u.firstname'=>'Firstname','u.login'=>'Login');
-
 	}
 
 

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است