From 6aee680a4f7ec7740e605bb7390399b505f54b10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 29 Aug 2018 22:06:05 +0200 Subject: [PATCH] PSR2 ClassDeclaration --- dev/setup/codesniffer/ruleset.xml | 2 +- dev/translation/autotranslator.class.php | 1 - .../accountancy/class/accountancycategory.class.php | 3 +-- .../canvas/actions_adherentcard_common.class.php | 1 - htdocs/adherents/class/adherent.class.php | 1 - htdocs/adherents/class/adherent_type.class.php | 1 - htdocs/adherents/class/adherentstats.class.php | 1 - htdocs/adherents/class/api_members.class.php | 1 - htdocs/adherents/class/api_memberstypes.class.php | 1 - htdocs/api/class/api_setup.class.php | 1 - htdocs/asset/class/asset_type.class.php | 1 - htdocs/blockedlog/class/blockedlog.class.php | 1 - htdocs/bookmarks/class/bookmark.class.php | 1 - htdocs/cashdesk/class/Auth.class.php | 1 - htdocs/cashdesk/class/Facturation.class.php | 1 - htdocs/comm/action/class/actioncomm.class.php | 1 - htdocs/comm/action/class/actioncommreminder.class.php | 1 - htdocs/comm/action/class/cactioncomm.class.php | 1 - htdocs/comm/mailing/class/advtargetemailing.class.php | 2 -- htdocs/comm/mailing/class/mailing.class.php | 1 - htdocs/comm/propal/class/propal.class.php | 1 - htdocs/commande/class/commandestats.class.php | 1 - htdocs/compta/bank/class/account.class.php | 2 -- htdocs/compta/bank/class/bankcateg.class.php | 1 - htdocs/compta/bank/class/paymentvarious.class.php | 1 - htdocs/compta/deplacement/class/deplacement.class.php | 1 - htdocs/compta/facture/class/api_invoices.class.php | 1 - htdocs/compta/facture/class/facture-rec.class.php | 1 - htdocs/compta/facture/class/facturestats.class.php | 2 -- htdocs/compta/facture/class/paymentterm.class.php | 1 - htdocs/compta/localtax/class/localtax.class.php | 1 - .../paiement/cheque/class/remisecheque.class.php | 1 - htdocs/compta/paiement/class/cpaiement.class.php | 1 - .../compta/prelevement/class/bonprelevement.class.php | 1 - .../prelevement/class/rejetprelevement.class.php | 1 - htdocs/compta/salaries/class/paymentsalary.class.php | 1 - .../compta/sociales/class/cchargesociales.class.php | 1 - .../canvas/actions_contactcard_common.class.php | 1 - htdocs/core/boxes/box_actions.php | 1 - htdocs/core/boxes/box_bookmarks.php | 1 - htdocs/core/boxes/box_clients.php | 1 - htdocs/core/boxes/box_commandes.php | 1 - htdocs/core/boxes/box_comptes.php | 1 - htdocs/core/boxes/box_contacts.php | 1 - htdocs/core/boxes/box_contracts.php | 1 - htdocs/core/boxes/box_external_rss.php | 1 - htdocs/core/boxes/box_factures.php | 1 - htdocs/core/boxes/box_factures_fourn.php | 1 - htdocs/core/boxes/box_factures_fourn_imp.php | 1 - htdocs/core/boxes/box_factures_imp.php | 1 - htdocs/core/boxes/box_ficheinter.php | 1 - htdocs/core/boxes/box_fournisseurs.php | 1 - htdocs/core/boxes/box_graph_invoices_permonth.php | 1 - .../boxes/box_graph_invoices_supplier_permonth.php | 1 - htdocs/core/boxes/box_graph_orders_permonth.php | 1 - .../core/boxes/box_graph_orders_supplier_permonth.php | 1 - htdocs/core/boxes/box_graph_product_distribution.php | 1 - htdocs/core/boxes/box_graph_propales_permonth.php | 1 - htdocs/core/boxes/box_members.php | 1 - htdocs/core/boxes/box_produits.php | 1 - htdocs/core/boxes/box_produits_alerte_stock.php | 1 - htdocs/core/boxes/box_propales.php | 1 - htdocs/core/boxes/box_prospect.php | 1 - htdocs/core/boxes/box_services_contracts.php | 1 - htdocs/core/boxes/box_services_expired.php | 3 +-- htdocs/core/boxes/box_supplier_orders.php | 1 - htdocs/core/boxes/modules_boxes.php | 4 +--- htdocs/core/class/CSMSFile.class.php | 1 - htdocs/core/class/antivir.class.php | 1 - htdocs/core/class/canvas.class.php | 1 - htdocs/core/class/ccountry.class.php | 1 - htdocs/core/class/commonobject.class.php | 1 - htdocs/core/class/commonorder.class.php | 1 - htdocs/core/class/commonstickergenerator.class.php | 1 - htdocs/core/class/coreobject.class.php | 1 - htdocs/core/class/cstate.class.php | 1 - htdocs/core/class/ctypent.class.php | 1 - htdocs/core/class/ctyperesource.class.php | 2 -- htdocs/core/class/doleditor.class.php | 1 - htdocs/core/class/dolgraph.class.php | 1 - htdocs/core/class/emailsenderprofile.class.php | 1 - htdocs/core/class/events.class.php | 1 - htdocs/core/class/fiscalyear.class.php | 1 - htdocs/core/class/genericobject.class.php | 1 - htdocs/core/class/hookmanager.class.php | 1 - htdocs/core/class/html.form.class.php | 1 - htdocs/core/class/html.formactions.class.php | 1 - htdocs/core/class/html.formbarcode.class.php | 1 - htdocs/core/class/html.formcompany.class.php | 1 - htdocs/core/class/html.formcontract.class.php | 1 - htdocs/core/class/html.formfile.class.php | 1 - htdocs/core/class/html.formmail.class.php | 1 - htdocs/core/class/html.formmargin.class.php | 1 - htdocs/core/class/html.formorder.class.php | 1 - htdocs/core/class/html.formother.class.php | 1 - htdocs/core/class/html.formprojet.class.php | 1 - htdocs/core/class/html.formsms.class.php | 1 - htdocs/core/class/html.formsocialcontrib.class.php | 1 - htdocs/core/class/html.formwebsite.class.php | 1 - htdocs/core/class/infobox.class.php | 1 - htdocs/core/class/interfaces.class.php | 1 - htdocs/core/class/link.class.php | 1 - htdocs/core/class/menubase.class.php | 1 - htdocs/core/class/notify.class.php | 1 - htdocs/core/class/openid.class.php | 1 - htdocs/core/class/rssparser.class.php | 1 - htdocs/core/class/smtps.class.php | 2 -- htdocs/core/class/vcard.class.php | 1 - htdocs/core/class/workboardresponse.class.php | 1 - htdocs/core/db/Database.interface.php | 1 - htdocs/core/db/mssql.class.php | 1 - htdocs/core/db/sqlite3.class.php | 1 - htdocs/core/menus/standard/eldy_menu.php | 1 - htdocs/core/modules/DolibarrModules.class.php | 2 +- htdocs/core/modules/bank/doc/pdf_ban.modules.php | 1 - .../core/modules/bank/doc/pdf_sepamandate.modules.php | 1 - .../core/modules/barcode/doc/phpbarcode.modules.php | 1 - .../modules/barcode/mod_barcode_product_standard.php | 1 - htdocs/core/modules/barcode/modules_barcode.class.php | 2 -- htdocs/core/modules/cheque/mod_chequereceipt_mint.php | 1 - .../core/modules/cheque/mod_chequereceipt_thyme.php | 1 - .../commande/doc/doc_generic_order_odt.modules.php | 1 - .../modules/commande/doc/pdf_einstein.modules.php | 1 - .../modules/commande/doc/pdf_proforma.modules.php | 1 - htdocs/core/modules/commande/mod_commande_marbre.php | 1 - htdocs/core/modules/commande/mod_commande_saphir.php | 1 - .../contract/doc/doc_generic_contract_odt.modules.php | 1 - .../core/modules/contract/doc/pdf_strato.modules.php | 1 - htdocs/core/modules/contract/mod_contract_magre.php | 1 - htdocs/core/modules/contract/mod_contract_serpis.php | 1 - .../doc/doc_generic_shipment_odt.modules.php | 1 - .../modules/expedition/doc/pdf_rouget.modules.php | 1 - .../core/modules/expedition/mod_expedition_ribera.php | 1 - .../core/modules/expedition/mod_expedition_safor.php | 1 - .../expensereport/doc/pdf_standard.modules.php | 1 - .../modules/expensereport/modules_expensereport.php | 1 - htdocs/core/modules/export/export_csv.modules.php | 1 - .../core/modules/export/export_excel2007.modules.php | 1 - htdocs/core/modules/export/export_tsv.modules.php | 1 - htdocs/core/modules/export/modules_export.php | 1 - .../facture/doc/doc_generic_invoice_odt.modules.php | 1 - htdocs/core/modules/facture/doc/pdf_crabe.modules.php | 1 - htdocs/core/modules/facture/mod_facture_mars.php | 1 - htdocs/core/modules/facture/mod_facture_mercure.php | 1 - htdocs/core/modules/facture/mod_facture_terre.php | 1 - .../core/modules/fichinter/doc/pdf_soleil.modules.php | 1 - htdocs/core/modules/fichinter/mod_arctic.php | 1 - htdocs/core/modules/fichinter/mod_pacific.php | 1 - htdocs/core/modules/holiday/mod_holiday_madonna.php | 1 - htdocs/core/modules/import/import_csv.modules.php | 1 - htdocs/core/modules/import/import_xlsx.modules.php | 1 - htdocs/core/modules/import/modules_import.php | 1 - .../core/modules/livraison/doc/pdf_typhon.modules.php | 1 - htdocs/core/modules/livraison/mod_livraison_jade.php | 1 - .../core/modules/livraison/mod_livraison_saphir.php | 1 - .../core/modules/mailings/advthirdparties.modules.php | 1 - htdocs/core/modules/mailings/contacts1.modules.php | 1 - htdocs/core/modules/mailings/example.modules.php | 1 - htdocs/core/modules/mailings/fraise.modules.php | 1 - htdocs/core/modules/mailings/modules_mailings.php | 3 +-- htdocs/core/modules/mailings/pomme.modules.php | 1 - htdocs/core/modules/mailings/thirdparties.modules.php | 1 - .../thirdparties_services_expired.modules.php | 1 - htdocs/core/modules/mailings/xinputfile.modules.php | 1 - htdocs/core/modules/mailings/xinputuser.modules.php | 1 - htdocs/core/modules/member/doc/pdf_standard.class.php | 1 - htdocs/core/modules/modAgenda.class.php | 1 - htdocs/core/modules/modAsset.class.php | 1 - htdocs/core/modules/modDav.class.php | 1 - htdocs/core/modules/modExternalRss.class.php | 1 - htdocs/core/modules/modReceiptPrinter.class.php | 1 - htdocs/core/modules/modSupplierProposal.class.php | 1 - htdocs/core/modules/modTicket.class.php | 1 - htdocs/core/modules/payment/mod_payment_ant.php | 1 - htdocs/core/modules/payment/mod_payment_cicada.php | 1 - htdocs/core/modules/printing/modules_printing.php | 1 - htdocs/core/modules/printing/printgcp.modules.php | 1 - htdocs/core/modules/printing/printipp.modules.php | 1 - .../product/doc/doc_generic_product_odt.modules.php | 1 - .../core/modules/product/doc/pdf_standard.modules.php | 1 - .../core/modules/product/mod_codeproduct_elephant.php | 1 - htdocs/core/modules/product/modules_product.class.php | 1 - .../project/doc/doc_generic_project_odt.modules.php | 1 - .../core/modules/project/doc/pdf_baleine.modules.php | 1 - .../core/modules/project/doc/pdf_beluga.modules.php | 1 - .../modules/project/doc/pdf_timespent.modules.php | 1 - .../project/task/doc/doc_generic_task_odt.modules.php | 1 - .../propale/doc/doc_generic_proposal_odt.modules.php | 1 - htdocs/core/modules/propale/mod_propale_marbre.php | 1 - htdocs/core/modules/propale/mod_propale_saphir.php | 1 - .../security/generate/modGeneratePassNone.class.php | 1 - .../modules/security/generate/modules_genpassword.php | 1 - .../modules/societe/doc/doc_generic_odt.modules.php | 1 - .../core/modules/societe/mod_codeclient_elephant.php | 1 - htdocs/core/modules/societe/mod_codeclient_monkey.php | 1 - htdocs/core/modules/societe/modules_societe.class.php | 2 -- .../stock/doc/doc_generic_stock_odt.modules.php | 1 - .../core/modules/stock/doc/pdf_standard.modules.php | 1 - .../modules/stock/doc/pdf_stdmovement.modules.php | 1 - .../supplier_invoice/modules_facturefournisseur.php | 1 - .../supplier_invoice/pdf/pdf_canelle.modules.php | 1 - .../supplier_order/modules_commandefournisseur.php | 1 - .../supplier_order/pdf/pdf_muscadet.modules.php | 1 - .../supplier_payment/doc/pdf_standard.modules.php | 1 - .../mod_supplier_payment_brodator.php | 1 - .../supplier_payment/mod_supplier_payment_bronan.php | 1 - .../supplier_payment/modules_supplier_payment.php | 1 - .../doc/doc_generic_supplier_proposal_odt.modules.php | 1 - .../supplier_proposal/doc/pdf_aurore.modules.php | 1 - .../mod_supplier_proposal_marbre.php | 1 - .../mod_supplier_proposal_saphir.php | 1 - htdocs/core/modules/ticket/mod_ticket_simple.php | 1 - htdocs/core/modules/ticket/mod_ticket_universal.php | 1 - .../modules/user/doc/doc_generic_user_odt.modules.php | 1 - .../doc/doc_generic_usergroup_odt.modules.php | 1 - htdocs/core/triggers/dolibarrtriggers.class.php | 1 - .../triggers/interface_20_all_Logevents.class.php | 1 - ...interface_20_modWorkflow_WorkflowManager.class.php | 1 - .../interface_50_modAgenda_ActionsAuto.class.php | 1 - ...rface_50_modBlockedlog_ActionsBlockedLog.class.php | 1 - .../interface_50_modLdap_Ldapsynchro.class.php | 1 - ...ace_50_modMailmanspip_Mailmanspipsynchro.class.php | 1 - ...nterface_50_modNotification_Notification.class.php | 1 - htdocs/dav/dav.class.php | 1 - htdocs/don/class/don.class.php | 1 - htdocs/ecm/class/ecmdirectory.class.php | 2 -- htdocs/expedition/class/expeditionbatch.class.php | 1 - htdocs/expensereport/class/expensereport.class.php | 1 - htdocs/exports/class/export.class.php | 1 - htdocs/fichinter/class/api_interventions.class.php | 2 -- htdocs/fichinter/class/fichinter.class.php | 1 - htdocs/fichinter/class/fichinterstats.class.php | 1 - htdocs/fourn/class/fournisseur.class.php | 1 - .../class/fournisseur.commande.dispatch.class.php | 1 - htdocs/fourn/class/fournisseur.product.class.php | 1 - htdocs/fourn/class/paiementfourn.class.php | 1 - htdocs/holiday/class/holiday.class.php | 1 - htdocs/imports/class/import.class.php | 1 - htdocs/livraison/class/livraison.class.php | 2 -- htdocs/mailmanspip/class/mailmanspip.class.php | 1 - .../template/class/actions_mymodule.class.php | 1 - .../mailinglist_mymodule_myobject.modules.php | 1 - .../template/core/modules/modMyModule.class.php | 1 - htdocs/multicurrency/class/multicurrency.class.php | 1 - htdocs/opensurvey/class/opensurveysondage.class.php | 1 - .../canvas/product/actions_card_product.class.php | 1 - .../canvas/service/actions_card_service.class.php | 1 - htdocs/product/class/product.class.php | 1 - htdocs/product/class/productbatch.class.php | 1 - htdocs/product/class/propalmergepdfproduct.class.php | 1 - htdocs/product/inventory/class/inventory.class.php | 1 - htdocs/product/stock/class/entrepot.class.php | 1 - htdocs/product/stock/class/productlot.class.php | 1 - .../stock/class/productstockentrepot.class.php | 1 - htdocs/projet/class/project.class.php | 1 - htdocs/resource/class/html.formresource.class.php | 3 --- htdocs/societe/canvas/actions_card_common.class.php | 1 - .../canvas/company/actions_card_company.class.php | 1 - .../individual/actions_card_individual.class.php | 1 - htdocs/societe/class/address.class.php | 1 - htdocs/societe/class/client.class.php | 1 - htdocs/societe/class/companybankaccount.class.php | 1 - htdocs/societe/class/companypaymentmode.class.php | 1 - htdocs/stripe/class/actions_stripe.class.php | 1 - htdocs/stripe/class/stripe.class.php | 1 - .../class/supplier_proposal.class.php | 2 -- htdocs/ticket/class/ticket.class.php | 2 -- htdocs/user/class/user.class.php | 1 - htdocs/website/class/website.class.php | 1 - htdocs/website/class/websitepage.class.php | 1 - test/phpunit/AccountingAccountTest.php | 1 - test/phpunit/ActionCommTest.php | 1 - test/phpunit/AdminLibTest.php | 1 - test/phpunit/AllTests.php | 1 - test/phpunit/BankAccountTest.php | 1 - test/phpunit/BonPrelevementTest.php | 1 - test/phpunit/CMailFileTest.php | 11 +++++------ test/phpunit/CategorieTest.php | 1 - test/phpunit/ChargeSocialesTest.php | 1 - test/phpunit/CodingSqlTest.php | 1 - test/phpunit/CommandeFournisseurTest.php | 1 - test/phpunit/CommandeTest.php | 1 - test/phpunit/CompanyBankAccountTest.php | 1 - test/phpunit/ContratTest.php | 1 - test/phpunit/DateLibTest.php | 1 - test/phpunit/DateLibTzFranceTest.php | 1 - test/phpunit/EntrepotTest.php | 1 - test/phpunit/ExpenseReportTest.php | 3 +-- test/phpunit/ExportTest.php | 1 - test/phpunit/FactureFournisseurTest.php | 1 - test/phpunit/FactureTestRounding.php | 1 - test/phpunit/FichinterTest.php | 1 - test/phpunit/FilesLibTest.php | 1 - test/phpunit/FormAdminTest.php | 1 - test/phpunit/FunctionsLibTest.php | 1 - test/phpunit/HolidayTest.php | 1 - test/phpunit/ImagesLibTest.php | 1 - test/phpunit/ImportTest.php | 1 - test/phpunit/MarginsLibTest.php | 5 ++--- test/phpunit/ModulesTest.php | 1 - test/phpunit/MouvementStockTest.php | 1 - test/phpunit/NumberingModulesTest.php | 1 - test/phpunit/PaypalTest.php | 5 ++--- test/phpunit/PricesTest.php | 1 - test/phpunit/ProjectTest.php | 1 - test/phpunit/PropalTest.php | 1 - test/phpunit/RestAPIUserTest.php | 3 +-- test/phpunit/SecurityTest.php | 1 - test/phpunit/SocieteTest.php | 1 - test/phpunit/SupplierProposalTest.php | 1 - test/phpunit/UserGroupTest.php | 1 - test/phpunit/UtilsTest.php | 3 --- test/phpunit/WebservicesInvoicesTest.php | 1 - test/phpunit/WebservicesOrdersTest.php | 1 - test/phpunit/WebservicesOtherTest.php | 1 - test/phpunit/WebservicesProductsTest.php | 1 - test/phpunit/WebservicesThirdpartyTest.php | 1 - test/phpunit/WebservicesUserTest.php | 1 - test/phpunit/XCalLibTest.php | 1 - 319 files changed, 17 insertions(+), 351 deletions(-) diff --git a/dev/setup/codesniffer/ruleset.xml b/dev/setup/codesniffer/ruleset.xml index fa19bc94372..be06c52ea7c 100644 --- a/dev/setup/codesniffer/ruleset.xml +++ b/dev/setup/codesniffer/ruleset.xml @@ -374,7 +374,7 @@ - + diff --git a/dev/translation/autotranslator.class.php b/dev/translation/autotranslator.class.php index 0a84bf03b70..060f590d656 100644 --- a/dev/translation/autotranslator.class.php +++ b/dev/translation/autotranslator.class.php @@ -345,5 +345,4 @@ class autoTranslator return $rep; } - } diff --git a/htdocs/accountancy/class/accountancycategory.class.php b/htdocs/accountancy/class/accountancycategory.class.php index d0191d92c09..fc3950cbeef 100644 --- a/htdocs/accountancy/class/accountancycategory.class.php +++ b/htdocs/accountancy/class/accountancycategory.class.php @@ -28,7 +28,7 @@ require_once DOL_DOCUMENT_ROOT . '/core/lib/accounting.lib.php'; /** * Class to manage categories of an accounting account */ -class AccountancyCategory // extends CommonObject +class AccountancyCategory // extends CommonObject { /** * @var DoliDB Database handler. @@ -824,5 +824,4 @@ class AccountancyCategory // extends CommonObject return -1; } } - } diff --git a/htdocs/adherents/canvas/actions_adherentcard_common.class.php b/htdocs/adherents/canvas/actions_adherentcard_common.class.php index a141a1e568a..a0396363da7 100644 --- a/htdocs/adherents/canvas/actions_adherentcard_common.class.php +++ b/htdocs/adherents/canvas/actions_adherentcard_common.class.php @@ -277,5 +277,4 @@ abstract class ActionsAdherentCardCommon } } } - } diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php index 7a4cc378baf..e60f728766a 100644 --- a/htdocs/adherents/class/adherent.class.php +++ b/htdocs/adherents/class/adherent.class.php @@ -2669,5 +2669,4 @@ class Adherent extends CommonObject return 0; } - } diff --git a/htdocs/adherents/class/adherent_type.class.php b/htdocs/adherents/class/adherent_type.class.php index 937d3e197a8..cef414ce38a 100644 --- a/htdocs/adherents/class/adherent_type.class.php +++ b/htdocs/adherents/class/adherent_type.class.php @@ -555,5 +555,4 @@ class AdherentType extends CommonObject return ''; } - } diff --git a/htdocs/adherents/class/adherentstats.class.php b/htdocs/adherents/class/adherentstats.class.php index bfa990a04c0..eb722b987a9 100644 --- a/htdocs/adherents/class/adherentstats.class.php +++ b/htdocs/adherents/class/adherentstats.class.php @@ -181,5 +181,4 @@ class AdherentStats extends Stats return $this->_getAllByYear($sql); } - } diff --git a/htdocs/adherents/class/api_members.class.php b/htdocs/adherents/class/api_members.class.php index 1758da55b1b..8591dd13195 100644 --- a/htdocs/adherents/class/api_members.class.php +++ b/htdocs/adherents/class/api_members.class.php @@ -409,5 +409,4 @@ class Members extends DolibarrApi return $result; } - } diff --git a/htdocs/adherents/class/api_memberstypes.class.php b/htdocs/adherents/class/api_memberstypes.class.php index bcba76056f1..ecf7f45d371 100644 --- a/htdocs/adherents/class/api_memberstypes.class.php +++ b/htdocs/adherents/class/api_memberstypes.class.php @@ -320,5 +320,4 @@ class MembersTypes extends DolibarrApi return $object; } - } diff --git a/htdocs/api/class/api_setup.class.php b/htdocs/api/class/api_setup.class.php index 1a958210559..9389e2ff5ed 100644 --- a/htdocs/api/class/api_setup.class.php +++ b/htdocs/api/class/api_setup.class.php @@ -918,5 +918,4 @@ class Setup extends DolibarrApi return array('resultcode'=>$resultcode, 'resultcomment'=>$resultcomment, 'expectedchecksum'=> $outexpectedchecksum, 'currentchecksum'=> $outcurrentchecksum, 'out'=>$out); } - } diff --git a/htdocs/asset/class/asset_type.class.php b/htdocs/asset/class/asset_type.class.php index 5455eb4c7ea..213efb2b186 100644 --- a/htdocs/asset/class/asset_type.class.php +++ b/htdocs/asset/class/asset_type.class.php @@ -437,5 +437,4 @@ class AssetType extends CommonObject { return ''; } - } diff --git a/htdocs/blockedlog/class/blockedlog.class.php b/htdocs/blockedlog/class/blockedlog.class.php index 59268d15c90..eaec787b099 100644 --- a/htdocs/blockedlog/class/blockedlog.class.php +++ b/htdocs/blockedlog/class/blockedlog.class.php @@ -1056,5 +1056,4 @@ class BlockedLog return $result; } - } diff --git a/htdocs/bookmarks/class/bookmark.class.php b/htdocs/bookmarks/class/bookmark.class.php index 005e73acad7..2d156832861 100644 --- a/htdocs/bookmarks/class/bookmark.class.php +++ b/htdocs/bookmarks/class/bookmark.class.php @@ -255,5 +255,4 @@ class Bookmark extends CommonObject { return ''; } - } diff --git a/htdocs/cashdesk/class/Auth.class.php b/htdocs/cashdesk/class/Auth.class.php index 5e431514d1c..78b76e20d11 100644 --- a/htdocs/cashdesk/class/Auth.class.php +++ b/htdocs/cashdesk/class/Auth.class.php @@ -138,6 +138,5 @@ class Auth return $ret; } - } diff --git a/htdocs/cashdesk/class/Facturation.class.php b/htdocs/cashdesk/class/Facturation.class.php index 48339044576..755c48faf88 100644 --- a/htdocs/cashdesk/class/Facturation.class.php +++ b/htdocs/cashdesk/class/Facturation.class.php @@ -648,5 +648,4 @@ class Facturation $this->prix_total_ttc = $aTotalTtc; } } - } diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index 1adb2da8822..0bc0a8236f6 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -1688,5 +1688,4 @@ class ActionComm extends CommonObject return $error; } - } diff --git a/htdocs/comm/action/class/actioncommreminder.class.php b/htdocs/comm/action/class/actioncommreminder.class.php index ce32234be56..15991978fec 100644 --- a/htdocs/comm/action/class/actioncommreminder.class.php +++ b/htdocs/comm/action/class/actioncommreminder.class.php @@ -227,6 +227,5 @@ class ActionCommReminder extends CommonObject { $this->initAsSpecimenCommon(); } - } diff --git a/htdocs/comm/action/class/cactioncomm.class.php b/htdocs/comm/action/class/cactioncomm.class.php index cdccca9968b..43844522a5a 100644 --- a/htdocs/comm/action/class/cactioncomm.class.php +++ b/htdocs/comm/action/class/cactioncomm.class.php @@ -225,5 +225,4 @@ class CActionComm $transcode=$langs->trans("Action".$this->code); if ($transcode != "Action".$this->code) return $transcode; } - } diff --git a/htdocs/comm/mailing/class/advtargetemailing.class.php b/htdocs/comm/mailing/class/advtargetemailing.class.php index 2d7a7ca4000..56c2f5ddd22 100644 --- a/htdocs/comm/mailing/class/advtargetemailing.class.php +++ b/htdocs/comm/mailing/class/advtargetemailing.class.php @@ -970,6 +970,4 @@ class AdvanceTargetingMailing extends CommonObject return $return_sql_criteria; } - - } diff --git a/htdocs/comm/mailing/class/mailing.class.php b/htdocs/comm/mailing/class/mailing.class.php index 506a2e99f31..d114ad5225f 100644 --- a/htdocs/comm/mailing/class/mailing.class.php +++ b/htdocs/comm/mailing/class/mailing.class.php @@ -643,6 +643,5 @@ class Mailing extends CommonObject if ($statut==3) return $langs->trans("MailingStatusNotContact").' '.img_picto($langs->trans("MailingStatusNotContact"),'statut3'); } } - } diff --git a/htdocs/comm/propal/class/propal.class.php b/htdocs/comm/propal/class/propal.class.php index cc918b5b9f1..0a1efae5e58 100644 --- a/htdocs/comm/propal/class/propal.class.php +++ b/htdocs/comm/propal/class/propal.class.php @@ -4235,6 +4235,5 @@ class PropaleLigne extends CommonObjectLine return -2; } } - } diff --git a/htdocs/commande/class/commandestats.class.php b/htdocs/commande/class/commandestats.class.php index 6ab9965f307..13d7e245f05 100644 --- a/htdocs/commande/class/commandestats.class.php +++ b/htdocs/commande/class/commandestats.class.php @@ -222,6 +222,5 @@ class CommandeStats extends Stats return $this->_getAllByProduct($sql); } - } diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php index 405237a98fa..7a367a88b03 100644 --- a/htdocs/compta/bank/class/account.class.php +++ b/htdocs/compta/bank/class/account.class.php @@ -1629,7 +1629,6 @@ class Account extends CommonObject $this->owner_address = 'Owner address'; $this->country_id = 1; } - } @@ -2312,5 +2311,4 @@ class AccountLine extends CommonObject } return 0; } - } diff --git a/htdocs/compta/bank/class/bankcateg.class.php b/htdocs/compta/bank/class/bankcateg.class.php index 44e4f72c496..53711fc800c 100644 --- a/htdocs/compta/bank/class/bankcateg.class.php +++ b/htdocs/compta/bank/class/bankcateg.class.php @@ -339,5 +339,4 @@ class BankCateg // extends CommonObject $this->id = 0; $this->label = ''; } - } diff --git a/htdocs/compta/bank/class/paymentvarious.class.php b/htdocs/compta/bank/class/paymentvarious.class.php index 90ec1558981..169b864b9b3 100644 --- a/htdocs/compta/bank/class/paymentvarious.class.php +++ b/htdocs/compta/bank/class/paymentvarious.class.php @@ -599,5 +599,4 @@ class PaymentVarious extends CommonObject dol_print_error($this->db); } } - } diff --git a/htdocs/compta/deplacement/class/deplacement.class.php b/htdocs/compta/deplacement/class/deplacement.class.php index 9304ac75b87..14d37d15516 100644 --- a/htdocs/compta/deplacement/class/deplacement.class.php +++ b/htdocs/compta/deplacement/class/deplacement.class.php @@ -452,6 +452,5 @@ class Deplacement extends CommonObject dol_print_error($this->db); } } - } diff --git a/htdocs/compta/facture/class/api_invoices.class.php b/htdocs/compta/facture/class/api_invoices.class.php index ab2903c95b4..5075d9d8cb7 100644 --- a/htdocs/compta/facture/class/api_invoices.class.php +++ b/htdocs/compta/facture/class/api_invoices.class.php @@ -1259,5 +1259,4 @@ class Invoices extends DolibarrApi } return $invoice; } - } diff --git a/htdocs/compta/facture/class/facture-rec.class.php b/htdocs/compta/facture/class/facture-rec.class.php index 03fbb9086b1..b6be8315897 100644 --- a/htdocs/compta/facture/class/facture-rec.class.php +++ b/htdocs/compta/facture/class/facture-rec.class.php @@ -1859,5 +1859,4 @@ class FactureLigneRec extends CommonInvoiceLine return -2; } } - } diff --git a/htdocs/compta/facture/class/facturestats.class.php b/htdocs/compta/facture/class/facturestats.class.php index e8d8d30e1b5..ef54a6ffa5f 100644 --- a/htdocs/compta/facture/class/facturestats.class.php +++ b/htdocs/compta/facture/class/facturestats.class.php @@ -224,7 +224,5 @@ class FactureStats extends Stats return $this->_getAllByProduct($sql); } - - } diff --git a/htdocs/compta/facture/class/paymentterm.class.php b/htdocs/compta/facture/class/paymentterm.class.php index 18a43d6d68d..2bdd288e748 100644 --- a/htdocs/compta/facture/class/paymentterm.class.php +++ b/htdocs/compta/facture/class/paymentterm.class.php @@ -482,5 +482,4 @@ class PaymentTerm // extends CommonObject $this->nbjour=''; $this->decalage=''; } - } diff --git a/htdocs/compta/localtax/class/localtax.class.php b/htdocs/compta/localtax/class/localtax.class.php index b83379f028c..2d98182b668 100644 --- a/htdocs/compta/localtax/class/localtax.class.php +++ b/htdocs/compta/localtax/class/localtax.class.php @@ -648,5 +648,4 @@ class Localtax extends CommonObject return ''; } - } diff --git a/htdocs/compta/paiement/cheque/class/remisecheque.class.php b/htdocs/compta/paiement/cheque/class/remisecheque.class.php index ceb376f7a37..cc3879f3c8d 100644 --- a/htdocs/compta/paiement/cheque/class/remisecheque.class.php +++ b/htdocs/compta/paiement/cheque/class/remisecheque.class.php @@ -1100,5 +1100,4 @@ class RemiseCheque extends CommonObject } return $langs->trans('Unknown'); } - } diff --git a/htdocs/compta/paiement/class/cpaiement.class.php b/htdocs/compta/paiement/class/cpaiement.class.php index 1c10e78c1b7..c9794d9662e 100644 --- a/htdocs/compta/paiement/class/cpaiement.class.php +++ b/htdocs/compta/paiement/class/cpaiement.class.php @@ -370,5 +370,4 @@ class Cpaiement $this->accountancy_code = ''; $this->module = ''; } - } diff --git a/htdocs/compta/prelevement/class/bonprelevement.class.php b/htdocs/compta/prelevement/class/bonprelevement.class.php index b041c6acab7..bfce2e8af95 100644 --- a/htdocs/compta/prelevement/class/bonprelevement.class.php +++ b/htdocs/compta/prelevement/class/bonprelevement.class.php @@ -1937,6 +1937,5 @@ class BonPrelevement extends CommonObject if ($statut==2) return $this->labelstatut[$statut].' '.img_picto($this->labelstatut[$statut],'statut6'); } } - } diff --git a/htdocs/compta/prelevement/class/rejetprelevement.class.php b/htdocs/compta/prelevement/class/rejetprelevement.class.php index 75c67146d6d..7abdf64d1f0 100644 --- a/htdocs/compta/prelevement/class/rejetprelevement.class.php +++ b/htdocs/compta/prelevement/class/rejetprelevement.class.php @@ -368,6 +368,5 @@ class RejetPrelevement return -2; } } - } diff --git a/htdocs/compta/salaries/class/paymentsalary.class.php b/htdocs/compta/salaries/class/paymentsalary.class.php index 613a51f45b0..2f4f7bfb0df 100644 --- a/htdocs/compta/salaries/class/paymentsalary.class.php +++ b/htdocs/compta/salaries/class/paymentsalary.class.php @@ -627,5 +627,4 @@ class PaymentSalary extends CommonObject }*/ return ''; } - } diff --git a/htdocs/compta/sociales/class/cchargesociales.class.php b/htdocs/compta/sociales/class/cchargesociales.class.php index aab637a693c..3add8b14076 100644 --- a/htdocs/compta/sociales/class/cchargesociales.class.php +++ b/htdocs/compta/sociales/class/cchargesociales.class.php @@ -524,5 +524,4 @@ class Cchargesociales $this->module = ''; $this->accountancy_code = ''; } - } diff --git a/htdocs/contact/canvas/actions_contactcard_common.class.php b/htdocs/contact/canvas/actions_contactcard_common.class.php index 1276e501dc6..c0477a6c752 100644 --- a/htdocs/contact/canvas/actions_contactcard_common.class.php +++ b/htdocs/contact/canvas/actions_contactcard_common.class.php @@ -316,6 +316,5 @@ abstract class ActionsContactCardCommon $this->object->country = $langs->trans("Country".$obj->code)?$langs->trans("Country".$obj->code):$obj->label; } } - } diff --git a/htdocs/core/boxes/box_actions.php b/htdocs/core/boxes/box_actions.php index 6ccf61690ed..9bcfb002bb6 100644 --- a/htdocs/core/boxes/box_actions.php +++ b/htdocs/core/boxes/box_actions.php @@ -260,6 +260,5 @@ class box_actions extends ModeleBoxes return ''; } - } diff --git a/htdocs/core/boxes/box_bookmarks.php b/htdocs/core/boxes/box_bookmarks.php index 50cebe91b1f..c3a29877104 100644 --- a/htdocs/core/boxes/box_bookmarks.php +++ b/htdocs/core/boxes/box_bookmarks.php @@ -161,6 +161,5 @@ class box_bookmarks extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_clients.php b/htdocs/core/boxes/box_clients.php index a3383370e40..96ccd7b675d 100644 --- a/htdocs/core/boxes/box_clients.php +++ b/htdocs/core/boxes/box_clients.php @@ -177,6 +177,5 @@ class box_clients extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_commandes.php b/htdocs/core/boxes/box_commandes.php index 86660258cd0..5aeb6179207 100644 --- a/htdocs/core/boxes/box_commandes.php +++ b/htdocs/core/boxes/box_commandes.php @@ -202,6 +202,5 @@ class box_commandes extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_comptes.php b/htdocs/core/boxes/box_comptes.php index 5e0582fd49c..8606d9b91f7 100644 --- a/htdocs/core/boxes/box_comptes.php +++ b/htdocs/core/boxes/box_comptes.php @@ -188,6 +188,5 @@ class box_comptes extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_contacts.php b/htdocs/core/boxes/box_contacts.php index 37e32d07198..4feb101c090 100644 --- a/htdocs/core/boxes/box_contacts.php +++ b/htdocs/core/boxes/box_contacts.php @@ -189,6 +189,5 @@ class box_contacts extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_contracts.php b/htdocs/core/boxes/box_contracts.php index 027fa2cc84a..6f9a62e1063 100644 --- a/htdocs/core/boxes/box_contracts.php +++ b/htdocs/core/boxes/box_contracts.php @@ -185,6 +185,5 @@ class box_contracts extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_external_rss.php b/htdocs/core/boxes/box_external_rss.php index 4c2ca4236ca..f08c809627d 100644 --- a/htdocs/core/boxes/box_external_rss.php +++ b/htdocs/core/boxes/box_external_rss.php @@ -198,6 +198,5 @@ class box_external_rss extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_factures.php b/htdocs/core/boxes/box_factures.php index 84f27257889..348bd7b9fe5 100644 --- a/htdocs/core/boxes/box_factures.php +++ b/htdocs/core/boxes/box_factures.php @@ -206,5 +206,4 @@ class box_factures extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_factures_fourn.php b/htdocs/core/boxes/box_factures_fourn.php index 011942b9cc4..c865cf185c4 100644 --- a/htdocs/core/boxes/box_factures_fourn.php +++ b/htdocs/core/boxes/box_factures_fourn.php @@ -218,6 +218,5 @@ class box_factures_fourn extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_factures_fourn_imp.php b/htdocs/core/boxes/box_factures_fourn_imp.php index 75561643526..e8dedf59c41 100644 --- a/htdocs/core/boxes/box_factures_fourn_imp.php +++ b/htdocs/core/boxes/box_factures_fourn_imp.php @@ -205,6 +205,5 @@ class box_factures_fourn_imp extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_factures_imp.php b/htdocs/core/boxes/box_factures_imp.php index 1faeb789337..54d265bf6af 100644 --- a/htdocs/core/boxes/box_factures_imp.php +++ b/htdocs/core/boxes/box_factures_imp.php @@ -209,5 +209,4 @@ class box_factures_imp extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_ficheinter.php b/htdocs/core/boxes/box_ficheinter.php index a831bc163ce..76d1414f53f 100644 --- a/htdocs/core/boxes/box_ficheinter.php +++ b/htdocs/core/boxes/box_ficheinter.php @@ -170,6 +170,5 @@ class box_ficheinter extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_fournisseurs.php b/htdocs/core/boxes/box_fournisseurs.php index 6878c1780a5..0ca14fae7f5 100644 --- a/htdocs/core/boxes/box_fournisseurs.php +++ b/htdocs/core/boxes/box_fournisseurs.php @@ -164,6 +164,5 @@ class box_fournisseurs extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_graph_invoices_permonth.php b/htdocs/core/boxes/box_graph_invoices_permonth.php index 4eb91d36e60..c22163779a8 100644 --- a/htdocs/core/boxes/box_graph_invoices_permonth.php +++ b/htdocs/core/boxes/box_graph_invoices_permonth.php @@ -280,6 +280,5 @@ class box_graph_invoices_permonth extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php b/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php index 337b4283e94..a7f504b2d01 100644 --- a/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php +++ b/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php @@ -279,6 +279,5 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_graph_orders_permonth.php b/htdocs/core/boxes/box_graph_orders_permonth.php index b05395169fa..329fef77fba 100644 --- a/htdocs/core/boxes/box_graph_orders_permonth.php +++ b/htdocs/core/boxes/box_graph_orders_permonth.php @@ -278,6 +278,5 @@ class box_graph_orders_permonth extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_graph_orders_supplier_permonth.php b/htdocs/core/boxes/box_graph_orders_supplier_permonth.php index 86a813407a6..de962149cdf 100644 --- a/htdocs/core/boxes/box_graph_orders_supplier_permonth.php +++ b/htdocs/core/boxes/box_graph_orders_supplier_permonth.php @@ -277,6 +277,5 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_graph_product_distribution.php b/htdocs/core/boxes/box_graph_product_distribution.php index 66c3bf1145a..42afa4fbfe0 100644 --- a/htdocs/core/boxes/box_graph_product_distribution.php +++ b/htdocs/core/boxes/box_graph_product_distribution.php @@ -415,6 +415,5 @@ class box_graph_product_distribution extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_graph_propales_permonth.php b/htdocs/core/boxes/box_graph_propales_permonth.php index d7691e05c30..c19235c2fb2 100644 --- a/htdocs/core/boxes/box_graph_propales_permonth.php +++ b/htdocs/core/boxes/box_graph_propales_permonth.php @@ -281,6 +281,5 @@ class box_graph_propales_permonth extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_members.php b/htdocs/core/boxes/box_members.php index 3b556e6d5db..6f7e62aa457 100644 --- a/htdocs/core/boxes/box_members.php +++ b/htdocs/core/boxes/box_members.php @@ -182,6 +182,5 @@ class box_members extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_produits.php b/htdocs/core/boxes/box_produits.php index f6e91169eae..cadda2b8058 100644 --- a/htdocs/core/boxes/box_produits.php +++ b/htdocs/core/boxes/box_produits.php @@ -230,6 +230,5 @@ class box_produits extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_produits_alerte_stock.php b/htdocs/core/boxes/box_produits_alerte_stock.php index 0bd7a5e2ad7..648da118e09 100644 --- a/htdocs/core/boxes/box_produits_alerte_stock.php +++ b/htdocs/core/boxes/box_produits_alerte_stock.php @@ -242,6 +242,5 @@ class box_produits_alerte_stock extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_propales.php b/htdocs/core/boxes/box_propales.php index a208671835f..6db4ac11250 100644 --- a/htdocs/core/boxes/box_propales.php +++ b/htdocs/core/boxes/box_propales.php @@ -192,6 +192,5 @@ class box_propales extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_prospect.php b/htdocs/core/boxes/box_prospect.php index 912d0191e8d..629da790f3c 100644 --- a/htdocs/core/boxes/box_prospect.php +++ b/htdocs/core/boxes/box_prospect.php @@ -180,6 +180,5 @@ class box_prospect extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_services_contracts.php b/htdocs/core/boxes/box_services_contracts.php index 87cf179daaf..41d287d0c37 100644 --- a/htdocs/core/boxes/box_services_contracts.php +++ b/htdocs/core/boxes/box_services_contracts.php @@ -236,6 +236,5 @@ class box_services_contracts extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/box_services_expired.php b/htdocs/core/boxes/box_services_expired.php index ab5ad0c54a7..afc087ad715 100644 --- a/htdocs/core/boxes/box_services_expired.php +++ b/htdocs/core/boxes/box_services_expired.php @@ -184,6 +184,5 @@ class box_services_expired extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - - } +} diff --git a/htdocs/core/boxes/box_supplier_orders.php b/htdocs/core/boxes/box_supplier_orders.php index 934be175c15..97b4bf8feec 100644 --- a/htdocs/core/boxes/box_supplier_orders.php +++ b/htdocs/core/boxes/box_supplier_orders.php @@ -188,6 +188,5 @@ class box_supplier_orders extends ModeleBoxes { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } - } diff --git a/htdocs/core/boxes/modules_boxes.php b/htdocs/core/boxes/modules_boxes.php index 61af58a4b8b..4377b90d17a 100644 --- a/htdocs/core/boxes/modules_boxes.php +++ b/htdocs/core/boxes/modules_boxes.php @@ -31,7 +31,7 @@ * * Boxes parent class */ -class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" boxes +class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" boxes { /** * @var DoliDB Database handler @@ -503,8 +503,6 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" } return $widget; } - - } diff --git a/htdocs/core/class/CSMSFile.class.php b/htdocs/core/class/CSMSFile.class.php index 0a149feabf4..1eafa042d4f 100644 --- a/htdocs/core/class/CSMSFile.class.php +++ b/htdocs/core/class/CSMSFile.class.php @@ -244,6 +244,5 @@ class CSMSFile @chmod($outputfile, octdec($conf->global->MAIN_UMASK)); } } - } diff --git a/htdocs/core/class/antivir.class.php b/htdocs/core/class/antivir.class.php index 9d81d3a94ac..34d797ec891 100644 --- a/htdocs/core/class/antivir.class.php +++ b/htdocs/core/class/antivir.class.php @@ -179,6 +179,5 @@ class AntiVir return $ret; } - } diff --git a/htdocs/core/class/canvas.class.php b/htdocs/core/class/canvas.class.php index 8a9b9d2f005..616136e4912 100644 --- a/htdocs/core/class/canvas.class.php +++ b/htdocs/core/class/canvas.class.php @@ -208,5 +208,4 @@ class Canvas return $ret; } } - } diff --git a/htdocs/core/class/ccountry.class.php b/htdocs/core/class/ccountry.class.php index f49d39e8fdd..30f426ec30d 100644 --- a/htdocs/core/class/ccountry.class.php +++ b/htdocs/core/class/ccountry.class.php @@ -333,5 +333,4 @@ class Ccountry // extends CommonObject return 1; } } - } diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 111ae066821..e6e4a129232 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -7240,5 +7240,4 @@ abstract class CommonObject { return count($this->comments); } - } diff --git a/htdocs/core/class/commonorder.class.php b/htdocs/core/class/commonorder.class.php index b3e5033330d..2ea53a345d8 100644 --- a/htdocs/core/class/commonorder.class.php +++ b/htdocs/core/class/commonorder.class.php @@ -144,6 +144,5 @@ abstract class CommonOrderLine extends CommonObjectLine public $info_bits = 0; public $special_code = 0; - } diff --git a/htdocs/core/class/commonstickergenerator.class.php b/htdocs/core/class/commonstickergenerator.class.php index efd0f491162..e20c023eef3 100644 --- a/htdocs/core/class/commonstickergenerator.class.php +++ b/htdocs/core/class/commonstickergenerator.class.php @@ -266,5 +266,4 @@ abstract class CommonStickerGenerator $this->_Height = $this->_Convert_Metric($format['height'], $this->_Metric, $this->_Metric_Doc); $this->Set_Char_Size($pdf, $format['font-size']); } - } diff --git a/htdocs/core/class/coreobject.class.php b/htdocs/core/class/coreobject.class.php index 215ad36ba60..5129ac54ece 100644 --- a/htdocs/core/class/coreobject.class.php +++ b/htdocs/core/class/coreobject.class.php @@ -435,5 +435,4 @@ class CoreObject extends CommonObject return 1; } - } diff --git a/htdocs/core/class/cstate.class.php b/htdocs/core/class/cstate.class.php index bb75a36de96..3b1016aa55f 100644 --- a/htdocs/core/class/cstate.class.php +++ b/htdocs/core/class/cstate.class.php @@ -317,5 +317,4 @@ class Cstate // extends CommonObject return 1; } } - } diff --git a/htdocs/core/class/ctypent.class.php b/htdocs/core/class/ctypent.class.php index 184f5f26a2c..aa3e6620d4f 100644 --- a/htdocs/core/class/ctypent.class.php +++ b/htdocs/core/class/ctypent.class.php @@ -333,5 +333,4 @@ class Ctypent // extends CommonObject return 1; } } - } diff --git a/htdocs/core/class/ctyperesource.class.php b/htdocs/core/class/ctyperesource.class.php index 9e0e5b90377..371f4e4aba7 100644 --- a/htdocs/core/class/ctyperesource.class.php +++ b/htdocs/core/class/ctyperesource.class.php @@ -463,7 +463,6 @@ class Ctyperesource $this->label = ''; $this->active = ''; } - } /** @@ -486,5 +485,4 @@ class CtyperesourceLine /** * @var mixed Sample line property 2 */ - } diff --git a/htdocs/core/class/doleditor.class.php b/htdocs/core/class/doleditor.class.php index 98fed20a691..18461beeca3 100644 --- a/htdocs/core/class/doleditor.class.php +++ b/htdocs/core/class/doleditor.class.php @@ -344,6 +344,5 @@ class DolEditor if ($noprint) return $out; else print $out; } - } diff --git a/htdocs/core/class/dolgraph.class.php b/htdocs/core/class/dolgraph.class.php index 444f9b3ea53..315649f44a6 100644 --- a/htdocs/core/class/dolgraph.class.php +++ b/htdocs/core/class/dolgraph.class.php @@ -1097,6 +1097,5 @@ class DolGraph } return 0; } - } diff --git a/htdocs/core/class/emailsenderprofile.class.php b/htdocs/core/class/emailsenderprofile.class.php index e0ff56d6736..1ef75596b1f 100644 --- a/htdocs/core/class/emailsenderprofile.class.php +++ b/htdocs/core/class/emailsenderprofile.class.php @@ -423,7 +423,6 @@ class EmailSenderProfile extends CommonObject { $this->initAsSpecimenCommon(); } - } /** diff --git a/htdocs/core/class/events.class.php b/htdocs/core/class/events.class.php index 6a2374a7d3b..b4fa7133bff 100644 --- a/htdocs/core/class/events.class.php +++ b/htdocs/core/class/events.class.php @@ -297,5 +297,4 @@ class Events // extends CommonObject $this->dateevent=time(); $this->description='This is a specimen event'; } - } diff --git a/htdocs/core/class/fiscalyear.class.php b/htdocs/core/class/fiscalyear.class.php index 8e6f389200b..a77b67189c4 100644 --- a/htdocs/core/class/fiscalyear.class.php +++ b/htdocs/core/class/fiscalyear.class.php @@ -335,5 +335,4 @@ class Fiscalyear extends CommonObject dol_print_error($this->db); } } - } diff --git a/htdocs/core/class/genericobject.class.php b/htdocs/core/class/genericobject.class.php index c89b5c31fea..41d57731c34 100644 --- a/htdocs/core/class/genericobject.class.php +++ b/htdocs/core/class/genericobject.class.php @@ -38,6 +38,5 @@ class GenericObject extends CommonObject { $this->db=$db; } - } diff --git a/htdocs/core/class/hookmanager.class.php b/htdocs/core/class/hookmanager.class.php index 9e2bd344171..b078fdc0405 100644 --- a/htdocs/core/class/hookmanager.class.php +++ b/htdocs/core/class/hookmanager.class.php @@ -283,5 +283,4 @@ class HookManager return ($error?-1:$resaction); } - } diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index ee7f81682ac..17ff8fdb5a1 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -7113,6 +7113,5 @@ class Form return $out; } - } diff --git a/htdocs/core/class/html.formactions.class.php b/htdocs/core/class/html.formactions.class.php index a0468da2726..e4702c52c8c 100644 --- a/htdocs/core/class/html.formactions.class.php +++ b/htdocs/core/class/html.formactions.class.php @@ -366,5 +366,4 @@ class FormActions else print $out; return ''; } - } diff --git a/htdocs/core/class/html.formbarcode.class.php b/htdocs/core/class/html.formbarcode.class.php index 34d56cee853..206569c192d 100644 --- a/htdocs/core/class/html.formbarcode.class.php +++ b/htdocs/core/class/html.formbarcode.class.php @@ -186,6 +186,5 @@ class FormBarCode print ''; } } - } diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php index d422fa379c4..8c965207b62 100644 --- a/htdocs/core/class/html.formcompany.class.php +++ b/htdocs/core/class/html.formcompany.class.php @@ -867,6 +867,5 @@ class FormCompany } } } - } diff --git a/htdocs/core/class/html.formcontract.class.php b/htdocs/core/class/html.formcontract.class.php index 0434dc1e0a8..c4710e033cc 100644 --- a/htdocs/core/class/html.formcontract.class.php +++ b/htdocs/core/class/html.formcontract.class.php @@ -187,5 +187,4 @@ class FormContract print ''; print ''; } - } diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 8d550a922b4..bdbc8805218 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -1829,6 +1829,5 @@ class FormFile } return $out; } - } diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index 0a1e3c26f2f..36e13e9a48d 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -1385,7 +1385,6 @@ class FormMail extends Form return $tmparray; } - } diff --git a/htdocs/core/class/html.formmargin.class.php b/htdocs/core/class/html.formmargin.class.php index e891e3dacbe..405e47e19c7 100644 --- a/htdocs/core/class/html.formmargin.class.php +++ b/htdocs/core/class/html.formmargin.class.php @@ -282,6 +282,5 @@ class FormMargin print ''; print ''; } - } diff --git a/htdocs/core/class/html.formorder.class.php b/htdocs/core/class/html.formorder.class.php index 68fa96e03ee..781b3f76e4f 100644 --- a/htdocs/core/class/html.formorder.class.php +++ b/htdocs/core/class/html.formorder.class.php @@ -100,6 +100,5 @@ class FormOrder extends Form return 1; } - } diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index 6982a8a6971..0c11a378a18 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -1255,6 +1255,5 @@ class FormOther dol_print_error($this->db); } } - } diff --git a/htdocs/core/class/html.formprojet.class.php b/htdocs/core/class/html.formprojet.class.php index 7a022c4cf52..700cf3b7135 100644 --- a/htdocs/core/class/html.formprojet.class.php +++ b/htdocs/core/class/html.formprojet.class.php @@ -665,5 +665,4 @@ class FormProjets return -1; } } - } diff --git a/htdocs/core/class/html.formsms.class.php b/htdocs/core/class/html.formsms.class.php index 9db197d41b2..1b7cea185c2 100644 --- a/htdocs/core/class/html.formsms.class.php +++ b/htdocs/core/class/html.formsms.class.php @@ -360,6 +360,5 @@ function limitChars(textarea, limit, infodiv) print "\n"; } - } diff --git a/htdocs/core/class/html.formsocialcontrib.class.php b/htdocs/core/class/html.formsocialcontrib.class.php index 8c940c3898b..fbbf962be77 100644 --- a/htdocs/core/class/html.formsocialcontrib.class.php +++ b/htdocs/core/class/html.formsocialcontrib.class.php @@ -120,6 +120,5 @@ class FormSocialContrib dol_print_error($db,$db->lasterror()); } } - } diff --git a/htdocs/core/class/html.formwebsite.class.php b/htdocs/core/class/html.formwebsite.class.php index 5b883835fd3..e14d8217b55 100644 --- a/htdocs/core/class/html.formwebsite.class.php +++ b/htdocs/core/class/html.formwebsite.class.php @@ -205,5 +205,4 @@ class FormWebsite return $out; } - } diff --git a/htdocs/core/class/infobox.class.php b/htdocs/core/class/infobox.class.php index 4125aa89eb9..1c5c733491c 100644 --- a/htdocs/core/class/infobox.class.php +++ b/htdocs/core/class/infobox.class.php @@ -281,6 +281,5 @@ class InfoBox return -1; } } - } diff --git a/htdocs/core/class/interfaces.class.php b/htdocs/core/class/interfaces.class.php index ceb4d0c657c..b2c80dd94d1 100644 --- a/htdocs/core/class/interfaces.class.php +++ b/htdocs/core/class/interfaces.class.php @@ -368,5 +368,4 @@ class Interfaces } return $triggers; } - } diff --git a/htdocs/core/class/link.class.php b/htdocs/core/class/link.class.php index fd3616a9414..7dc8e810bac 100644 --- a/htdocs/core/class/link.class.php +++ b/htdocs/core/class/link.class.php @@ -386,5 +386,4 @@ class Link extends CommonObject return -1; } } - } diff --git a/htdocs/core/class/menubase.class.php b/htdocs/core/class/menubase.class.php index d1276610830..5078d7759ea 100644 --- a/htdocs/core/class/menubase.class.php +++ b/htdocs/core/class/menubase.class.php @@ -694,5 +694,4 @@ class Menubase } } } - } diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php index f5c0020bac1..8087d316cf4 100644 --- a/htdocs/core/class/notify.class.php +++ b/htdocs/core/class/notify.class.php @@ -729,6 +729,5 @@ class Notify if (! $error) return $num; else return -1 * $error; } - } diff --git a/htdocs/core/class/openid.class.php b/htdocs/core/class/openid.class.php index 7d36df58b81..b03bfdf20ab 100644 --- a/htdocs/core/class/openid.class.php +++ b/htdocs/core/class/openid.class.php @@ -524,5 +524,4 @@ class SimpleOpenID return $server; } } - } diff --git a/htdocs/core/class/rssparser.class.php b/htdocs/core/class/rssparser.class.php index 587575ccd49..f4c555e6951 100644 --- a/htdocs/core/class/rssparser.class.php +++ b/htdocs/core/class/rssparser.class.php @@ -729,7 +729,6 @@ class RssParser } } - } diff --git a/htdocs/core/class/smtps.class.php b/htdocs/core/class/smtps.class.php index ea7d5a769fa..093f6db6889 100644 --- a/htdocs/core/class/smtps.class.php +++ b/htdocs/core/class/smtps.class.php @@ -1841,8 +1841,6 @@ class SMTPs return implode("\n", $_errMsg); } - - } diff --git a/htdocs/core/class/vcard.class.php b/htdocs/core/class/vcard.class.php index 81fcb25e2b4..c3dc5547d88 100644 --- a/htdocs/core/class/vcard.class.php +++ b/htdocs/core/class/vcard.class.php @@ -330,5 +330,4 @@ class vCard { return $this->filename; } - } diff --git a/htdocs/core/class/workboardresponse.class.php b/htdocs/core/class/workboardresponse.class.php index 62d84e11186..35449693599 100644 --- a/htdocs/core/class/workboardresponse.class.php +++ b/htdocs/core/class/workboardresponse.class.php @@ -72,5 +72,4 @@ class WorkboardResponse * @var int */ public $total = 0; - } diff --git a/htdocs/core/db/Database.interface.php b/htdocs/core/db/Database.interface.php index b0ad770532b..4e6362786e3 100644 --- a/htdocs/core/db/Database.interface.php +++ b/htdocs/core/db/Database.interface.php @@ -464,5 +464,4 @@ interface Database * @return boolean true if OK, false if KO */ function select_db($database); - } diff --git a/htdocs/core/db/mssql.class.php b/htdocs/core/db/mssql.class.php index be980c306ec..4560ba1e45a 100644 --- a/htdocs/core/db/mssql.class.php +++ b/htdocs/core/db/mssql.class.php @@ -1176,5 +1176,4 @@ class DoliDBMssql extends DoliDB return $result; } - } diff --git a/htdocs/core/db/sqlite3.class.php b/htdocs/core/db/sqlite3.class.php index a08756f786a..bd5f927105f 100644 --- a/htdocs/core/db/sqlite3.class.php +++ b/htdocs/core/db/sqlite3.class.php @@ -1389,5 +1389,4 @@ class DoliDBSqlite3 extends DoliDB } return floor($days/7+1); } - } diff --git a/htdocs/core/menus/standard/eldy_menu.php b/htdocs/core/menus/standard/eldy_menu.php index dd919fd20a3..fa6e1b3084d 100644 --- a/htdocs/core/menus/standard/eldy_menu.php +++ b/htdocs/core/menus/standard/eldy_menu.php @@ -335,6 +335,5 @@ class MenuManager //print 'xx'.$mode; return 0; } - } diff --git a/htdocs/core/modules/DolibarrModules.class.php b/htdocs/core/modules/DolibarrModules.class.php index c810405d42b..a7f9e9b09b2 100644 --- a/htdocs/core/modules/DolibarrModules.class.php +++ b/htdocs/core/modules/DolibarrModules.class.php @@ -32,7 +32,7 @@ * * Parent class for module descriptor class files */ -class DolibarrModules // Can not be abstract, because we need to instantiate it into unActivateModule to be able to disable a module whose files were removed. +class DolibarrModules // Can not be abstract, because we need to instantiate it into unActivateModule to be able to disable a module whose files were removed. { /** * @var DoliDb Database handler diff --git a/htdocs/core/modules/bank/doc/pdf_ban.modules.php b/htdocs/core/modules/bank/doc/pdf_ban.modules.php index 8b1a9d165ef..3ffbce56575 100644 --- a/htdocs/core/modules/bank/doc/pdf_ban.modules.php +++ b/htdocs/core/modules/bank/doc/pdf_ban.modules.php @@ -383,6 +383,5 @@ class pdf_ban extends ModeleBankAccountDoc $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; //return pdf_pagefoot($pdf,$outputlangs,'BANK_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php b/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php index 5ec25f994df..660c2f80a00 100644 --- a/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php +++ b/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php @@ -608,6 +608,5 @@ class pdf_sepamandate extends ModeleBankAccountDoc $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'PAYMENTORDER_FREE_TEXT',null,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/barcode/doc/phpbarcode.modules.php b/htdocs/core/modules/barcode/doc/phpbarcode.modules.php index 17a98d9cd77..2cca0e8927d 100644 --- a/htdocs/core/modules/barcode/doc/phpbarcode.modules.php +++ b/htdocs/core/modules/barcode/doc/phpbarcode.modules.php @@ -171,5 +171,4 @@ class modPhpbarcode extends ModeleBarCode return $result; } - } diff --git a/htdocs/core/modules/barcode/mod_barcode_product_standard.php b/htdocs/core/modules/barcode/mod_barcode_product_standard.php index f494219c445..c7580715b87 100644 --- a/htdocs/core/modules/barcode/mod_barcode_product_standard.php +++ b/htdocs/core/modules/barcode/mod_barcode_product_standard.php @@ -299,6 +299,5 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode return $result; } - } diff --git a/htdocs/core/modules/barcode/modules_barcode.class.php b/htdocs/core/modules/barcode/modules_barcode.class.php index 279a5f0abf8..44d7eccbb07 100644 --- a/htdocs/core/modules/barcode/modules_barcode.class.php +++ b/htdocs/core/modules/barcode/modules_barcode.class.php @@ -44,7 +44,6 @@ abstract class ModeleBarCode { return true; } - } @@ -177,6 +176,5 @@ abstract class ModeleNumRefBarCode return $s; } - } diff --git a/htdocs/core/modules/cheque/mod_chequereceipt_mint.php b/htdocs/core/modules/cheque/mod_chequereceipt_mint.php index 8906bdcc14f..6b5386c11a2 100644 --- a/htdocs/core/modules/cheque/mod_chequereceipt_mint.php +++ b/htdocs/core/modules/cheque/mod_chequereceipt_mint.php @@ -149,5 +149,4 @@ class mod_chequereceipt_mint extends ModeleNumRefChequeReceipts { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/cheque/mod_chequereceipt_thyme.php b/htdocs/core/modules/cheque/mod_chequereceipt_thyme.php index 69ee2ff2b73..1632aa7c74b 100644 --- a/htdocs/core/modules/cheque/mod_chequereceipt_thyme.php +++ b/htdocs/core/modules/cheque/mod_chequereceipt_thyme.php @@ -135,6 +135,5 @@ class mod_chequereceipt_thyme extends ModeleNumRefChequeReceipts { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php b/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php index 4c8b4ba2dc5..6506a1d6c22 100644 --- a/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php +++ b/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php @@ -494,6 +494,5 @@ class doc_generic_order_odt extends ModelePDFCommandes return -1; } - } diff --git a/htdocs/core/modules/commande/doc/pdf_einstein.modules.php b/htdocs/core/modules/commande/doc/pdf_einstein.modules.php index 224688b9982..0bd94a81a2e 100644 --- a/htdocs/core/modules/commande/doc/pdf_einstein.modules.php +++ b/htdocs/core/modules/commande/doc/pdf_einstein.modules.php @@ -1440,6 +1440,5 @@ class pdf_einstein extends ModelePDFCommandes $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'ORDER_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/commande/doc/pdf_proforma.modules.php b/htdocs/core/modules/commande/doc/pdf_proforma.modules.php index 918b338aa12..97ae9fea845 100644 --- a/htdocs/core/modules/commande/doc/pdf_proforma.modules.php +++ b/htdocs/core/modules/commande/doc/pdf_proforma.modules.php @@ -73,6 +73,5 @@ class pdf_proforma extends pdf_einstein parent::_pagehead($pdf, $object, $showaddress, $outputlangs, $titlekey); } - } diff --git a/htdocs/core/modules/commande/mod_commande_marbre.php b/htdocs/core/modules/commande/mod_commande_marbre.php index 69c25f73d68..b2ca7da5393 100644 --- a/htdocs/core/modules/commande/mod_commande_marbre.php +++ b/htdocs/core/modules/commande/mod_commande_marbre.php @@ -149,5 +149,4 @@ class mod_commande_marbre extends ModeleNumRefCommandes { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/commande/mod_commande_saphir.php b/htdocs/core/modules/commande/mod_commande_saphir.php index 2c8ae2ef3e9..5303028e7f1 100644 --- a/htdocs/core/modules/commande/mod_commande_saphir.php +++ b/htdocs/core/modules/commande/mod_commande_saphir.php @@ -143,6 +143,5 @@ class mod_commande_saphir extends ModeleNumRefCommandes { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/contract/doc/doc_generic_contract_odt.modules.php b/htdocs/core/modules/contract/doc/doc_generic_contract_odt.modules.php index cd96e880d27..7fba0dd5211 100644 --- a/htdocs/core/modules/contract/doc/doc_generic_contract_odt.modules.php +++ b/htdocs/core/modules/contract/doc/doc_generic_contract_odt.modules.php @@ -477,6 +477,5 @@ class doc_generic_contract_odt extends ModelePDFContract return -1; } - } diff --git a/htdocs/core/modules/contract/doc/pdf_strato.modules.php b/htdocs/core/modules/contract/doc/pdf_strato.modules.php index 62fa2c73138..a18782d925e 100644 --- a/htdocs/core/modules/contract/doc/pdf_strato.modules.php +++ b/htdocs/core/modules/contract/doc/pdf_strato.modules.php @@ -719,5 +719,4 @@ class pdf_strato extends ModelePDFContract $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'CONTRACT_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/contract/mod_contract_magre.php b/htdocs/core/modules/contract/mod_contract_magre.php index 54da8fc55c4..6415d6ffd8e 100644 --- a/htdocs/core/modules/contract/mod_contract_magre.php +++ b/htdocs/core/modules/contract/mod_contract_magre.php @@ -128,6 +128,5 @@ class mod_contract_magre extends ModelNumRefContracts { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/contract/mod_contract_serpis.php b/htdocs/core/modules/contract/mod_contract_serpis.php index 1f85e4d57fc..9df92c21a35 100644 --- a/htdocs/core/modules/contract/mod_contract_serpis.php +++ b/htdocs/core/modules/contract/mod_contract_serpis.php @@ -146,5 +146,4 @@ class mod_contract_serpis extends ModelNumRefContracts { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php b/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php index 9c45c135ac3..2fcb8ea3017 100644 --- a/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php +++ b/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php @@ -535,6 +535,5 @@ class doc_generic_shipment_odt extends ModelePdfExpedition return -1; } - } diff --git a/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php b/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php index af534ec1571..9386b3aa33f 100644 --- a/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php +++ b/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php @@ -1097,5 +1097,4 @@ class pdf_rouget extends ModelePdfExpedition $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'SHIPPING_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/expedition/mod_expedition_ribera.php b/htdocs/core/modules/expedition/mod_expedition_ribera.php index c002da1eee2..7a02f130ea6 100644 --- a/htdocs/core/modules/expedition/mod_expedition_ribera.php +++ b/htdocs/core/modules/expedition/mod_expedition_ribera.php @@ -132,6 +132,5 @@ class mod_expedition_ribera extends ModelNumRefExpedition { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/expedition/mod_expedition_safor.php b/htdocs/core/modules/expedition/mod_expedition_safor.php index e9e0adc7e39..23eb97b4783 100644 --- a/htdocs/core/modules/expedition/mod_expedition_safor.php +++ b/htdocs/core/modules/expedition/mod_expedition_safor.php @@ -144,5 +144,4 @@ class mod_expedition_safor extends ModelNumRefExpedition { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/expensereport/doc/pdf_standard.modules.php b/htdocs/core/modules/expensereport/doc/pdf_standard.modules.php index e974f72fabd..d52978a6da3 100644 --- a/htdocs/core/modules/expensereport/doc/pdf_standard.modules.php +++ b/htdocs/core/modules/expensereport/doc/pdf_standard.modules.php @@ -916,5 +916,4 @@ class pdf_standard extends ModeleExpenseReport $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'EXPENSEREPORT_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/expensereport/modules_expensereport.php b/htdocs/core/modules/expensereport/modules_expensereport.php index f60899eee0a..f0e3b6ca6cf 100644 --- a/htdocs/core/modules/expensereport/modules_expensereport.php +++ b/htdocs/core/modules/expensereport/modules_expensereport.php @@ -48,7 +48,6 @@ abstract class ModeleExpenseReport extends CommonDocGenerator return $liste; } - } /** diff --git a/htdocs/core/modules/export/export_csv.modules.php b/htdocs/core/modules/export/export_csv.modules.php index 77f754a504b..3f16b398f75 100644 --- a/htdocs/core/modules/export/export_csv.modules.php +++ b/htdocs/core/modules/export/export_csv.modules.php @@ -344,6 +344,5 @@ class ExportCsv extends ModeleExports return ($addquote?'"':'').$newvalue.($addquote?'"':''); } - } diff --git a/htdocs/core/modules/export/export_excel2007.modules.php b/htdocs/core/modules/export/export_excel2007.modules.php index 5196561f099..578f2323857 100644 --- a/htdocs/core/modules/export/export_excel2007.modules.php +++ b/htdocs/core/modules/export/export_excel2007.modules.php @@ -121,6 +121,5 @@ class ExportExcel2007 extends ExportExcel } return 1; } - } diff --git a/htdocs/core/modules/export/export_tsv.modules.php b/htdocs/core/modules/export/export_tsv.modules.php index 57a074af550..ff5aa403015 100644 --- a/htdocs/core/modules/export/export_tsv.modules.php +++ b/htdocs/core/modules/export/export_tsv.modules.php @@ -295,6 +295,5 @@ class ExportTsv extends ModeleExports return $newvalue; } - } diff --git a/htdocs/core/modules/export/modules_export.php b/htdocs/core/modules/export/modules_export.php index c154420f554..4222a9b2876 100644 --- a/htdocs/core/modules/export/modules_export.php +++ b/htdocs/core/modules/export/modules_export.php @@ -162,7 +162,6 @@ class ModeleExports extends CommonDocGenerator // This class can't be abstrac { return $this->libversion[$key]; } - } diff --git a/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php b/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php index 21c25913543..11019604610 100644 --- a/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php +++ b/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php @@ -502,6 +502,5 @@ class doc_generic_invoice_odt extends ModelePDFFactures return -1; } - } diff --git a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php index 3762cfc2d0a..99368305a11 100644 --- a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php +++ b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php @@ -1840,5 +1840,4 @@ class pdf_crabe extends ModelePDFFactures $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'INVOICE_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/facture/mod_facture_mars.php b/htdocs/core/modules/facture/mod_facture_mars.php index c6bba0a6232..5a2d1281385 100644 --- a/htdocs/core/modules/facture/mod_facture_mars.php +++ b/htdocs/core/modules/facture/mod_facture_mars.php @@ -219,6 +219,5 @@ class mod_facture_mars extends ModeleNumRefFactures { return $this->getNextValue($objsoc,$objforref,$mode); } - } diff --git a/htdocs/core/modules/facture/mod_facture_mercure.php b/htdocs/core/modules/facture/mod_facture_mercure.php index 86e7eb10521..89c526bc334 100644 --- a/htdocs/core/modules/facture/mod_facture_mercure.php +++ b/htdocs/core/modules/facture/mod_facture_mercure.php @@ -175,5 +175,4 @@ class mod_facture_mercure extends ModeleNumRefFactures { return $this->getNextValue($objsoc,$objforref,$mode); } - } diff --git a/htdocs/core/modules/facture/mod_facture_terre.php b/htdocs/core/modules/facture/mod_facture_terre.php index 53ae127b734..524eeebdd5f 100644 --- a/htdocs/core/modules/facture/mod_facture_terre.php +++ b/htdocs/core/modules/facture/mod_facture_terre.php @@ -235,6 +235,5 @@ class mod_facture_terre extends ModeleNumRefFactures { return $this->getNextValue($objsoc,$objforref,$mode); } - } diff --git a/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php b/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php index e542c564fd6..f7c97f0a25d 100644 --- a/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php +++ b/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php @@ -730,5 +730,4 @@ class pdf_soleil extends ModelePDFFicheinter $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'FICHINTER_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/fichinter/mod_arctic.php b/htdocs/core/modules/fichinter/mod_arctic.php index 278e20ae7de..3e6193e0740 100644 --- a/htdocs/core/modules/fichinter/mod_arctic.php +++ b/htdocs/core/modules/fichinter/mod_arctic.php @@ -137,6 +137,5 @@ class mod_arctic extends ModeleNumRefFicheinter { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/fichinter/mod_pacific.php b/htdocs/core/modules/fichinter/mod_pacific.php index 2461d8a074d..1f002e174ce 100644 --- a/htdocs/core/modules/fichinter/mod_pacific.php +++ b/htdocs/core/modules/fichinter/mod_pacific.php @@ -145,6 +145,5 @@ class mod_pacific extends ModeleNumRefFicheinter { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/holiday/mod_holiday_madonna.php b/htdocs/core/modules/holiday/mod_holiday_madonna.php index 9031c31036d..e2cb938df4b 100644 --- a/htdocs/core/modules/holiday/mod_holiday_madonna.php +++ b/htdocs/core/modules/holiday/mod_holiday_madonna.php @@ -147,5 +147,4 @@ class mod_holiday_madonna extends ModelNumRefHolidays { return $this->getNextValue($fuser,$objforref); } - } diff --git a/htdocs/core/modules/import/import_csv.modules.php b/htdocs/core/modules/import/import_csv.modules.php index 5f8776b9cbc..dd9e6622cd8 100644 --- a/htdocs/core/modules/import/import_csv.modules.php +++ b/htdocs/core/modules/import/import_csv.modules.php @@ -758,7 +758,6 @@ class ImportCsv extends ModeleImports return 1; } - } /** diff --git a/htdocs/core/modules/import/import_xlsx.modules.php b/htdocs/core/modules/import/import_xlsx.modules.php index 1c0116d92ad..c95fec3965c 100644 --- a/htdocs/core/modules/import/import_xlsx.modules.php +++ b/htdocs/core/modules/import/import_xlsx.modules.php @@ -782,5 +782,4 @@ class ImportXlsx extends ModeleImports return 1; } - } diff --git a/htdocs/core/modules/import/modules_import.php b/htdocs/core/modules/import/modules_import.php index 7c26fdb68d3..465579bcf7d 100644 --- a/htdocs/core/modules/import/modules_import.php +++ b/htdocs/core/modules/import/modules_import.php @@ -250,6 +250,5 @@ class ModeleImports { return $this->libversion[$key]; } - } diff --git a/htdocs/core/modules/livraison/doc/pdf_typhon.modules.php b/htdocs/core/modules/livraison/doc/pdf_typhon.modules.php index 79cb4c4961c..6dab1808085 100644 --- a/htdocs/core/modules/livraison/doc/pdf_typhon.modules.php +++ b/htdocs/core/modules/livraison/doc/pdf_typhon.modules.php @@ -951,5 +951,4 @@ class pdf_typhon extends ModelePDFDeliveryOrder $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'DELIVERY_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/livraison/mod_livraison_jade.php b/htdocs/core/modules/livraison/mod_livraison_jade.php index 228b73aad8b..1b3e3efa836 100644 --- a/htdocs/core/modules/livraison/mod_livraison_jade.php +++ b/htdocs/core/modules/livraison/mod_livraison_jade.php @@ -153,5 +153,4 @@ class mod_livraison_jade extends ModeleNumRefDeliveryOrder { return $this->getNextValue($objsoc,$object); } - } diff --git a/htdocs/core/modules/livraison/mod_livraison_saphir.php b/htdocs/core/modules/livraison/mod_livraison_saphir.php index 1192656bf8d..880f5eb81e5 100644 --- a/htdocs/core/modules/livraison/mod_livraison_saphir.php +++ b/htdocs/core/modules/livraison/mod_livraison_saphir.php @@ -150,6 +150,5 @@ class mod_livraison_saphir extends ModeleNumRefDeliveryOrder { return $this->getNextValue($objsoc,$object); } - } diff --git a/htdocs/core/modules/mailings/advthirdparties.modules.php b/htdocs/core/modules/mailings/advthirdparties.modules.php index 53ca23a9880..6c8b2ce9a4f 100644 --- a/htdocs/core/modules/mailings/advthirdparties.modules.php +++ b/htdocs/core/modules/mailings/advthirdparties.modules.php @@ -299,5 +299,4 @@ class mailing_advthirdparties extends MailingTargets return $contactstatic->getNomUrl(0, '', 0, '', -1, 1); } } - } diff --git a/htdocs/core/modules/mailings/contacts1.modules.php b/htdocs/core/modules/mailings/contacts1.modules.php index af0d1103e4e..3aa3f4f8386 100644 --- a/htdocs/core/modules/mailings/contacts1.modules.php +++ b/htdocs/core/modules/mailings/contacts1.modules.php @@ -449,6 +449,5 @@ class mailing_contacts1 extends MailingTargets return parent::add_to_target($mailing_id, $cibles); } - } diff --git a/htdocs/core/modules/mailings/example.modules.php b/htdocs/core/modules/mailings/example.modules.php index beeadebeecd..e4afb7e5117 100644 --- a/htdocs/core/modules/mailings/example.modules.php +++ b/htdocs/core/modules/mailings/example.modules.php @@ -146,5 +146,4 @@ class mailing_example extends MailingTargets return ''; } - } diff --git a/htdocs/core/modules/mailings/fraise.modules.php b/htdocs/core/modules/mailings/fraise.modules.php index 9d6e2505f92..8bba238e227 100644 --- a/htdocs/core/modules/mailings/fraise.modules.php +++ b/htdocs/core/modules/mailings/fraise.modules.php @@ -319,5 +319,4 @@ class mailing_fraise extends MailingTargets return parent::add_to_target($mailing_id, $cibles); } - } diff --git a/htdocs/core/modules/mailings/modules_mailings.php b/htdocs/core/modules/mailings/modules_mailings.php index 1035d3bf765..590806a591d 100644 --- a/htdocs/core/modules/mailings/modules_mailings.php +++ b/htdocs/core/modules/mailings/modules_mailings.php @@ -29,7 +29,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php'; /** * Parent class of emailing target selectors modules */ -class MailingTargets // This can't be abstract as it is used for some method +class MailingTargets // This can't be abstract as it is used for some method { /** * @var DoliDB Database handler. @@ -250,6 +250,5 @@ class MailingTargets // This can't be abstract as it is used for some method $this->update_nb($mailing_id); } - } diff --git a/htdocs/core/modules/mailings/pomme.modules.php b/htdocs/core/modules/mailings/pomme.modules.php index 21250bf693d..e1e98323fc9 100644 --- a/htdocs/core/modules/mailings/pomme.modules.php +++ b/htdocs/core/modules/mailings/pomme.modules.php @@ -223,5 +223,4 @@ class mailing_pomme extends MailingTargets return parent::add_to_target($mailing_id, $cibles); } - } diff --git a/htdocs/core/modules/mailings/thirdparties.modules.php b/htdocs/core/modules/mailings/thirdparties.modules.php index 523f26290b7..a91713c25c4 100644 --- a/htdocs/core/modules/mailings/thirdparties.modules.php +++ b/htdocs/core/modules/mailings/thirdparties.modules.php @@ -322,6 +322,5 @@ class mailing_thirdparties extends MailingTargets { return ''.img_object('',"company").''; } - } diff --git a/htdocs/core/modules/mailings/thirdparties_services_expired.modules.php b/htdocs/core/modules/mailings/thirdparties_services_expired.modules.php index 0135227b461..ef057aa1837 100644 --- a/htdocs/core/modules/mailings/thirdparties_services_expired.modules.php +++ b/htdocs/core/modules/mailings/thirdparties_services_expired.modules.php @@ -241,6 +241,5 @@ class mailing_thirdparties_services_expired extends MailingTargets { return ''.img_object('',"company").''; } - } diff --git a/htdocs/core/modules/mailings/xinputfile.modules.php b/htdocs/core/modules/mailings/xinputfile.modules.php index 152322c2899..4c51ad22045 100644 --- a/htdocs/core/modules/mailings/xinputfile.modules.php +++ b/htdocs/core/modules/mailings/xinputfile.modules.php @@ -220,6 +220,5 @@ class mailing_xinputfile extends MailingTargets return parent::add_to_target($mailing_id, $cibles); } - } diff --git a/htdocs/core/modules/mailings/xinputuser.modules.php b/htdocs/core/modules/mailings/xinputuser.modules.php index f733f6de134..24ae911a19c 100644 --- a/htdocs/core/modules/mailings/xinputuser.modules.php +++ b/htdocs/core/modules/mailings/xinputuser.modules.php @@ -158,6 +158,5 @@ class mailing_xinputuser extends MailingTargets return -1; } } - } diff --git a/htdocs/core/modules/member/doc/pdf_standard.class.php b/htdocs/core/modules/member/doc/pdf_standard.class.php index 6a723ce0553..ddabe9846cc 100644 --- a/htdocs/core/modules/member/doc/pdf_standard.class.php +++ b/htdocs/core/modules/member/doc/pdf_standard.class.php @@ -441,5 +441,4 @@ class pdf_standard extends CommonStickerGenerator return 1; } - } diff --git a/htdocs/core/modules/modAgenda.class.php b/htdocs/core/modules/modAgenda.class.php index 405e60c0190..525c27488a7 100644 --- a/htdocs/core/modules/modAgenda.class.php +++ b/htdocs/core/modules/modAgenda.class.php @@ -420,5 +420,4 @@ class modAgenda extends DolibarrModules 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'; } - } diff --git a/htdocs/core/modules/modAsset.class.php b/htdocs/core/modules/modAsset.class.php index d6a50ab9b07..ada71ef0aaf 100644 --- a/htdocs/core/modules/modAsset.class.php +++ b/htdocs/core/modules/modAsset.class.php @@ -335,5 +335,4 @@ class modAsset extends DolibarrModules return $this->_init($sql,$options); } - } diff --git a/htdocs/core/modules/modDav.class.php b/htdocs/core/modules/modDav.class.php index f6c34f030a0..30636e23365 100644 --- a/htdocs/core/modules/modDav.class.php +++ b/htdocs/core/modules/modDav.class.php @@ -324,5 +324,4 @@ class modDav extends DolibarrModules return $this->_remove($sql, $options); } - } diff --git a/htdocs/core/modules/modExternalRss.class.php b/htdocs/core/modules/modExternalRss.class.php index cf02888b9d2..8d1bf055673 100644 --- a/htdocs/core/modules/modExternalRss.class.php +++ b/htdocs/core/modules/modExternalRss.class.php @@ -135,5 +135,4 @@ class modExternalRss extends DolibarrModules return $this->_remove($sql,$options); } - } diff --git a/htdocs/core/modules/modReceiptPrinter.class.php b/htdocs/core/modules/modReceiptPrinter.class.php index 1622b2a8766..df151e63ad3 100644 --- a/htdocs/core/modules/modReceiptPrinter.class.php +++ b/htdocs/core/modules/modReceiptPrinter.class.php @@ -141,5 +141,4 @@ class modReceiptPrinter extends DolibarrModules ); return $this->_init($sql,$options); } - } diff --git a/htdocs/core/modules/modSupplierProposal.class.php b/htdocs/core/modules/modSupplierProposal.class.php index bb3cda6a837..ca8f5960f03 100644 --- a/htdocs/core/modules/modSupplierProposal.class.php +++ b/htdocs/core/modules/modSupplierProposal.class.php @@ -257,5 +257,4 @@ class modSupplierProposal extends DolibarrModules return $this->_remove($sql, $options); } - } \ No newline at end of file diff --git a/htdocs/core/modules/modTicket.class.php b/htdocs/core/modules/modTicket.class.php index bc871d9c0e0..e567ffc8367 100644 --- a/htdocs/core/modules/modTicket.class.php +++ b/htdocs/core/modules/modTicket.class.php @@ -305,5 +305,4 @@ class modTicket extends DolibarrModules return $this->_init($sql, $options); } - } diff --git a/htdocs/core/modules/payment/mod_payment_ant.php b/htdocs/core/modules/payment/mod_payment_ant.php index a09ad2355e4..7fd4e06bd46 100644 --- a/htdocs/core/modules/payment/mod_payment_ant.php +++ b/htdocs/core/modules/payment/mod_payment_ant.php @@ -135,6 +135,5 @@ class mod_payment_ant extends ModeleNumRefPayments { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/payment/mod_payment_cicada.php b/htdocs/core/modules/payment/mod_payment_cicada.php index 5111d0fc9be..b103a3af50d 100644 --- a/htdocs/core/modules/payment/mod_payment_cicada.php +++ b/htdocs/core/modules/payment/mod_payment_cicada.php @@ -149,5 +149,4 @@ class mod_payment_cicada extends ModeleNumRefPayments { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/printing/modules_printing.php b/htdocs/core/modules/printing/modules_printing.php index 8205dc5a705..7a58d6af137 100644 --- a/htdocs/core/modules/printing/modules_printing.php +++ b/htdocs/core/modules/printing/modules_printing.php @@ -88,6 +88,5 @@ class PrintingDriver if ($langs->trans($transstring) != $transstring) return $langs->trans($transstring); else return $this->desc; } - } diff --git a/htdocs/core/modules/printing/printgcp.modules.php b/htdocs/core/modules/printing/printgcp.modules.php index b85e4823bba..c7e3bbb33b3 100644 --- a/htdocs/core/modules/printing/printgcp.modules.php +++ b/htdocs/core/modules/printing/printgcp.modules.php @@ -512,5 +512,4 @@ class printing_printgcp extends PrintingDriver return $error; } - } diff --git a/htdocs/core/modules/printing/printipp.modules.php b/htdocs/core/modules/printing/printipp.modules.php index e51aa4e5c63..e4402bcd891 100644 --- a/htdocs/core/modules/printing/printipp.modules.php +++ b/htdocs/core/modules/printing/printipp.modules.php @@ -314,5 +314,4 @@ class printing_printipp extends PrintingDriver $this->resprint = $html; return $error; } - } diff --git a/htdocs/core/modules/product/doc/doc_generic_product_odt.modules.php b/htdocs/core/modules/product/doc/doc_generic_product_odt.modules.php index c447639cfe1..5d67cca2513 100644 --- a/htdocs/core/modules/product/doc/doc_generic_product_odt.modules.php +++ b/htdocs/core/modules/product/doc/doc_generic_product_odt.modules.php @@ -499,6 +499,5 @@ class doc_generic_product_odt extends ModelePDFProduct return -1; } - } diff --git a/htdocs/core/modules/product/doc/pdf_standard.modules.php b/htdocs/core/modules/product/doc/pdf_standard.modules.php index 7e53bab7133..7e27a0311b6 100644 --- a/htdocs/core/modules/product/doc/pdf_standard.modules.php +++ b/htdocs/core/modules/product/doc/pdf_standard.modules.php @@ -834,6 +834,5 @@ class pdf_standard extends ModelePDFProduct $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'PRODUCT_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/product/mod_codeproduct_elephant.php b/htdocs/core/modules/product/mod_codeproduct_elephant.php index ec31adfb609..2adcdad19fc 100644 --- a/htdocs/core/modules/product/mod_codeproduct_elephant.php +++ b/htdocs/core/modules/product/mod_codeproduct_elephant.php @@ -304,6 +304,5 @@ class mod_codeproduct_elephant extends ModeleProductCode return -2; } } - } diff --git a/htdocs/core/modules/product/modules_product.class.php b/htdocs/core/modules/product/modules_product.class.php index 3b0324a8460..c467877b900 100644 --- a/htdocs/core/modules/product/modules_product.class.php +++ b/htdocs/core/modules/product/modules_product.class.php @@ -246,6 +246,5 @@ abstract class ModeleProductCode { return 0; } - } diff --git a/htdocs/core/modules/project/doc/doc_generic_project_odt.modules.php b/htdocs/core/modules/project/doc/doc_generic_project_odt.modules.php index ce2d0fec7d3..b30b8af4a7c 100644 --- a/htdocs/core/modules/project/doc/doc_generic_project_odt.modules.php +++ b/htdocs/core/modules/project/doc/doc_generic_project_odt.modules.php @@ -1181,5 +1181,4 @@ class doc_generic_project_odt extends ModelePDFProjects return -1; } - } diff --git a/htdocs/core/modules/project/doc/pdf_baleine.modules.php b/htdocs/core/modules/project/doc/pdf_baleine.modules.php index 44683111e5a..826afc67c4d 100644 --- a/htdocs/core/modules/project/doc/pdf_baleine.modules.php +++ b/htdocs/core/modules/project/doc/pdf_baleine.modules.php @@ -671,5 +671,4 @@ class pdf_baleine extends ModelePDFProjects $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'PROJECT_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/project/doc/pdf_beluga.modules.php b/htdocs/core/modules/project/doc/pdf_beluga.modules.php index 330aefd5c67..1d70f8b4f4f 100644 --- a/htdocs/core/modules/project/doc/pdf_beluga.modules.php +++ b/htdocs/core/modules/project/doc/pdf_beluga.modules.php @@ -794,5 +794,4 @@ class pdf_beluga extends ModelePDFProjects $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'PROJECT_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/project/doc/pdf_timespent.modules.php b/htdocs/core/modules/project/doc/pdf_timespent.modules.php index a03b1ee8a57..512ca470cf0 100644 --- a/htdocs/core/modules/project/doc/pdf_timespent.modules.php +++ b/htdocs/core/modules/project/doc/pdf_timespent.modules.php @@ -599,6 +599,5 @@ class pdf_timespent extends ModelePDFProjects $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'PROJECT_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php b/htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php index 5f7ff754a65..f4a7b0b674e 100644 --- a/htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php +++ b/htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php @@ -843,5 +843,4 @@ class doc_generic_task_odt extends ModelePDFTask return -1; } - } diff --git a/htdocs/core/modules/propale/doc/doc_generic_proposal_odt.modules.php b/htdocs/core/modules/propale/doc/doc_generic_proposal_odt.modules.php index 24477a67cc5..d7b79f8a42a 100644 --- a/htdocs/core/modules/propale/doc/doc_generic_proposal_odt.modules.php +++ b/htdocs/core/modules/propale/doc/doc_generic_proposal_odt.modules.php @@ -523,6 +523,5 @@ class doc_generic_proposal_odt extends ModelePDFPropales return -1; } - } diff --git a/htdocs/core/modules/propale/mod_propale_marbre.php b/htdocs/core/modules/propale/mod_propale_marbre.php index cac76d47b5a..fe63b28f843 100644 --- a/htdocs/core/modules/propale/mod_propale_marbre.php +++ b/htdocs/core/modules/propale/mod_propale_marbre.php @@ -155,5 +155,4 @@ class mod_propale_marbre extends ModeleNumRefPropales { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/propale/mod_propale_saphir.php b/htdocs/core/modules/propale/mod_propale_saphir.php index 54d894c20b5..52dba1beac5 100644 --- a/htdocs/core/modules/propale/mod_propale_saphir.php +++ b/htdocs/core/modules/propale/mod_propale_saphir.php @@ -139,5 +139,4 @@ class mod_propale_saphir extends ModeleNumRefPropales return $numFinal; } - } diff --git a/htdocs/core/modules/security/generate/modGeneratePassNone.class.php b/htdocs/core/modules/security/generate/modGeneratePassNone.class.php index 384b956e85d..df3071f7b26 100644 --- a/htdocs/core/modules/security/generate/modGeneratePassNone.class.php +++ b/htdocs/core/modules/security/generate/modGeneratePassNone.class.php @@ -108,6 +108,5 @@ class modGeneratePassNone extends ModeleGenPassword { return 1; } - } diff --git a/htdocs/core/modules/security/generate/modules_genpassword.php b/htdocs/core/modules/security/generate/modules_genpassword.php index 60378cf03a4..e1f73b134be 100644 --- a/htdocs/core/modules/security/generate/modules_genpassword.php +++ b/htdocs/core/modules/security/generate/modules_genpassword.php @@ -89,6 +89,5 @@ abstract class ModeleGenPassword { return 1; } - } diff --git a/htdocs/core/modules/societe/doc/doc_generic_odt.modules.php b/htdocs/core/modules/societe/doc/doc_generic_odt.modules.php index 6aa4267d827..c7af58c4f89 100644 --- a/htdocs/core/modules/societe/doc/doc_generic_odt.modules.php +++ b/htdocs/core/modules/societe/doc/doc_generic_odt.modules.php @@ -428,6 +428,5 @@ class doc_generic_odt extends ModeleThirdPartyDoc $this->error='UnknownError'; return -1; } - } diff --git a/htdocs/core/modules/societe/mod_codeclient_elephant.php b/htdocs/core/modules/societe/mod_codeclient_elephant.php index c9cc44c8479..a26b146db0d 100644 --- a/htdocs/core/modules/societe/mod_codeclient_elephant.php +++ b/htdocs/core/modules/societe/mod_codeclient_elephant.php @@ -324,6 +324,5 @@ class mod_codeclient_elephant extends ModeleThirdPartyCode return -2; } } - } diff --git a/htdocs/core/modules/societe/mod_codeclient_monkey.php b/htdocs/core/modules/societe/mod_codeclient_monkey.php index f4d9e5b4b33..63e9ed0f7d6 100644 --- a/htdocs/core/modules/societe/mod_codeclient_monkey.php +++ b/htdocs/core/modules/societe/mod_codeclient_monkey.php @@ -269,6 +269,5 @@ class mod_codeclient_monkey extends ModeleThirdPartyCode } return $res; } - } diff --git a/htdocs/core/modules/societe/modules_societe.class.php b/htdocs/core/modules/societe/modules_societe.class.php index c5a1901635b..8ca7173cc6e 100644 --- a/htdocs/core/modules/societe/modules_societe.class.php +++ b/htdocs/core/modules/societe/modules_societe.class.php @@ -57,7 +57,6 @@ abstract class ModeleThirdPartyDoc extends CommonDocGenerator return $liste; } - } /** @@ -251,7 +250,6 @@ abstract class ModeleThirdPartyCode { return 0; } - } diff --git a/htdocs/core/modules/stock/doc/doc_generic_stock_odt.modules.php b/htdocs/core/modules/stock/doc/doc_generic_stock_odt.modules.php index 4b4a902cb96..6c48747f624 100644 --- a/htdocs/core/modules/stock/doc/doc_generic_stock_odt.modules.php +++ b/htdocs/core/modules/stock/doc/doc_generic_stock_odt.modules.php @@ -499,6 +499,5 @@ class doc_generic_stock_odt extends ModelePDFStock return -1; } - } diff --git a/htdocs/core/modules/stock/doc/pdf_standard.modules.php b/htdocs/core/modules/stock/doc/pdf_standard.modules.php index 9cc092875bf..9b3767eff03 100644 --- a/htdocs/core/modules/stock/doc/pdf_standard.modules.php +++ b/htdocs/core/modules/stock/doc/pdf_standard.modules.php @@ -1144,5 +1144,4 @@ class pdf_standard extends ModelePDFStock $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'PRODUCT_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/stock/doc/pdf_stdmovement.modules.php b/htdocs/core/modules/stock/doc/pdf_stdmovement.modules.php index 3413a49549a..65a174f3d31 100644 --- a/htdocs/core/modules/stock/doc/pdf_stdmovement.modules.php +++ b/htdocs/core/modules/stock/doc/pdf_stdmovement.modules.php @@ -1146,6 +1146,5 @@ class pdf_stdmovement extends ModelePDFMovement $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'PRODUCT_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/supplier_invoice/modules_facturefournisseur.php b/htdocs/core/modules/supplier_invoice/modules_facturefournisseur.php index edc3f3c7428..08ccd7f88e8 100644 --- a/htdocs/core/modules/supplier_invoice/modules_facturefournisseur.php +++ b/htdocs/core/modules/supplier_invoice/modules_facturefournisseur.php @@ -59,7 +59,6 @@ abstract class ModelePDFSuppliersInvoices extends CommonDocGenerator return $liste; } - } /** diff --git a/htdocs/core/modules/supplier_invoice/pdf/pdf_canelle.modules.php b/htdocs/core/modules/supplier_invoice/pdf/pdf_canelle.modules.php index 158aecb8c49..ea51fb7c4f4 100644 --- a/htdocs/core/modules/supplier_invoice/pdf/pdf_canelle.modules.php +++ b/htdocs/core/modules/supplier_invoice/pdf/pdf_canelle.modules.php @@ -1245,5 +1245,4 @@ class pdf_canelle extends ModelePDFSuppliersInvoices $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'SUPPLIER_INVOICE_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/supplier_order/modules_commandefournisseur.php b/htdocs/core/modules/supplier_order/modules_commandefournisseur.php index d20229fd650..c1ab8c8a64b 100644 --- a/htdocs/core/modules/supplier_order/modules_commandefournisseur.php +++ b/htdocs/core/modules/supplier_order/modules_commandefournisseur.php @@ -62,7 +62,6 @@ abstract class ModelePDFSuppliersOrders extends CommonDocGenerator return $liste; } - } diff --git a/htdocs/core/modules/supplier_order/pdf/pdf_muscadet.modules.php b/htdocs/core/modules/supplier_order/pdf/pdf_muscadet.modules.php index 0b4e9a89dff..a0c49edd826 100644 --- a/htdocs/core/modules/supplier_order/pdf/pdf_muscadet.modules.php +++ b/htdocs/core/modules/supplier_order/pdf/pdf_muscadet.modules.php @@ -1370,6 +1370,5 @@ class pdf_muscadet extends ModelePDFSuppliersOrders $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'SUPPLIER_ORDER_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php b/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php index fcbb7094c3a..a7124de681b 100644 --- a/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php +++ b/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php @@ -810,5 +810,4 @@ class pdf_standard extends ModelePDFSuppliersPayments $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'SUPPLIER_INVOICE_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/supplier_payment/mod_supplier_payment_brodator.php b/htdocs/core/modules/supplier_payment/mod_supplier_payment_brodator.php index 97c7b077b22..b73883f67cc 100644 --- a/htdocs/core/modules/supplier_payment/mod_supplier_payment_brodator.php +++ b/htdocs/core/modules/supplier_payment/mod_supplier_payment_brodator.php @@ -135,6 +135,5 @@ class mod_supplier_payment_brodator extends ModeleNumRefSupplierPayments { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/supplier_payment/mod_supplier_payment_bronan.php b/htdocs/core/modules/supplier_payment/mod_supplier_payment_bronan.php index 94521f99c5e..46298845396 100644 --- a/htdocs/core/modules/supplier_payment/mod_supplier_payment_bronan.php +++ b/htdocs/core/modules/supplier_payment/mod_supplier_payment_bronan.php @@ -149,5 +149,4 @@ class mod_supplier_payment_bronan extends ModeleNumRefSupplierPayments { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/supplier_payment/modules_supplier_payment.php b/htdocs/core/modules/supplier_payment/modules_supplier_payment.php index 7a6e26e770b..d3e43431007 100644 --- a/htdocs/core/modules/supplier_payment/modules_supplier_payment.php +++ b/htdocs/core/modules/supplier_payment/modules_supplier_payment.php @@ -47,7 +47,6 @@ abstract class ModelePDFSuppliersPayments extends CommonDocGenerator return $liste; } - } /** diff --git a/htdocs/core/modules/supplier_proposal/doc/doc_generic_supplier_proposal_odt.modules.php b/htdocs/core/modules/supplier_proposal/doc/doc_generic_supplier_proposal_odt.modules.php index a8497416501..6f837ee0778 100644 --- a/htdocs/core/modules/supplier_proposal/doc/doc_generic_supplier_proposal_odt.modules.php +++ b/htdocs/core/modules/supplier_proposal/doc/doc_generic_supplier_proposal_odt.modules.php @@ -514,6 +514,5 @@ class doc_generic_supplier_proposal_odt extends ModelePDFSupplierProposal return -1; } - } diff --git a/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php b/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php index 4a594e71191..e8072558ea1 100644 --- a/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php +++ b/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php @@ -1493,5 +1493,4 @@ class pdf_aurore extends ModelePDFSupplierProposal $showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; return pdf_pagefoot($pdf,$outputlangs,'SUPPLIER_PROPOSAL_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - } diff --git a/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_marbre.php b/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_marbre.php index 372b3189292..b821805f1f9 100644 --- a/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_marbre.php +++ b/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_marbre.php @@ -152,5 +152,4 @@ class mod_supplier_proposal_marbre extends ModeleNumRefSupplierProposal { return $this->getNextValue($objsoc,$objforref); } - } diff --git a/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_saphir.php b/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_saphir.php index 8781628917f..1a5995b8fc9 100644 --- a/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_saphir.php +++ b/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_saphir.php @@ -127,5 +127,4 @@ class mod_supplier_proposal_saphir extends ModeleNumRefSupplierProposal return $numFinal; } - } diff --git a/htdocs/core/modules/ticket/mod_ticket_simple.php b/htdocs/core/modules/ticket/mod_ticket_simple.php index b70b9babd05..aa8b4c4e3f5 100644 --- a/htdocs/core/modules/ticket/mod_ticket_simple.php +++ b/htdocs/core/modules/ticket/mod_ticket_simple.php @@ -140,5 +140,4 @@ class mod_ticket_simple extends ModeleNumRefTicket dol_syslog("mod_ticket_simple::getNextValue return " . $this->prefix . $yymm . "-" . $num); return $this->prefix . $yymm . "-" . $num; } - } diff --git a/htdocs/core/modules/ticket/mod_ticket_universal.php b/htdocs/core/modules/ticket/mod_ticket_universal.php index 2d521f18a5b..3371a071c8a 100644 --- a/htdocs/core/modules/ticket/mod_ticket_universal.php +++ b/htdocs/core/modules/ticket/mod_ticket_universal.php @@ -121,5 +121,4 @@ class mod_ticket_universal extends ModeleNumRefTicket return $numFinal; } - } diff --git a/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php b/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php index 9e05292fb5a..5af00f7790a 100644 --- a/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php +++ b/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php @@ -432,5 +432,4 @@ class doc_generic_user_odt extends ModelePDFUser } return $array_other; } - } diff --git a/htdocs/core/modules/usergroup/doc/doc_generic_usergroup_odt.modules.php b/htdocs/core/modules/usergroup/doc/doc_generic_usergroup_odt.modules.php index 443981907e0..cc789d29d00 100644 --- a/htdocs/core/modules/usergroup/doc/doc_generic_usergroup_odt.modules.php +++ b/htdocs/core/modules/usergroup/doc/doc_generic_usergroup_odt.modules.php @@ -510,6 +510,5 @@ class doc_generic_usergroup_odt extends ModelePDFUserGroup return -1; } - } diff --git a/htdocs/core/triggers/dolibarrtriggers.class.php b/htdocs/core/triggers/dolibarrtriggers.class.php index f47daa0d419..a66eb12c78e 100644 --- a/htdocs/core/triggers/dolibarrtriggers.class.php +++ b/htdocs/core/triggers/dolibarrtriggers.class.php @@ -146,5 +146,4 @@ abstract class DolibarrTriggers * @return int <0 if KO, 0 if no triggered ran, >0 if OK */ abstract function runTrigger($action, $object, User $user, Translate $langs, Conf $conf); - } diff --git a/htdocs/core/triggers/interface_20_all_Logevents.class.php b/htdocs/core/triggers/interface_20_all_Logevents.class.php index c2f15bd336d..5bddfe2fd43 100644 --- a/htdocs/core/triggers/interface_20_all_Logevents.class.php +++ b/htdocs/core/triggers/interface_20_all_Logevents.class.php @@ -202,5 +202,4 @@ class InterfaceLogevents extends DolibarrTriggers return -1; } } - } diff --git a/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php b/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php index 94aaaeaa542..4bd95caeb58 100644 --- a/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php +++ b/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php @@ -309,5 +309,4 @@ class InterfaceWorkflowManager extends DolibarrTriggers return 0; } - } diff --git a/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php b/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php index 481df585f3a..0c509a1d5b3 100644 --- a/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php +++ b/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php @@ -927,5 +927,4 @@ class InterfaceActionsAuto extends DolibarrTriggers return -1; } } - } diff --git a/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php b/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php index 2750834bac6..a4ac9361a29 100644 --- a/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php +++ b/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php @@ -133,5 +133,4 @@ class InterfaceActionsBlockedLog extends DolibarrTriggers return 1; } } - } diff --git a/htdocs/core/triggers/interface_50_modLdap_Ldapsynchro.class.php b/htdocs/core/triggers/interface_50_modLdap_Ldapsynchro.class.php index 7677c1743a8..9ed11f41b97 100644 --- a/htdocs/core/triggers/interface_50_modLdap_Ldapsynchro.class.php +++ b/htdocs/core/triggers/interface_50_modLdap_Ldapsynchro.class.php @@ -799,5 +799,4 @@ class InterfaceLdapsynchro extends DolibarrTriggers return $result; } - } diff --git a/htdocs/core/triggers/interface_50_modMailmanspip_Mailmanspipsynchro.class.php b/htdocs/core/triggers/interface_50_modMailmanspip_Mailmanspipsynchro.class.php index c5f704fdcb1..ea3ae2c67aa 100644 --- a/htdocs/core/triggers/interface_50_modMailmanspip_Mailmanspipsynchro.class.php +++ b/htdocs/core/triggers/interface_50_modMailmanspip_Mailmanspipsynchro.class.php @@ -148,5 +148,4 @@ class InterfaceMailmanSpipsynchro extends DolibarrTriggers return 0; } - } diff --git a/htdocs/core/triggers/interface_50_modNotification_Notification.class.php b/htdocs/core/triggers/interface_50_modNotification_Notification.class.php index 8698b08a5c3..8b4351499ce 100644 --- a/htdocs/core/triggers/interface_50_modNotification_Notification.class.php +++ b/htdocs/core/triggers/interface_50_modNotification_Notification.class.php @@ -131,5 +131,4 @@ class InterfaceNotification extends DolibarrTriggers return $ret; } - } diff --git a/htdocs/dav/dav.class.php b/htdocs/dav/dav.class.php index 7d6ea446493..3a7d4b84801 100644 --- a/htdocs/dav/dav.class.php +++ b/htdocs/dav/dav.class.php @@ -294,5 +294,4 @@ class CdavLib } return $calevents; } - } diff --git a/htdocs/don/class/don.class.php b/htdocs/don/class/don.class.php index 1c22b27bfc4..de24f60a9c0 100644 --- a/htdocs/don/class/don.class.php +++ b/htdocs/don/class/don.class.php @@ -1045,5 +1045,4 @@ class Don extends CommonObject return 0; } } - } diff --git a/htdocs/ecm/class/ecmdirectory.class.php b/htdocs/ecm/class/ecmdirectory.class.php index 93499706614..26b0f7cb7e1 100644 --- a/htdocs/ecm/class/ecmdirectory.class.php +++ b/htdocs/ecm/class/ecmdirectory.class.php @@ -787,6 +787,4 @@ class EcmDirectory // extends CommonObject } return $result; } - - } diff --git a/htdocs/expedition/class/expeditionbatch.class.php b/htdocs/expedition/class/expeditionbatch.class.php index 18a5fdbec6b..3fc821c7b85 100644 --- a/htdocs/expedition/class/expeditionbatch.class.php +++ b/htdocs/expedition/class/expeditionbatch.class.php @@ -236,5 +236,4 @@ class ExpeditionLineBatch extends CommonObject return -1; } } - } diff --git a/htdocs/expensereport/class/expensereport.class.php b/htdocs/expensereport/class/expensereport.class.php index 0fb1ef518fb..9f54687dc8c 100644 --- a/htdocs/expensereport/class/expensereport.class.php +++ b/htdocs/expensereport/class/expensereport.class.php @@ -2374,7 +2374,6 @@ class ExpenseReport extends CommonObject } return 0; } - } diff --git a/htdocs/exports/class/export.class.php b/htdocs/exports/class/export.class.php index 4725ea758d5..5b39e8cf292 100644 --- a/htdocs/exports/class/export.class.php +++ b/htdocs/exports/class/export.class.php @@ -874,6 +874,5 @@ class Export dol_print_error($this->db); } } - } diff --git a/htdocs/fichinter/class/api_interventions.class.php b/htdocs/fichinter/class/api_interventions.class.php index 7a258c8c864..3f3315b6028 100644 --- a/htdocs/fichinter/class/api_interventions.class.php +++ b/htdocs/fichinter/class/api_interventions.class.php @@ -455,6 +455,4 @@ class Interventions extends DolibarrApi } return $fichinter; } - - } diff --git a/htdocs/fichinter/class/fichinter.class.php b/htdocs/fichinter/class/fichinter.class.php index f34bb56c540..78d67d97f11 100644 --- a/htdocs/fichinter/class/fichinter.class.php +++ b/htdocs/fichinter/class/fichinter.class.php @@ -1661,6 +1661,5 @@ class FichinterLigne extends CommonObjectLine return -2; } } - } diff --git a/htdocs/fichinter/class/fichinterstats.class.php b/htdocs/fichinter/class/fichinterstats.class.php index aa6d85d0c3f..40a1b7eef2f 100644 --- a/htdocs/fichinter/class/fichinterstats.class.php +++ b/htdocs/fichinter/class/fichinterstats.class.php @@ -210,6 +210,5 @@ class FichinterStats extends Stats return $this->_getAllByProduct($sql); } - } diff --git a/htdocs/fourn/class/fournisseur.class.php b/htdocs/fourn/class/fournisseur.class.php index a177fdd26a1..af30b6e2da2 100644 --- a/htdocs/fourn/class/fournisseur.class.php +++ b/htdocs/fourn/class/fournisseur.class.php @@ -206,6 +206,5 @@ class Fournisseur extends Societe } return $arr; } - } diff --git a/htdocs/fourn/class/fournisseur.commande.dispatch.class.php b/htdocs/fourn/class/fournisseur.commande.dispatch.class.php index f81507141fb..9802e50d522 100644 --- a/htdocs/fourn/class/fournisseur.commande.dispatch.class.php +++ b/htdocs/fourn/class/fournisseur.commande.dispatch.class.php @@ -644,5 +644,4 @@ class CommandeFournisseurDispatch extends CommonObject return - 1; } } - } diff --git a/htdocs/fourn/class/fournisseur.product.class.php b/htdocs/fourn/class/fournisseur.product.class.php index 098fba679f3..55e5feed730 100644 --- a/htdocs/fourn/class/fournisseur.product.class.php +++ b/htdocs/fourn/class/fournisseur.product.class.php @@ -864,5 +864,4 @@ class ProductFournisseur extends Product return CommonObject::commonReplaceThirdparty($db, $origin_id, $dest_id, $tables); } - } diff --git a/htdocs/fourn/class/paiementfourn.class.php b/htdocs/fourn/class/paiementfourn.class.php index 55c6a00d251..c0b0575e054 100644 --- a/htdocs/fourn/class/paiementfourn.class.php +++ b/htdocs/fourn/class/paiementfourn.class.php @@ -794,5 +794,4 @@ class PaiementFourn extends Paiement return parent::fetch_thirdparty($force_thirdparty_id); } - } diff --git a/htdocs/holiday/class/holiday.class.php b/htdocs/holiday/class/holiday.class.php index 0f86476be04..2633969cfd3 100644 --- a/htdocs/holiday/class/holiday.class.php +++ b/htdocs/holiday/class/holiday.class.php @@ -1878,5 +1878,4 @@ class Holiday extends CommonObject $this->halfday=0; $this->fk_type=1; } - } diff --git a/htdocs/imports/class/import.class.php b/htdocs/imports/class/import.class.php index ae7cc240695..fdb0bc9bc45 100644 --- a/htdocs/imports/class/import.class.php +++ b/htdocs/imports/class/import.class.php @@ -356,5 +356,4 @@ class Import return 1; } } - } diff --git a/htdocs/livraison/class/livraison.class.php b/htdocs/livraison/class/livraison.class.php index 763b28fb445..1d8b7fe761b 100644 --- a/htdocs/livraison/class/livraison.class.php +++ b/htdocs/livraison/class/livraison.class.php @@ -1056,7 +1056,6 @@ class Livraison extends CommonObject return CommonObject::commonReplaceThirdparty($db, $origin_id, $dest_id, $tables); } - } @@ -1118,5 +1117,4 @@ class LivraisonLigne extends CommonObjectLine { $this->db=$db; } - } diff --git a/htdocs/mailmanspip/class/mailmanspip.class.php b/htdocs/mailmanspip/class/mailmanspip.class.php index 683e8c25414..99a834069a4 100644 --- a/htdocs/mailmanspip/class/mailmanspip.class.php +++ b/htdocs/mailmanspip/class/mailmanspip.class.php @@ -443,5 +443,4 @@ class MailmanSpip } } } - } diff --git a/htdocs/modulebuilder/template/class/actions_mymodule.class.php b/htdocs/modulebuilder/template/class/actions_mymodule.class.php index 789e4e469f9..45008aa76f3 100644 --- a/htdocs/modulebuilder/template/class/actions_mymodule.class.php +++ b/htdocs/modulebuilder/template/class/actions_mymodule.class.php @@ -240,5 +240,4 @@ class ActionsMyModule } /* Add here any other hooked methods... */ - } diff --git a/htdocs/modulebuilder/template/core/modules/mailings/mailinglist_mymodule_myobject.modules.php b/htdocs/modulebuilder/template/core/modules/mailings/mailinglist_mymodule_myobject.modules.php index 533f07b3ba2..563192218b8 100644 --- a/htdocs/modulebuilder/template/core/modules/mailings/mailinglist_mymodule_myobject.modules.php +++ b/htdocs/modulebuilder/template/core/modules/mailings/mailinglist_mymodule_myobject.modules.php @@ -199,6 +199,5 @@ class mailing_mailinglist_mymodule_myobject extends MailingTargets if ($a < 0) return -1; return $a; } - } diff --git a/htdocs/modulebuilder/template/core/modules/modMyModule.class.php b/htdocs/modulebuilder/template/core/modules/modMyModule.class.php index 8169cd9961f..5017e571ec1 100644 --- a/htdocs/modulebuilder/template/core/modules/modMyModule.class.php +++ b/htdocs/modulebuilder/template/core/modules/modMyModule.class.php @@ -350,5 +350,4 @@ class modMyModule extends DolibarrModules return $this->_remove($sql, $options); } - } diff --git a/htdocs/multicurrency/class/multicurrency.class.php b/htdocs/multicurrency/class/multicurrency.class.php index ea1f6b56dd5..2e3723ab667 100644 --- a/htdocs/multicurrency/class/multicurrency.class.php +++ b/htdocs/multicurrency/class/multicurrency.class.php @@ -939,5 +939,4 @@ class CurrencyRate extends CommonObjectLine return 1; } } - } diff --git a/htdocs/opensurvey/class/opensurveysondage.class.php b/htdocs/opensurvey/class/opensurveysondage.class.php index 5d3129f1585..e32a82103d4 100644 --- a/htdocs/opensurvey/class/opensurveysondage.class.php +++ b/htdocs/opensurvey/class/opensurveysondage.class.php @@ -671,5 +671,4 @@ class Opensurveysondage extends CommonObject if ($status==self::STATUS_CLOSED) return ''.$langs->trans('Closed').' '.img_picto($langs->trans('Closed'),'statut6'); } } - } diff --git a/htdocs/product/canvas/product/actions_card_product.class.php b/htdocs/product/canvas/product/actions_card_product.class.php index c0722fcd765..f0d9dd14a4d 100644 --- a/htdocs/product/canvas/product/actions_card_product.class.php +++ b/htdocs/product/canvas/product/actions_card_product.class.php @@ -430,6 +430,5 @@ class ActionsCardProduct dol_print_error($this->db); } } - } diff --git a/htdocs/product/canvas/service/actions_card_service.class.php b/htdocs/product/canvas/service/actions_card_service.class.php index afda34aec23..0800eeb6a28 100644 --- a/htdocs/product/canvas/service/actions_card_service.class.php +++ b/htdocs/product/canvas/service/actions_card_service.class.php @@ -362,6 +362,5 @@ class ActionsCardService print $sql; } } - } diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index ee98537a195..08a128403ec 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -4691,5 +4691,4 @@ class Product extends CommonObject dol_print_error($this->db); } } - } diff --git a/htdocs/product/class/productbatch.class.php b/htdocs/product/class/productbatch.class.php index 87815d5b07b..16bbf8b0718 100644 --- a/htdocs/product/class/productbatch.class.php +++ b/htdocs/product/class/productbatch.class.php @@ -541,5 +541,4 @@ class Productbatch extends CommonObject return -1; } } - } diff --git a/htdocs/product/class/propalmergepdfproduct.class.php b/htdocs/product/class/propalmergepdfproduct.class.php index d79e68b9f48..ca2a962c36e 100644 --- a/htdocs/product/class/propalmergepdfproduct.class.php +++ b/htdocs/product/class/propalmergepdfproduct.class.php @@ -633,7 +633,6 @@ class Propalmergepdfproduct extends CommonObject $this->tms=''; $this->import_key=''; } - } /** diff --git a/htdocs/product/inventory/class/inventory.class.php b/htdocs/product/inventory/class/inventory.class.php index 7ba2d5cf5f1..805b825f7fd 100644 --- a/htdocs/product/inventory/class/inventory.class.php +++ b/htdocs/product/inventory/class/inventory.class.php @@ -459,7 +459,6 @@ class Inventory extends CommonObject { $this->initAsSpecimenCommon(); } - } /** diff --git a/htdocs/product/stock/class/entrepot.class.php b/htdocs/product/stock/class/entrepot.class.php index 59e966035d4..899c58b8dc6 100644 --- a/htdocs/product/stock/class/entrepot.class.php +++ b/htdocs/product/stock/class/entrepot.class.php @@ -744,5 +744,4 @@ class Entrepot extends CommonObject return $this->commonGenerateDocument($modelpath, $modele, $outputlangs, $hidedetails, $hidedesc, $hideref); } - } diff --git a/htdocs/product/stock/class/productlot.class.php b/htdocs/product/stock/class/productlot.class.php index 1ed59eb058f..2d19dd19cca 100644 --- a/htdocs/product/stock/class/productlot.class.php +++ b/htdocs/product/stock/class/productlot.class.php @@ -581,5 +581,4 @@ class Productlot extends CommonObject $this->fk_user_modif = ''; $this->import_key = ''; } - } diff --git a/htdocs/product/stock/class/productstockentrepot.class.php b/htdocs/product/stock/class/productstockentrepot.class.php index 5dbaa95f395..3fca32b7273 100644 --- a/htdocs/product/stock/class/productstockentrepot.class.php +++ b/htdocs/product/stock/class/productstockentrepot.class.php @@ -573,5 +573,4 @@ class ProductStockEntrepot extends CommonObject $this->desiredstock = ''; $this->import_key = ''; } - } diff --git a/htdocs/projet/class/project.class.php b/htdocs/projet/class/project.class.php index 17c36bb5a54..19aa93034c7 100644 --- a/htdocs/projet/class/project.class.php +++ b/htdocs/projet/class/project.class.php @@ -2004,5 +2004,4 @@ class Project extends CommonObject $this->lines = $taskstatic->getTasksArray(0, $user, $this->id, 0, 0); } - } diff --git a/htdocs/resource/class/html.formresource.class.php b/htdocs/resource/class/html.formresource.class.php index 2aa19ac66b5..3624963818c 100644 --- a/htdocs/resource/class/html.formresource.class.php +++ b/htdocs/resource/class/html.formresource.class.php @@ -208,8 +208,5 @@ class FormResource print ''; if ($user->admin && ! $noadmininfo) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1); } - - - } diff --git a/htdocs/societe/canvas/actions_card_common.class.php b/htdocs/societe/canvas/actions_card_common.class.php index 61e0a09f556..47cc420c38d 100644 --- a/htdocs/societe/canvas/actions_card_common.class.php +++ b/htdocs/societe/canvas/actions_card_common.class.php @@ -422,5 +422,4 @@ abstract class ActionsCardCommon $this->object->country_label= $tmparray['label']; } } - } diff --git a/htdocs/societe/canvas/company/actions_card_company.class.php b/htdocs/societe/canvas/company/actions_card_company.class.php index 419a5ecb73e..324356d1f90 100644 --- a/htdocs/societe/canvas/company/actions_card_company.class.php +++ b/htdocs/societe/canvas/company/actions_card_company.class.php @@ -218,6 +218,5 @@ class ActionsCardCompany extends ActionsCardCommon { return restrictedArea($user,$features,$objectid,$dbtablename,$feature2,$dbt_keyfield,$dbt_select); } - } diff --git a/htdocs/societe/canvas/individual/actions_card_individual.class.php b/htdocs/societe/canvas/individual/actions_card_individual.class.php index 78064004e37..df5f5eabb91 100644 --- a/htdocs/societe/canvas/individual/actions_card_individual.class.php +++ b/htdocs/societe/canvas/individual/actions_card_individual.class.php @@ -134,6 +134,5 @@ class ActionsCardIndividual extends ActionsCardCommon { return restrictedArea($user,$features,$objectid,$dbtablename,$feature2,$dbt_keyfield,$dbt_select); } - } diff --git a/htdocs/societe/class/address.class.php b/htdocs/societe/class/address.class.php index 7f89e081e8b..bd3cb742d99 100644 --- a/htdocs/societe/class/address.class.php +++ b/htdocs/societe/class/address.class.php @@ -485,7 +485,6 @@ class Address dol_print_error($this->db); } } - } diff --git a/htdocs/societe/class/client.class.php b/htdocs/societe/class/client.class.php index b0e275dbab8..3187ddb7958 100644 --- a/htdocs/societe/class/client.class.php +++ b/htdocs/societe/class/client.class.php @@ -113,5 +113,4 @@ class Client extends Societe } return 1; } - } diff --git a/htdocs/societe/class/companybankaccount.class.php b/htdocs/societe/class/companybankaccount.class.php index ae7424af1bb..3a3b9126b7b 100644 --- a/htdocs/societe/class/companybankaccount.class.php +++ b/htdocs/societe/class/companybankaccount.class.php @@ -415,6 +415,5 @@ class CompanyBankAccount extends Account $this->socid = 0; } - } diff --git a/htdocs/societe/class/companypaymentmode.class.php b/htdocs/societe/class/companypaymentmode.class.php index 15a254844f0..c5800f5c92b 100644 --- a/htdocs/societe/class/companypaymentmode.class.php +++ b/htdocs/societe/class/companypaymentmode.class.php @@ -565,5 +565,4 @@ class CompanyPaymentMode extends CommonObject { $this->initAsSpecimenCommon(); } - } diff --git a/htdocs/stripe/class/actions_stripe.class.php b/htdocs/stripe/class/actions_stripe.class.php index 4fa83f5fe0e..f3c76be9d35 100644 --- a/htdocs/stripe/class/actions_stripe.class.php +++ b/htdocs/stripe/class/actions_stripe.class.php @@ -236,5 +236,4 @@ class ActionsStripeconnect } return 0; } - } diff --git a/htdocs/stripe/class/stripe.class.php b/htdocs/stripe/class/stripe.class.php index eda7bca78b9..8d829ba55f5 100644 --- a/htdocs/stripe/class/stripe.class.php +++ b/htdocs/stripe/class/stripe.class.php @@ -500,5 +500,4 @@ class Stripe extends CommonObject } return $return; } - } diff --git a/htdocs/supplier_proposal/class/supplier_proposal.class.php b/htdocs/supplier_proposal/class/supplier_proposal.class.php index 9275cc0decf..ba652a12d42 100644 --- a/htdocs/supplier_proposal/class/supplier_proposal.class.php +++ b/htdocs/supplier_proposal/class/supplier_proposal.class.php @@ -2635,7 +2635,6 @@ class SupplierProposal extends CommonObject return CommonObject::commonReplaceThirdparty($db, $origin_id, $dest_id, $tables); } - } @@ -3207,5 +3206,4 @@ class SupplierProposalLine extends CommonObjectLine return -2; } } - } diff --git a/htdocs/ticket/class/ticket.class.php b/htdocs/ticket/class/ticket.class.php index c1833e97d59..cba5c435804 100644 --- a/htdocs/ticket/class/ticket.class.php +++ b/htdocs/ticket/class/ticket.class.php @@ -2473,7 +2473,6 @@ class Ticket extends CommonObject } return false; } - } @@ -2593,5 +2592,4 @@ class TicketsLine * Close ticket date */ public $date_close = ''; - } diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index ab4c66f0799..a426607f750 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -3155,5 +3155,4 @@ class User extends CommonObject return -1; } } - } diff --git a/htdocs/website/class/website.class.php b/htdocs/website/class/website.class.php index 103d0ffca39..eb677484078 100644 --- a/htdocs/website/class/website.class.php +++ b/htdocs/website/class/website.class.php @@ -1031,6 +1031,5 @@ class Website extends CommonObject return $object->id; } } - } diff --git a/htdocs/website/class/websitepage.class.php b/htdocs/website/class/websitepage.class.php index 9874b1fa8b0..2ea1ecfeaca 100644 --- a/htdocs/website/class/websitepage.class.php +++ b/htdocs/website/class/websitepage.class.php @@ -538,5 +538,4 @@ class WebsitePage extends CommonObject $this->date_creation = $now - (24 * 30 * 3600); $this->date_modification = $now - (24 * 7 * 3600); } - } diff --git a/test/phpunit/AccountingAccountTest.php b/test/phpunit/AccountingAccountTest.php index b9a3788bd80..5bd472cb6e1 100644 --- a/test/phpunit/AccountingAccountTest.php +++ b/test/phpunit/AccountingAccountTest.php @@ -221,5 +221,4 @@ class AccountingAccountTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/ActionCommTest.php b/test/phpunit/ActionCommTest.php index c3406d28bf7..1da26e53228 100644 --- a/test/phpunit/ActionCommTest.php +++ b/test/phpunit/ActionCommTest.php @@ -242,5 +242,4 @@ class ActionCommTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/AdminLibTest.php b/test/phpunit/AdminLibTest.php index 5cf34e969b1..beb6400cc33 100644 --- a/test/phpunit/AdminLibTest.php +++ b/test/phpunit/AdminLibTest.php @@ -164,5 +164,4 @@ class AdminLibTest extends PHPUnit_Framework_TestCase $moduledescriptor->init(); $conf->setValues($db); } - } diff --git a/test/phpunit/AllTests.php b/test/phpunit/AllTests.php index 66636ad7619..15c3ee3f429 100644 --- a/test/phpunit/AllTests.php +++ b/test/phpunit/AllTests.php @@ -250,4 +250,3 @@ class AllTests return $suite; } } - diff --git a/test/phpunit/BankAccountTest.php b/test/phpunit/BankAccountTest.php index a212ff0317a..e6da5cf9598 100644 --- a/test/phpunit/BankAccountTest.php +++ b/test/phpunit/BankAccountTest.php @@ -220,5 +220,4 @@ class BankAccountTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/BonPrelevementTest.php b/test/phpunit/BonPrelevementTest.php index 0124b25e6c6..b87a902c9d4 100644 --- a/test/phpunit/BonPrelevementTest.php +++ b/test/phpunit/BonPrelevementTest.php @@ -178,5 +178,4 @@ class BonPrelevementTest extends PHPUnit_Framework_TestCase return $result; } */ - } diff --git a/test/phpunit/CMailFileTest.php b/test/phpunit/CMailFileTest.php index 06f24ba45e0..8e1772a475c 100755 --- a/test/phpunit/CMailFileTest.php +++ b/test/phpunit/CMailFileTest.php @@ -103,7 +103,7 @@ class CMailFileTest extends PHPUnit_Framework_TestCase $db=$this->savdb; $conf->global->MAIN_DISABLE_ALL_MAILS=1; // If I comment/remove this lien, unit test still works alone but failed when ran from AllTest. Don't know why. - + print __METHOD__."\n"; } /** @@ -177,23 +177,22 @@ class CMailFileTest extends PHPUnit_Framework_TestCase $result=$localobject->getValidAddress($src,3,1); print __METHOD__." result=".$result."\n"; $this->assertEquals($result,'"=?UTF-8?B?Sm9obiBEb2U=?=" '); - + $src='John Doe '; $result=$localobject->getValidAddress($src,4); print __METHOD__." result=".$result."\n"; $this->assertEquals($result,'John Doe'); - + $src='John Doe , John Doe2 , John Doe3 '; $result=$localobject->getValidAddress($src,4); print __METHOD__." result=".$result."\n"; $this->assertEquals($result,'John Doe,John Doe2,John Doe3'); - + $src='John Doe , John Doe2 , John Doe3 '; $result=$localobject->getValidAddress($src,4,0,2); print __METHOD__." result=".$result."\n"; $this->assertEquals($result,'John Doe,John Doe2...'); - + return $result; } - } diff --git a/test/phpunit/CategorieTest.php b/test/phpunit/CategorieTest.php index 574a8d793f9..b45dd44923e 100644 --- a/test/phpunit/CategorieTest.php +++ b/test/phpunit/CategorieTest.php @@ -335,5 +335,4 @@ class CategorieTest extends PHPUnit_Framework_TestCase $this->assertTrue(is_array($retarray)); return $retarray; } - } diff --git a/test/phpunit/ChargeSocialesTest.php b/test/phpunit/ChargeSocialesTest.php index e1db7d199cf..2ba51bba87b 100644 --- a/test/phpunit/ChargeSocialesTest.php +++ b/test/phpunit/ChargeSocialesTest.php @@ -239,5 +239,4 @@ class ChargeSocialesTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/CodingSqlTest.php b/test/phpunit/CodingSqlTest.php index 460a3e2fbeb..98069d9f415 100644 --- a/test/phpunit/CodingSqlTest.php +++ b/test/phpunit/CodingSqlTest.php @@ -247,5 +247,4 @@ class CodingSqlTest extends PHPUnit_Framework_TestCase return; } - } diff --git a/test/phpunit/CommandeFournisseurTest.php b/test/phpunit/CommandeFournisseurTest.php index 7b2f3f07e2b..5319acdfabc 100644 --- a/test/phpunit/CommandeFournisseurTest.php +++ b/test/phpunit/CommandeFournisseurTest.php @@ -383,5 +383,4 @@ class CommandeFournisseurTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/CommandeTest.php b/test/phpunit/CommandeTest.php index 443bd1d1932..0e907861128 100644 --- a/test/phpunit/CommandeTest.php +++ b/test/phpunit/CommandeTest.php @@ -292,5 +292,4 @@ class CommandeTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/CompanyBankAccountTest.php b/test/phpunit/CompanyBankAccountTest.php index 95ea937a017..98cff57f7fa 100644 --- a/test/phpunit/CompanyBankAccountTest.php +++ b/test/phpunit/CompanyBankAccountTest.php @@ -233,5 +233,4 @@ class CompanyBankAccountTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $localobject->id; } - } diff --git a/test/phpunit/ContratTest.php b/test/phpunit/ContratTest.php index 5adf002c885..4b92a3085f6 100644 --- a/test/phpunit/ContratTest.php +++ b/test/phpunit/ContratTest.php @@ -218,5 +218,4 @@ class ContratTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/DateLibTest.php b/test/phpunit/DateLibTest.php index 645993d8659..4a133396675 100644 --- a/test/phpunit/DateLibTest.php +++ b/test/phpunit/DateLibTest.php @@ -442,5 +442,4 @@ class DateLibTest extends PHPUnit_Framework_TestCase $prev = dol_get_first_day_week($day, $month, $year); $this->assertEquals(1, (int) $prev['first_day']); // sunday for month 2, year 2015 is the 1st } - } diff --git a/test/phpunit/DateLibTzFranceTest.php b/test/phpunit/DateLibTzFranceTest.php index 668af000204..e787edafda8 100644 --- a/test/phpunit/DateLibTzFranceTest.php +++ b/test/phpunit/DateLibTzFranceTest.php @@ -199,5 +199,4 @@ class DateLibTzFranceTest extends PHPUnit_Framework_TestCase return $result; } - } diff --git a/test/phpunit/EntrepotTest.php b/test/phpunit/EntrepotTest.php index e695bff34a3..5477341e2e8 100644 --- a/test/phpunit/EntrepotTest.php +++ b/test/phpunit/EntrepotTest.php @@ -255,7 +255,6 @@ class EntrepotTest extends PHPUnit_Framework_TestCase $localobject=new Entrepot($db); - return; } } diff --git a/test/phpunit/ExpenseReportTest.php b/test/phpunit/ExpenseReportTest.php index b9af3dc1078..f6b5aba11f5 100644 --- a/test/phpunit/ExpenseReportTest.php +++ b/test/phpunit/ExpenseReportTest.php @@ -151,7 +151,7 @@ class ExpenseReportTest extends PHPUnit_Framework_TestCase $localobject2->initAsSpecimen(); // Init a speciment with lines $localobject2->status = 0; $localobject2->fk_statut = 0; - + $result=$localobject2->create($user); print __METHOD__." result=".$result."\n"; $this->assertGreaterThanOrEqual(0, $result); @@ -312,5 +312,4 @@ class ExpenseReportTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/ExportTest.php b/test/phpunit/ExportTest.php index eb9d0b733f1..1507bf02899 100644 --- a/test/phpunit/ExportTest.php +++ b/test/phpunit/ExportTest.php @@ -352,5 +352,4 @@ class ExportTest extends PHPUnit_Framework_TestCase return true; } - } diff --git a/test/phpunit/FactureFournisseurTest.php b/test/phpunit/FactureFournisseurTest.php index 7985e8f0931..c451f62b10c 100644 --- a/test/phpunit/FactureFournisseurTest.php +++ b/test/phpunit/FactureFournisseurTest.php @@ -266,5 +266,4 @@ class FactureFournisseurTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/FactureTestRounding.php b/test/phpunit/FactureTestRounding.php index 5fe0df4e5d0..f5737e5623a 100644 --- a/test/phpunit/FactureTestRounding.php +++ b/test/phpunit/FactureTestRounding.php @@ -333,5 +333,4 @@ class FactureTestRounding extends PHPUnit_Framework_TestCase $this->assertEquals(20.03, $localobject3->total_tva); $this->assertEquals(115.43, $localobject3->total_ttc); } - } diff --git a/test/phpunit/FichinterTest.php b/test/phpunit/FichinterTest.php index baa72b7020a..1a7bca70eb1 100644 --- a/test/phpunit/FichinterTest.php +++ b/test/phpunit/FichinterTest.php @@ -242,5 +242,4 @@ class FichinterTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/FilesLibTest.php b/test/phpunit/FilesLibTest.php index feac8b212ed..2c95ca4c8ed 100644 --- a/test/phpunit/FilesLibTest.php +++ b/test/phpunit/FilesLibTest.php @@ -502,5 +502,4 @@ class FilesLibTest extends PHPUnit_Framework_TestCase $user->rights->facture->lire = $savpermlire; $user->rights->facture->creer = $savpermcreer; } - } diff --git a/test/phpunit/FormAdminTest.php b/test/phpunit/FormAdminTest.php index 30c96600210..744fcfb4061 100644 --- a/test/phpunit/FormAdminTest.php +++ b/test/phpunit/FormAdminTest.php @@ -136,5 +136,4 @@ class FormAdminTest extends PHPUnit_Framework_TestCase print __METHOD__." result=".$result."\n"; return $result; } - } diff --git a/test/phpunit/FunctionsLibTest.php b/test/phpunit/FunctionsLibTest.php index a96e36c3262..012b4f9413d 100644 --- a/test/phpunit/FunctionsLibTest.php +++ b/test/phpunit/FunctionsLibTest.php @@ -1207,5 +1207,4 @@ class FunctionsLibTest extends PHPUnit_Framework_TestCase return true; } - } diff --git a/test/phpunit/HolidayTest.php b/test/phpunit/HolidayTest.php index 3204e9f07b1..55589b87f56 100644 --- a/test/phpunit/HolidayTest.php +++ b/test/phpunit/HolidayTest.php @@ -349,5 +349,4 @@ class HolidayTest extends PHPUnit_Framework_TestCase $result=$localobjectc->verifDateHolidayCP($user->id, $date_debut, $date_fin, 2); // start afternoon and end morning $this->assertTrue($result, 'result should be true, there is no overlapping'); } - } diff --git a/test/phpunit/ImagesLibTest.php b/test/phpunit/ImagesLibTest.php index 41c7005e25d..a25d907d4b6 100644 --- a/test/phpunit/ImagesLibTest.php +++ b/test/phpunit/ImagesLibTest.php @@ -143,5 +143,4 @@ class ImagesLibTest extends PHPUnit_Framework_TestCase return 1; } - } diff --git a/test/phpunit/ImportTest.php b/test/phpunit/ImportTest.php index 067b06910c9..39b4207489c 100644 --- a/test/phpunit/ImportTest.php +++ b/test/phpunit/ImportTest.php @@ -134,5 +134,4 @@ class ImportTest extends PHPUnit_Framework_TestCase return true; } - } diff --git a/test/phpunit/MarginsLibTest.php b/test/phpunit/MarginsLibTest.php index e6f130d2e3b..857decc8be7 100644 --- a/test/phpunit/MarginsLibTest.php +++ b/test/phpunit/MarginsLibTest.php @@ -136,7 +136,7 @@ class MarginsLibTest extends PHPUnit_Framework_TestCase $this->assertEquals(25,$result[1]); print __METHOD__." result[2]=".$result[2]."\n"; $this->assertEquals(20,$result[2]); - + $result=getMarginInfos(10, 10, 19.6, 0, 0, 0, 8); print __METHOD__." result[0]=".$result[0]."\n"; $this->assertEquals(8,$result[0]); @@ -144,8 +144,7 @@ class MarginsLibTest extends PHPUnit_Framework_TestCase $this->assertEquals(12.5,$result[1]); print __METHOD__." result[2]=".$result[2]."\n"; $this->assertEquals(1/9*100,$result[2]); - + return 0; } - } diff --git a/test/phpunit/ModulesTest.php b/test/phpunit/ModulesTest.php index 589a9116c78..0021c21391e 100755 --- a/test/phpunit/ModulesTest.php +++ b/test/phpunit/ModulesTest.php @@ -152,5 +152,4 @@ class ModulesTest extends PHPUnit_Framework_TestCase return 0; } - } diff --git a/test/phpunit/MouvementStockTest.php b/test/phpunit/MouvementStockTest.php index 826b55851e2..bf9a427587d 100644 --- a/test/phpunit/MouvementStockTest.php +++ b/test/phpunit/MouvementStockTest.php @@ -250,5 +250,4 @@ class MouvementStockTest extends PHPUnit_Framework_TestCase return $localobject; } - } diff --git a/test/phpunit/NumberingModulesTest.php b/test/phpunit/NumberingModulesTest.php index 4a3dfb7c1c9..8fa5f58e164 100644 --- a/test/phpunit/NumberingModulesTest.php +++ b/test/phpunit/NumberingModulesTest.php @@ -573,5 +573,4 @@ class NumberingModulesTest extends PHPUnit_Framework_TestCase return $result; } - } diff --git a/test/phpunit/PaypalTest.php b/test/phpunit/PaypalTest.php index fb48279cd66..5570b32fc69 100644 --- a/test/phpunit/PaypalTest.php +++ b/test/phpunit/PaypalTest.php @@ -135,13 +135,12 @@ class PaypalTest extends PHPUnit_Framework_TestCase $urltotest=getPaypalPaymentUrl(1,'free'); print "urltotest=".$urltotest."\n"; - + $result=getURLContent($urltotest, 'GET'); - + print __METHOD__." result=".$result."\n"; $this->assertLessThanOrEqual($result, 0); return $result; } - } diff --git a/test/phpunit/PricesTest.php b/test/phpunit/PricesTest.php index d3b1efaf072..ecbd10b5490 100755 --- a/test/phpunit/PricesTest.php +++ b/test/phpunit/PricesTest.php @@ -351,5 +351,4 @@ class PricesTest extends PHPUnit_Framework_TestCase //$this->assertEquals(0.25,$newlocalobject->total_tva); //$this->assertEquals(2.73,$newlocalobject->total_ttc); } - } diff --git a/test/phpunit/ProjectTest.php b/test/phpunit/ProjectTest.php index c2f5d5b8161..a5dc9e0f5e2 100644 --- a/test/phpunit/ProjectTest.php +++ b/test/phpunit/ProjectTest.php @@ -237,5 +237,4 @@ class ProjectTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/PropalTest.php b/test/phpunit/PropalTest.php index 3d45673074a..341ea02c5d0 100644 --- a/test/phpunit/PropalTest.php +++ b/test/phpunit/PropalTest.php @@ -291,5 +291,4 @@ class PropalTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/RestAPIUserTest.php b/test/phpunit/RestAPIUserTest.php index 40153f2cffd..ad3eb29be2f 100644 --- a/test/phpunit/RestAPIUserTest.php +++ b/test/phpunit/RestAPIUserTest.php @@ -224,5 +224,4 @@ class RestAPIUserTest extends PHPUnit_Framework_TestCase $this->assertNotNull($object, "Parsing of json result must no be null"); $this->assertEquals(500, $object['error']['code'], $object['error']['code'].' '.$object['error']['message']); } - -} \ No newline at end of file +} diff --git a/test/phpunit/SecurityTest.php b/test/phpunit/SecurityTest.php index 7fe65f101de..1b3b20899ef 100644 --- a/test/phpunit/SecurityTest.php +++ b/test/phpunit/SecurityTest.php @@ -294,5 +294,4 @@ class SecurityTest extends PHPUnit_Framework_TestCase $result=restrictedArea($user,'societe'); $this->assertEquals(1,$result); } - } diff --git a/test/phpunit/SocieteTest.php b/test/phpunit/SocieteTest.php index 31aa98fd082..8baab7e2f1d 100755 --- a/test/phpunit/SocieteTest.php +++ b/test/phpunit/SocieteTest.php @@ -455,5 +455,4 @@ class SocieteTest extends PHPUnit_Framework_TestCase return $localobjectadd->id; } - } diff --git a/test/phpunit/SupplierProposalTest.php b/test/phpunit/SupplierProposalTest.php index 13e715ff8f5..c8f0471e9a9 100644 --- a/test/phpunit/SupplierProposalTest.php +++ b/test/phpunit/SupplierProposalTest.php @@ -276,5 +276,4 @@ class SupplierProposalTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/UserGroupTest.php b/test/phpunit/UserGroupTest.php index 2ec4c16a8d7..fe8b019da20 100644 --- a/test/phpunit/UserGroupTest.php +++ b/test/phpunit/UserGroupTest.php @@ -283,5 +283,4 @@ class UserGroupTest extends PHPUnit_Framework_TestCase $this->assertLessThan($result, 0); return $result; } - } diff --git a/test/phpunit/UtilsTest.php b/test/phpunit/UtilsTest.php index b80ce84f624..511e7d7fd32 100644 --- a/test/phpunit/UtilsTest.php +++ b/test/phpunit/UtilsTest.php @@ -146,7 +146,4 @@ class UtilsTest extends PHPUnit_Framework_TestCase print __METHOD__." result=".$result."\n"; return $result; } - - - } diff --git a/test/phpunit/WebservicesInvoicesTest.php b/test/phpunit/WebservicesInvoicesTest.php index 6f7ca3610cd..b336ef15ff3 100644 --- a/test/phpunit/WebservicesInvoicesTest.php +++ b/test/phpunit/WebservicesInvoicesTest.php @@ -418,5 +418,4 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase return $result; } - } diff --git a/test/phpunit/WebservicesOrdersTest.php b/test/phpunit/WebservicesOrdersTest.php index 7fb2d101184..79202a9d2eb 100644 --- a/test/phpunit/WebservicesOrdersTest.php +++ b/test/phpunit/WebservicesOrdersTest.php @@ -178,5 +178,4 @@ class WebservicesOrdersTest extends PHPUnit_Framework_TestCase return $result; } - } diff --git a/test/phpunit/WebservicesOtherTest.php b/test/phpunit/WebservicesOtherTest.php index 45b01aa77d3..2b8bfc0aac1 100644 --- a/test/phpunit/WebservicesOtherTest.php +++ b/test/phpunit/WebservicesOtherTest.php @@ -207,5 +207,4 @@ class WebservicesOtherTest extends PHPUnit_Framework_TestCase return $result; } - } diff --git a/test/phpunit/WebservicesProductsTest.php b/test/phpunit/WebservicesProductsTest.php index bcbb37b0419..e8b343c7a89 100644 --- a/test/phpunit/WebservicesProductsTest.php +++ b/test/phpunit/WebservicesProductsTest.php @@ -322,5 +322,4 @@ class WebservicesProductsTest extends PHPUnit_Framework_TestCase return 0; } - } diff --git a/test/phpunit/WebservicesThirdpartyTest.php b/test/phpunit/WebservicesThirdpartyTest.php index e1c2249b62a..b9a04d2f1fa 100644 --- a/test/phpunit/WebservicesThirdpartyTest.php +++ b/test/phpunit/WebservicesThirdpartyTest.php @@ -398,5 +398,4 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase return $result; } - } diff --git a/test/phpunit/WebservicesUserTest.php b/test/phpunit/WebservicesUserTest.php index bfcdb400cc6..96e3687df1c 100644 --- a/test/phpunit/WebservicesUserTest.php +++ b/test/phpunit/WebservicesUserTest.php @@ -206,5 +206,4 @@ class WebservicesUserTest extends PHPUnit_Framework_TestCase return $result; } - } diff --git a/test/phpunit/XCalLibTest.php b/test/phpunit/XCalLibTest.php index 3bbf3469b17..055640d4a36 100644 --- a/test/phpunit/XCalLibTest.php +++ b/test/phpunit/XCalLibTest.php @@ -137,5 +137,4 @@ class XCalLibTest extends PHPUnit_Framework_TestCase print __METHOD__." result=".$resultback."\n"; $this->assertEquals($stringtoencode,$resultback); } - }