From 9b3c89ac470505832c3ba93f3df3920633e798d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20Garci=CC=81a?= <marcosgdf@gmail.com>
Date: Thu, 23 Aug 2012 02:04:35 +0200
Subject: [PATCH] Removed parenthesis from all include and include_once and
 replaced with single quotes

---
 dev/initdata/generate-commande.php            | 12 ++---
 dev/initdata/generate-produit.php             | 12 ++---
 dev/initdata/generate-societe.php             | 12 ++---
 dev/skeletons/modMyModule.class.php           |  2 +-
 dev/skeletons/skeleton_class.class.php        |  6 +--
 dev/skeletons/skeleton_page.php               | 14 ++---
 htdocs/adherents/admin/mailman.php            |  2 +-
 htdocs/adherents/card_subscriptions.php       |  2 +-
 htdocs/adherents/class/adherent.class.php     | 22 ++++----
 .../adherents/class/adherentstats.class.php   |  4 +-
 htdocs/adherents/fiche.php                    |  6 +--
 htdocs/adherents/stats/geo.php                |  2 +-
 htdocs/admin/barcode.php                      |  2 +-
 htdocs/admin/boxes.php                        |  4 +-
 htdocs/admin/dict.php                         |  2 +-
 htdocs/admin/mails.php                        | 10 ++--
 htdocs/admin/modules.php                      |  2 +-
 htdocs/admin/pdf.php                          |  2 +-
 htdocs/admin/perms.php                        |  2 +-
 htdocs/admin/sms.php                          |  6 +--
 htdocs/admin/syslog.php                       |  2 +-
 htdocs/admin/system/modules.php               |  2 +-
 htdocs/admin/tools/purge.php                  |  2 +-
 htdocs/admin/tools/update.php                 |  2 +-
 htdocs/admin/triggers.php                     |  2 +-
 htdocs/asterisk/cidlookup.php                 |  2 +-
 htdocs/boutique/client/fiche.php              |  2 +-
 .../commande/class/boutiquecommande.class.php |  2 +-
 htdocs/boutique/commande/fiche.php            |  2 +-
 htdocs/cashdesk/affContenu.php                |  4 +-
 htdocs/cashdesk/affIndex.php                  |  6 +--
 htdocs/cashdesk/class/Auth.class.php          |  2 +-
 htdocs/cashdesk/class/Facturation.class.php   |  2 +-
 htdocs/cashdesk/index.php                     |  2 +-
 htdocs/cashdesk/index_verif.php               |  2 +-
 htdocs/cashdesk/tpl/menu.tpl.php              |  6 +--
 htdocs/cashdesk/tpl/ticket.tpl.php            |  2 +-
 htdocs/categories/class/categorie.class.php   |  8 +--
 htdocs/comm/action/class/actioncomm.class.php |  8 +--
 htdocs/comm/action/fiche.php                  |  2 +-
 htdocs/comm/action/index.php                  |  2 +-
 htdocs/comm/addpropal.php                     |  2 +-
 htdocs/comm/fiche.php                         |  2 +-
 htdocs/comm/mailing/cibles.php                |  6 +--
 htdocs/comm/mailing/fiche.php                 |  4 +-
 htdocs/comm/propal.php                        | 18 +++----
 htdocs/comm/propal/class/propal.class.php     | 26 ++++-----
 .../comm/propal/class/propalestats.class.php  |  4 +-
 htdocs/comm/propal/contact.php                |  2 +-
 htdocs/comm/propal/list.php                   |  2 +-
 htdocs/comm/propal/note.php                   |  2 +-
 htdocs/comm/prospect/class/prospect.class.php |  2 +-
 htdocs/comm/prospect/fiche.php                |  2 +-
 htdocs/commande/class/commande.class.php      | 36 ++++++-------
 htdocs/commande/class/commandestats.class.php |  6 +--
 htdocs/commande/contact.php                   |  2 +-
 htdocs/commande/fiche.php                     | 20 +++----
 htdocs/commande/note.php                      |  2 +-
 htdocs/commande/orderstoinvoice.php           |  2 +-
 htdocs/commissions/admin/commissions.php      |  2 +-
 htdocs/compta/bank/class/bankcateg.class.php  |  6 +--
 htdocs/compta/bank/ligne.php                  |  2 +-
 .../deplacement/class/deplacement.class.php   |  2 +-
 .../class/deplacementstats.class.php          |  4 +-
 htdocs/compta/deplacement/fiche.php           |  4 +-
 htdocs/compta/dons/class/don.class.php        |  2 +-
 htdocs/compta/dons/fiche.php                  |  2 +-
 htdocs/compta/facture.php                     | 22 ++++----
 .../facture/class/facture-rec.class.php       |  2 +-
 htdocs/compta/facture/class/facture.class.php | 38 ++++++-------
 .../facture/class/facturestats.class.php      |  8 +--
 .../facture/class/paymentterm.class.php       |  6 +--
 htdocs/compta/facture/contact.php             |  2 +-
 htdocs/compta/facture/list.php                |  2 +-
 htdocs/compta/facture/note.php                |  2 +-
 htdocs/compta/index.php                       |  4 +-
 .../compta/localtax/class/localtax.class.php  |  6 +--
 .../compta/paiement/class/paiement.class.php  |  6 +--
 .../sociales/class/chargesociales.class.php   |  2 +-
 .../class/paymentsocialcontribution.class.php |  4 +-
 htdocs/compta/tva/class/tva.class.php         |  8 +--
 htdocs/compta/tva/fiche.php                   |  2 +-
 .../actions_contactcard_common.class.php      |  2 +-
 .../actions_contactcard_default.class.php     |  2 +-
 htdocs/contact/class/contact.class.php        |  6 +--
 htdocs/contact/fiche.php                      |  4 +-
 htdocs/contact/perso.php                      |  2 +-
 htdocs/contrat/class/contrat.class.php        | 16 +++---
 htdocs/contrat/contact.php                    |  2 +-
 htdocs/contrat/fiche.php                      |  6 +--
 htdocs/contrat/note.php                       |  2 +-
 htdocs/core/ajax/ajaxdirtree.php              | 12 ++---
 htdocs/core/ajax/extraparams.php              |  2 +-
 htdocs/core/boxes/box_actions.php             |  4 +-
 htdocs/core/boxes/box_activity.php            |  8 +--
 htdocs/core/boxes/box_bookmarks.php           |  2 +-
 htdocs/core/boxes/box_clients.php             |  4 +-
 htdocs/core/boxes/box_commandes.php           |  4 +-
 htdocs/core/boxes/box_comptes.php             |  4 +-
 htdocs/core/boxes/box_contacts.php            |  4 +-
 htdocs/core/boxes/box_contracts.php           |  4 +-
 htdocs/core/boxes/box_external_rss.php        |  4 +-
 htdocs/core/boxes/box_factures.php            |  4 +-
 htdocs/core/boxes/box_factures_fourn.php      |  4 +-
 htdocs/core/boxes/box_factures_fourn_imp.php  |  4 +-
 htdocs/core/boxes/box_factures_imp.php        |  2 +-
 htdocs/core/boxes/box_fournisseurs.php        |  4 +-
 htdocs/core/boxes/box_members.php             |  4 +-
 htdocs/core/boxes/box_osc_client.php          |  2 +-
 htdocs/core/boxes/box_produits.php            |  2 +-
 htdocs/core/boxes/box_propales.php            |  4 +-
 htdocs/core/boxes/box_prospect.php            |  6 +--
 htdocs/core/boxes/box_services_contracts.php  |  4 +-
 htdocs/core/boxes/box_services_expired.php    |  2 +-
 htdocs/core/boxes/box_supplier_orders.php     |  4 +-
 htdocs/core/class/canvas.class.php            |  2 +-
 htdocs/core/class/commonobject.class.php      | 24 ++++-----
 htdocs/core/class/cpays.class.php             |  6 +--
 htdocs/core/class/ctypent.class.php           |  6 +--
 htdocs/core/class/dolgeoip.class.php          |  4 +-
 htdocs/core/class/dolgraph.class.php          |  4 +-
 htdocs/core/class/html.form.class.php         |  2 +-
 htdocs/core/class/html.formfile.class.php     | 54 +++++++++----------
 htdocs/core/class/html.formother.class.php    |  2 +-
 htdocs/core/class/interfaces.class.php        |  4 +-
 htdocs/core/class/notify.class.php            |  2 +-
 htdocs/core/class/rssparser.class.php         |  2 +-
 htdocs/core/class/smtps.class.php             |  2 +-
 htdocs/core/class/translate.class.php         |  2 +-
 htdocs/core/lib/admin.lib.php                 |  6 +--
 htdocs/core/lib/agenda.lib.php                |  6 +--
 htdocs/core/lib/files.lib.php                 | 12 ++---
 htdocs/core/lib/fourn.lib.php                 |  4 +-
 htdocs/core/lib/functions.lib.php             | 12 ++---
 htdocs/core/lib/functions2.lib.php            |  4 +-
 htdocs/core/lib/invoice.lib.php               |  2 +-
 htdocs/core/lib/order.lib.php                 |  2 +-
 htdocs/core/lib/pdf.lib.php                   |  6 +--
 htdocs/core/lib/project.lib.php               |  4 +-
 htdocs/core/lib/propal.lib.php                |  2 +-
 htdocs/core/lib/security.lib.php              |  4 +-
 htdocs/core/lib/security2.lib.php             |  6 +--
 htdocs/core/lib/sendings.lib.php              |  2 +-
 htdocs/core/lib/ws.lib.php                    |  2 +-
 htdocs/core/lib/xcal.lib.php                  |  2 +-
 htdocs/core/modules/DolibarrModules.class.php |  4 +-
 .../cheque/pdf/modules_chequereceipts.php     |  2 +-
 .../commande/doc/pdf_edison.modules.php       |  2 +-
 .../commande/doc/pdf_einstein.modules.php     |  2 +-
 .../modules/commande/modules_commande.php     |  4 +-
 htdocs/core/modules/dons/modules_don.php      |  2 +-
 .../expedition/methode_expedition.modules.php |  2 +-
 .../methode_expedition_colsui.modules.php     |  2 +-
 .../methode_expedition_enl.modules.php        |  2 +-
 .../methode_expedition_lettremax.modules.php  |  2 +-
 .../methode_expedition_trans.modules.php      |  2 +-
 .../modules/expedition/modules_expedition.php |  4 +-
 .../modules/facture/doc/pdf_crabe.modules.php |  2 +-
 .../facture/doc/pdf_oursin.modules.php        |  2 +-
 .../core/modules/facture/modules_facture.php  |  4 +-
 .../modules/fichinter/modules_fichinter.php   |  4 +-
 .../modules/livraison/modules_livraison.php   |  4 +-
 htdocs/core/modules/member/modules_cards.php  |  2 +-
 htdocs/core/modules/modAccounting.class.php   |  2 +-
 htdocs/core/modules/modAdherent.class.php     |  2 +-
 htdocs/core/modules/modAgenda.class.php       |  2 +-
 htdocs/core/modules/modBanque.class.php       |  2 +-
 htdocs/core/modules/modBarcode.class.php      |  2 +-
 htdocs/core/modules/modBookmark.class.php     |  2 +-
 htdocs/core/modules/modBoutique.class.php     |  2 +-
 htdocs/core/modules/modCashDesk.class.php     |  2 +-
 htdocs/core/modules/modCategorie.class.php    |  2 +-
 htdocs/core/modules/modClickToDial.class.php  |  2 +-
 htdocs/core/modules/modCommande.class.php     |  2 +-
 htdocs/core/modules/modCommissions.class.php  |  2 +-
 htdocs/core/modules/modComptabilite.class.php |  2 +-
 htdocs/core/modules/modContrat.class.php      |  2 +-
 htdocs/core/modules/modDeplacement.class.php  |  2 +-
 htdocs/core/modules/modDocument.class.php     |  2 +-
 htdocs/core/modules/modDon.class.php          |  2 +-
 htdocs/core/modules/modECM.class.php          |  2 +-
 htdocs/core/modules/modExpedition.class.php   |  2 +-
 htdocs/core/modules/modExport.class.php       |  2 +-
 htdocs/core/modules/modExternalRss.class.php  |  2 +-
 htdocs/core/modules/modExternalSite.class.php |  2 +-
 htdocs/core/modules/modFTP.class.php          |  2 +-
 htdocs/core/modules/modFacture.class.php      |  2 +-
 htdocs/core/modules/modFckeditor.class.php    |  2 +-
 htdocs/core/modules/modFicheinter.class.php   |  2 +-
 htdocs/core/modules/modFournisseur.class.php  |  2 +-
 htdocs/core/modules/modGeoIPMaxmind.class.php |  2 +-
 htdocs/core/modules/modGravatar.class.php     |  2 +-
 htdocs/core/modules/modImport.class.php       |  2 +-
 htdocs/core/modules/modLabel.class.php        |  2 +-
 htdocs/core/modules/modLdap.class.php         |  2 +-
 htdocs/core/modules/modMailing.class.php      |  2 +-
 htdocs/core/modules/modMailmanSpip.class.php  |  2 +-
 htdocs/core/modules/modMargin.class.php       |  2 +-
 htdocs/core/modules/modNotification.class.php |  2 +-
 htdocs/core/modules/modPaybox.class.php       |  2 +-
 htdocs/core/modules/modPaypal.class.php       |  2 +-
 htdocs/core/modules/modPrelevement.class.php  |  2 +-
 htdocs/core/modules/modProduct.class.php      |  2 +-
 htdocs/core/modules/modProjet.class.php       |  2 +-
 htdocs/core/modules/modPropale.class.php      |  2 +-
 htdocs/core/modules/modService.class.php      |  2 +-
 htdocs/core/modules/modSociete.class.php      |  2 +-
 htdocs/core/modules/modStock.class.php        |  2 +-
 htdocs/core/modules/modSyslog.class.php       |  2 +-
 htdocs/core/modules/modTax.class.php          |  2 +-
 htdocs/core/modules/modUser.class.php         |  2 +-
 htdocs/core/modules/modWebServices.class.php  |  2 +-
 htdocs/core/modules/modWorkflow.class.php     |  2 +-
 .../modules/printsheet/modules_labels.php     |  2 +-
 .../core/modules/project/modules_project.php  |  4 +-
 .../modules/propale/doc/pdf_azur.modules.php  |  2 +-
 .../modules/propale/doc/pdf_jaune.modules.php |  2 +-
 .../core/modules/propale/modules_propale.php  |  4 +-
 .../modules/rapport/pdf_paiement.class.php    |  2 +-
 .../modules/societe/modules_societe.class.php |  4 +-
 .../modules_facturefournisseur.php            |  4 +-
 .../pdf/pdf_canelle.modules.php               |  2 +-
 .../modules_commandefournisseur.php           |  4 +-
 .../pdf/pdf_muscadet.modules.php              |  2 +-
 htdocs/core/tpl/bloc_showhide.tpl.php         |  2 +-
 .../interface_20_all_Logevents.class.php      |  2 +-
 ...e_20_modWorkflow_WorkflowManager.class.php |  4 +-
 htdocs/ecm/class/ecmdirectory.class.php       |  8 +--
 htdocs/ecm/index.php                          |  2 +-
 htdocs/expedition/class/expedition.class.php  | 14 ++---
 htdocs/expedition/fiche.php                   | 12 ++---
 htdocs/exports/class/export.class.php         |  2 +-
 htdocs/exports/index.php                      |  2 +-
 htdocs/fichinter/class/fichinter.class.php    |  8 +--
 htdocs/fichinter/contact.php                  |  2 +-
 htdocs/fichinter/fiche.php                    | 16 +++---
 htdocs/fichinter/note.php                     |  2 +-
 htdocs/filefunc.inc.php                       |  8 +--
 .../class/fournisseur.commande.class.php      | 22 ++++----
 .../fourn/class/fournisseur.facture.class.php | 24 ++++-----
 htdocs/fourn/class/paiementfourn.class.php    |  2 +-
 htdocs/fourn/commande/contact.php             |  2 +-
 htdocs/fourn/commande/fiche.php               | 16 +++---
 htdocs/fourn/commande/note.php                |  2 +-
 htdocs/fourn/facture/contact.php              |  2 +-
 htdocs/fourn/facture/fiche.php                | 16 +++---
 htdocs/fourn/facture/note.php                 |  2 +-
 htdocs/imports/class/import.class.php         |  2 +-
 htdocs/imports/index.php                      |  2 +-
 htdocs/index.php                              | 34 ++++++------
 htdocs/install/check.php                      |  8 +--
 htdocs/install/etape1.php                     | 12 ++---
 htdocs/install/etape2.php                     |  4 +-
 htdocs/install/etape4.php                     |  4 +-
 htdocs/install/etape5.php                     | 10 ++--
 htdocs/install/fileconf.php                   |  6 +--
 htdocs/install/inc.php                        |  6 +--
 htdocs/install/index.php                      |  6 +--
 htdocs/install/phpinfo.php                    |  2 +-
 htdocs/install/repair.php                     | 18 +++----
 htdocs/install/upgrade.php                    |  2 +-
 htdocs/install/upgrade2.php                   | 32 +++++------
 htdocs/livraison/class/livraison.class.php    |  4 +-
 htdocs/main.inc.php                           | 30 +++++------
 htdocs/margin/admin/margin.php                |  2 +-
 htdocs/master.inc.php                         |  2 +-
 htdocs/product/admin/product.php              |  2 +-
 .../product/actions_card_product.class.php    |  2 +-
 .../service/actions_card_service.class.php    |  2 +-
 htdocs/product/class/product.class.php        | 18 +++----
 htdocs/product/fiche.php                      |  4 +-
 htdocs/product/fournisseurs.php               |  2 +-
 htdocs/product/liste.php                      |  2 +-
 htdocs/product/stock/class/entrepot.class.php |  2 +-
 .../stock/class/mouvementstock.class.php      |  2 +-
 htdocs/projet/class/project.class.php         | 10 ++--
 htdocs/projet/class/task.class.php            | 12 ++---
 htdocs/projet/fiche.php                       |  4 +-
 htdocs/projet/ganttview.php                   |  2 +-
 htdocs/projet/tasks.php                       |  2 +-
 htdocs/projet/tasks/note.php                  |  2 +-
 htdocs/projet/tasks/task.php                  |  2 +-
 htdocs/public/demo/index.php                  |  4 +-
 htdocs/public/paypal/paymentok.php            |  2 +-
 htdocs/societe/admin/societe.php              |  4 +-
 .../canvas/actions_card_common.class.php      |  4 +-
 .../company/actions_card_company.class.php    |  2 +-
 .../actions_card_individual.class.php         |  2 +-
 htdocs/societe/class/client.class.php         |  2 +-
 htdocs/societe/class/societe.class.php        | 22 ++++----
 htdocs/societe/soc.php                        | 12 ++---
 htdocs/societe/societe.php                    |  2 +-
 htdocs/support/inc.php                        |  6 +--
 htdocs/support/index.php                      |  2 +-
 htdocs/support/online.php                     |  2 +-
 htdocs/theme/eldy/graph-color.php             |  2 +-
 .../theme/phones/smartphone/tpl/login.tpl.php |  2 +-
 .../smartphone/tpl/passwordforgotten.tpl.php  |  2 +-
 htdocs/user/class/user.class.php              | 16 +++---
 htdocs/user/class/usergroup.class.php         |  6 +--
 htdocs/user/fiche.php                         |  2 +-
 htdocs/user/group/fiche.php                   |  2 +-
 htdocs/user/group/perms.php                   |  2 +-
 htdocs/user/index.php                         |  2 +-
 htdocs/user/logout.php                        |  2 +-
 htdocs/user/passwordforgotten.php             |  4 +-
 htdocs/user/perms.php                         |  2 +-
 htdocs/viewimage.php                          |  2 +-
 .../webservices/server_productorservice.php   |  2 +-
 htdocs/webservices/server_thirdparty.php      |  2 +-
 310 files changed, 762 insertions(+), 762 deletions(-)

diff --git a/dev/initdata/generate-commande.php b/dev/initdata/generate-commande.php
index 9d13914ef33..a2f0078a71c 100644
--- a/dev/initdata/generate-commande.php
+++ b/dev/initdata/generate-commande.php
@@ -34,12 +34,12 @@ if (substr($sapi_type, 0, 3) == 'cgi') {
 // Recupere root dolibarr
 $path=preg_replace('/generate-commande.php/i','',$_SERVER["PHP_SELF"]);
 require ($path."../../htdocs/master.inc.php");
-include_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
-include_once(DOL_DOCUMENT_ROOT."/contact/class/contact.class.php");
-include_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
-include_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php");
-include_once(DOL_DOCUMENT_ROOT."/compta/paiement/class/paiement.class.php");
-include_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
+include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
+include_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
+include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
+include_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
+include_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
+include_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
 
 
 /*
diff --git a/dev/initdata/generate-produit.php b/dev/initdata/generate-produit.php
index 5a35a3b116a..ba19e621b4f 100644
--- a/dev/initdata/generate-produit.php
+++ b/dev/initdata/generate-produit.php
@@ -34,12 +34,12 @@ if (substr($sapi_type, 0, 3) == 'cgi') {
 // Recupere root dolibarr
 $path=preg_replace('/generate-produit.php/i','',$_SERVER["PHP_SELF"]);
 require ($path."../../htdocs/master.inc.php");
-include_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
-include_once(DOL_DOCUMENT_ROOT."/contact/class/contact.class.php");
-include_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
-include_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php");
-include_once(DOL_DOCUMENT_ROOT."/compta/paiement/class/paiement.class.php");
-include_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
+include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
+include_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
+include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
+include_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
+include_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
+include_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
 
 
 /*
diff --git a/dev/initdata/generate-societe.php b/dev/initdata/generate-societe.php
index 3f265f2a181..4c0c04df0ab 100644
--- a/dev/initdata/generate-societe.php
+++ b/dev/initdata/generate-societe.php
@@ -34,12 +34,12 @@ if (substr($sapi_type, 0, 3) == 'cgi') {
 // Recupere root dolibarr
 $path=preg_replace('/generate-societe.php/i','',$_SERVER["PHP_SELF"]);
 require ($path."../../htdocs/master.inc.php");
-include_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
-include_once(DOL_DOCUMENT_ROOT."/contact/class/contact.class.php");
-include_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
-include_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php");
-include_once(DOL_DOCUMENT_ROOT."/compta/paiement/class/paiement.class.php");
-include_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
+include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
+include_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
+include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
+include_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
+include_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
+include_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
 
 $villes = array("Auray","Baden","Vannes","Pirouville","Haguenau","Souffelweiersheim","Illkirch-Graffenstaden","Lauterbourg","Picauville","Sainte-Mère Eglise","Le Bono");
 $prenoms = array("Joe","Marc","Steve","Laurent","Nico","Isabelle","Dorothee","Saby","Brigitte","Karine","Jose-Anne","Celine","Virginie");
diff --git a/dev/skeletons/modMyModule.class.php b/dev/skeletons/modMyModule.class.php
index 71401511e7a..416b65150cb 100644
--- a/dev/skeletons/modMyModule.class.php
+++ b/dev/skeletons/modMyModule.class.php
@@ -25,7 +25,7 @@
  *  \ingroup    mymodule
  *  \brief      Description and activation file for module MyModule
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/dev/skeletons/skeleton_class.class.php b/dev/skeletons/skeleton_class.class.php
index f5de8e82f8c..3c8db50ee29 100644
--- a/dev/skeletons/skeleton_class.class.php
+++ b/dev/skeletons/skeleton_class.class.php
@@ -105,7 +105,7 @@ class Skeleton_Class // extends CommonObject
 	            // want this action call a trigger.
 
 	            //// Call triggers
-	            //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+	            //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 	            //$interface=new Interfaces($this->db);
 	            //$result=$interface->run_triggers('MYOBJECT_CREATE',$this,$user,$langs,$conf);
 	            //if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -216,7 +216,7 @@ class Skeleton_Class // extends CommonObject
 	            // want this action call a trigger.
 
 	            //// Call triggers
-	            //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+	            //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 	            //$interface=new Interfaces($this->db);
 	            //$result=$interface->run_triggers('MYOBJECT_MODIFY',$this,$user,$langs,$conf);
 	            //if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -265,7 +265,7 @@ class Skeleton_Class // extends CommonObject
 		        // want this action call a trigger.
 
 		        //// Call triggers
-		        //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+		        //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 		        //$interface=new Interfaces($this->db);
 		        //$result=$interface->run_triggers('MYOBJECT_DELETE',$this,$user,$langs,$conf);
 		        //if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/dev/skeletons/skeleton_page.php b/dev/skeletons/skeleton_page.php
index 82d6f74497c..13878312fce 100644
--- a/dev/skeletons/skeleton_page.php
+++ b/dev/skeletons/skeleton_page.php
@@ -36,15 +36,15 @@
 
 // Change this following line to use the correct relative path (../, ../../, etc)
 $res=0;
-if (! $res && file_exists("../main.inc.php")) $res=@include("../main.inc.php");
-if (! $res && file_exists("../../main.inc.php")) $res=@include("../../main.inc.php");
-if (! $res && file_exists("../../../main.inc.php")) $res=@include("../../../main.inc.php");
-if (! $res && file_exists("../../../dolibarr/htdocs/main.inc.php")) $res=@include("../../../dolibarr/htdocs/main.inc.php");     // Used on dev env only
-if (! $res && file_exists("../../../../dolibarr/htdocs/main.inc.php")) $res=@include("../../../../dolibarr/htdocs/main.inc.php");   // Used on dev env only
-if (! $res && file_exists("../../../../../dolibarr/htdocs/main.inc.php")) $res=@include("../../../../../dolibarr/htdocs/main.inc.php");   // Used on dev env only
+if (! $res && file_exists("../main.inc.php")) $res=@include '../main.inc.php';
+if (! $res && file_exists("../../main.inc.php")) $res=@include '../../main.inc.php';
+if (! $res && file_exists("../../../main.inc.php")) $res=@include '../../../main.inc.php';
+if (! $res && file_exists("../../../dolibarr/htdocs/main.inc.php")) $res=@include '../../../dolibarr/htdocs/main.inc.php';     // Used on dev env only
+if (! $res && file_exists("../../../../dolibarr/htdocs/main.inc.php")) $res=@include '../../../../dolibarr/htdocs/main.inc.php';   // Used on dev env only
+if (! $res && file_exists("../../../../../dolibarr/htdocs/main.inc.php")) $res=@include '../../../../../dolibarr/htdocs/main.inc.php';   // Used on dev env only
 if (! $res) die("Include of main fails");
 // Change this following line to use the correct relative path from htdocs
-dol_include_once("/module/class/skeleton_class.class.php");
+dol_include_once('/module/class/skeleton_class.class.php');
 
 // Load traductions files requiredby by page
 $langs->load("companies");
diff --git a/htdocs/adherents/admin/mailman.php b/htdocs/adherents/admin/mailman.php
index ce407584391..5e7aa08f547 100644
--- a/htdocs/adherents/admin/mailman.php
+++ b/htdocs/adherents/admin/mailman.php
@@ -99,7 +99,7 @@ if (($action == 'testsubscribe' || $action == 'testunsubscribe') && ! empty($con
     }
     else
     {
-        include_once(DOL_DOCUMENT_ROOT.'/mailmanspip/class/mailmanspip.class.php');
+        include_once DOL_DOCUMENT_ROOT.'/mailmanspip/class/mailmanspip.class.php';
         $mailmanspip=new MailmanSpip($db);
 
         $object=new stdClass();
diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php
index 99bf68174ae..ece8bcf5cd7 100644
--- a/htdocs/adherents/card_subscriptions.php
+++ b/htdocs/adherents/card_subscriptions.php
@@ -722,7 +722,7 @@ if ($rowid)
         // Link for paypal payment
         if ($conf->paypal->enabled)
         {
-            include_once(DOL_DOCUMENT_ROOT.'/paypal/lib/paypal.lib.php');
+            include_once DOL_DOCUMENT_ROOT.'/paypal/lib/paypal.lib.php';
             print showPaypalPaymentUrl('membersubscription',$object->ref);
         }
 
diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php
index 7e7f73971a7..3c0290b4eeb 100644
--- a/htdocs/adherents/class/adherent.class.php
+++ b/htdocs/adherents/class/adherent.class.php
@@ -162,7 +162,7 @@ class Adherent extends CommonObject
         $from=$conf->email_from;
         if ($conf->global->ADHERENT_MAIL_FROM) $from=$conf->global->ADHERENT_MAIL_FROM;
 
-        include_once(DOL_DOCUMENT_ROOT."/core/class/CMailFile.class.php");
+        include_once DOL_DOCUMENT_ROOT.'/core/class/CMailFile.class.php';
         $mailfile = new CMailFile($subjecttosend, $this->email, $from, $texttosend, $filename_list, $mimetype_list, $mimefilename_list, $addr_cc, $addr_bcc, $deliveryreceipt, $msgishtml);
         if ($mailfile->sendfile())
         {
@@ -345,7 +345,7 @@ class Adherent extends CommonObject
                 if (! $notrigger)
                 {
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('MEMBER_CREATE',$this,$user,$langs,$conf);
                     if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -462,7 +462,7 @@ class Adherent extends CommonObject
 		    $nbrowsaffected+=$this->db->affected_rows($resql);
 
             // Actions on extra fields (by external module)
-            include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
             $hookmanager=new HookManager($this->db);
             $hookmanager->initHooks(array('memberdao'));
             $parameters=array('id'=>$this->id);
@@ -596,7 +596,7 @@ class Adherent extends CommonObject
                 if (! $error && ! $notrigger)
                 {
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('MEMBER_MODIFY',$this,$user,$langs,$conf);
                     if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -729,7 +729,7 @@ class Adherent extends CommonObject
             			if ($this->db->affected_rows($resql))
             			{
             				// Appel des triggers
-            				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             				$interface=new Interfaces($this->db);
             				$result=$interface->run_triggers('MEMBER_DELETE',$this,$user,$langs,$conf);
             				if ($result < 0) {
@@ -852,7 +852,7 @@ class Adherent extends CommonObject
                 if (! $error && ! $notrigger)
                 {
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('MEMBER_NEW_PASSWORD',$this,$user,$langs,$conf);
                     if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1227,7 +1227,7 @@ class Adherent extends CommonObject
                 $this->last_subscription_date_end=$datefin;
 
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('MEMBER_SUBSCRIPTION',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1288,7 +1288,7 @@ class Adherent extends CommonObject
             $this->statut=1;
 
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('MEMBER_VALIDATE',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1338,7 +1338,7 @@ class Adherent extends CommonObject
             $this->statut=0;
 
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('MEMBER_RESILIATE',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1366,7 +1366,7 @@ class Adherent extends CommonObject
     {
         global $conf;
 
-        include_once(DOL_DOCUMENT_ROOT.'/mailmanspip/class/mailmanspip.class.php');
+        include_once DOL_DOCUMENT_ROOT.'/mailmanspip/class/mailmanspip.class.php';
         $mailmanspip=new MailmanSpip($db);
 
         $err=0;
@@ -1412,7 +1412,7 @@ class Adherent extends CommonObject
     {
         global $conf;
 
-        include_once(DOL_DOCUMENT_ROOT.'/mailmanspip/class/mailmanspip.class.php');
+        include_once DOL_DOCUMENT_ROOT.'/mailmanspip/class/mailmanspip.class.php';
         $mailmanspip=new MailmanSpip($db);
 
         $err=0;
diff --git a/htdocs/adherents/class/adherentstats.class.php b/htdocs/adherents/class/adherentstats.class.php
index 4db3884cdad..52d73691cb8 100755
--- a/htdocs/adherents/class/adherentstats.class.php
+++ b/htdocs/adherents/class/adherentstats.class.php
@@ -23,8 +23,8 @@
  *	\brief      Fichier de la classe de gestion des stats des adhérents
  */
 
-include_once DOL_DOCUMENT_ROOT . "/core/class/stats.class.php";
-include_once DOL_DOCUMENT_ROOT . "/adherents/class/cotisation.class.php";
+include_once DOL_DOCUMENT_ROOT . '/core/class/stats.class.php';
+include_once DOL_DOCUMENT_ROOT . '/adherents/class/cotisation.class.php';
 
 
 /**
diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php
index 4abaa9b822e..75a9c9a60cf 100644
--- a/htdocs/adherents/fiche.php
+++ b/htdocs/adherents/fiche.php
@@ -85,7 +85,7 @@ if ($rowid)
 }
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('membercard'));
 
@@ -1128,7 +1128,7 @@ if ($rowid && $action != 'edit')
 		if (empty($login))
 		{
 			// Full firstname and name separated with a dot : firstname.name
-			include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+			include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 			$login=dol_buildlogin($object->lastname,$object->firstname);
 		}
 		if (empty($login)) $login=strtolower(substr($object->firstname, 0, 4)) . strtolower(substr($object->lastname, 0, 4));
@@ -1564,7 +1564,7 @@ if ($rowid && $action != 'edit')
 	    // Action SPIP
 	    if ($conf->mailmanspip->enabled && $conf->global->ADHERENT_USE_SPIP)
 	    {
-            include_once(DOL_DOCUMENT_ROOT.'/mailmanspip/class/mailmanspip.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/mailmanspip/class/mailmanspip.class.php';
             $mailmanspip=new MailmanSpip($db);
 
             $isinspip=$mailmanspip->is_in_spip($object);
diff --git a/htdocs/adherents/stats/geo.php b/htdocs/adherents/stats/geo.php
index fc45ac75dd6..b97133c4606 100755
--- a/htdocs/adherents/stats/geo.php
+++ b/htdocs/adherents/stats/geo.php
@@ -198,7 +198,7 @@ else
 if ($mode == 'memberbycountry')
 {
     $color_file = DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/graph-color.php';
-    if (is_readable($color_file)) include_once($color_file);
+    if (is_readable($color_file)) include_once $color_file;
 
     // Assume we've already included the proper headers so just call our script inline
     // More doc: https://developers.google.com/chart/interactive/docs/gallery/geomap?hl=fr-FR
diff --git a/htdocs/admin/barcode.php b/htdocs/admin/barcode.php
index c9de48afb95..b1112017b80 100644
--- a/htdocs/admin/barcode.php
+++ b/htdocs/admin/barcode.php
@@ -207,7 +207,7 @@ if ($resql)
 			    // Check if directory exists (we do not use dol_is_dir to avoid loading files.lib.php)
 			    if (! is_dir($newdir)) continue;
 
-				$result=@include_once($newdir.$obj->coder.".modules.php");
+				$result=@include_once $newdir.$obj->coder.'.modules.php';
 				if ($result) break;
 			}
 			if ($result)
diff --git a/htdocs/admin/boxes.php b/htdocs/admin/boxes.php
index d454fe4b95a..e1ca04bb00e 100644
--- a/htdocs/admin/boxes.php
+++ b/htdocs/admin/boxes.php
@@ -23,9 +23,9 @@
  */
 
 require '../main.inc.php';
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 require_once DOL_DOCUMENT_ROOT.'/core/class/infobox.class.php';
-include_once(DOL_DOCUMENT_ROOT."/core/lib/admin.lib.php");
+include_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
 
 $langs->load("admin");
 
diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php
index b6bca0eefeb..80f6d04921a 100644
--- a/htdocs/admin/dict.php
+++ b/htdocs/admin/dict.php
@@ -62,7 +62,7 @@ $pageprev = $page - 1;
 $pagenext = $page + 1;
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('admin'));
 
diff --git a/htdocs/admin/mails.php b/htdocs/admin/mails.php
index 98b91883366..e3e822577ee 100644
--- a/htdocs/admin/mails.php
+++ b/htdocs/admin/mails.php
@@ -117,7 +117,7 @@ if (! empty($_POST['removedfile']) || ! empty($_POST['removedfilehtml']))
 		{
 			setEventMessage($langs->trans("FileWasRemoved"), $filetodelete);
 
-			include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+			include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
 			$formmail = new FormMail($db);
 			$formmail->remove_attached_files($keytodelete);
 		}
@@ -154,7 +154,7 @@ if (($action == 'send' || $action == 'sendhtml') && ! GETPOST('addfile') && ! GE
 	$deliveryreceipt= $_POST["deliveryreceipt"];
 
 	// Create form object
-	include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+	include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
 	$formmail = new FormMail($db);
 
 	$attachedfiles=$formmail->get_attached_files();
@@ -644,7 +644,7 @@ else
 		// If we use SSL/TLS
 		if (! empty($conf->global->MAIN_MAIL_EMAIL_TLS) && function_exists('openssl_open')) $server='ssl://'.$server;
 
-		include_once(DOL_DOCUMENT_ROOT."/core/class/CMailFile.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/core/class/CMailFile.class.php';
 		$mail = new CMailFile('','','','');
 		$result=$mail->check_server_port($server,$port);
 		if ($result) print '<div class="ok">'.$langs->trans("ServerAvailableOnIPOrPort",$server,$port).'</div>';
@@ -664,7 +664,7 @@ else
 		print_titre($langs->trans("DoTestSend"));
 
 		// Cree l'objet formulaire mail
-		include_once(DOL_DOCUMENT_ROOT."/core/class/html.formmail.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
 		$formmail = new FormMail($db);
 		$formmail->fromname = (isset($_POST['fromname'])?$_POST['fromname']:$conf->global->MAIN_MAIL_EMAIL_FROM);
 		$formmail->frommail = (isset($_POST['frommail'])?$_POST['frommail']:$conf->global->MAIN_MAIL_EMAIL_FROM);
@@ -709,7 +709,7 @@ else
 		print_titre($langs->trans("DoTestSendHTML"));
 
 		// Cree l'objet formulaire mail
-		include_once(DOL_DOCUMENT_ROOT."/core/class/html.formmail.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
 		$formmail = new FormMail($db);
 		$formmail->fromname = (isset($_POST['fromname'])?$_POST['fromname']:$conf->global->MAIN_MAIL_EMAIL_FROM);
 		$formmail->frommail = (isset($_POST['frommail'])?$_POST['frommail']:$conf->global->MAIN_MAIL_EMAIL_FROM);
diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php
index fd459051604..c142bcde3ea 100644
--- a/htdocs/admin/modules.php
+++ b/htdocs/admin/modules.php
@@ -133,7 +133,7 @@ foreach ($modulesdir as $dir)
 
 		            try
 		            {
-		                $res=include_once($dir.$file);
+		                $res=include_once $dir.$file;
 		                $objMod = new $modName($db);
 						$modNameLoaded[$modName]=$dir;
 
diff --git a/htdocs/admin/pdf.php b/htdocs/admin/pdf.php
index 8c9178e895a..be361ec177e 100755
--- a/htdocs/admin/pdf.php
+++ b/htdocs/admin/pdf.php
@@ -256,7 +256,7 @@ else	// Show
     $pdfformatlabel='';
     if (empty($conf->global->MAIN_PDF_FORMAT))
     {
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
         $pdfformatlabel=dol_getDefaultFormat();
     }
     else $pdfformatlabel=$conf->global->MAIN_PDF_FORMAT;
diff --git a/htdocs/admin/perms.php b/htdocs/admin/perms.php
index 52482b07158..04cb8e6a569 100644
--- a/htdocs/admin/perms.php
+++ b/htdocs/admin/perms.php
@@ -99,7 +99,7 @@ foreach ($modulesdir as $dir)
 
                 if ($modName)
                 {
-                	include_once($dir.$file);
+                	include_once $dir.$file;
     	            $objMod = new $modName($db);
 
     	            // Load all lang files of module
diff --git a/htdocs/admin/sms.php b/htdocs/admin/sms.php
index 0406e99d971..34c74319b4f 100755
--- a/htdocs/admin/sms.php
+++ b/htdocs/admin/sms.php
@@ -82,7 +82,7 @@ if ($action == 'send' && ! $_POST['cancel'])
     $errors_to  = GETPOST("errorstosms");
 
 	// Create form object
-	include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formsms.class.php');
+	include_once DOL_DOCUMENT_ROOT.'/core/class/html.formsms.class.php';
 	$formsms = new FormSms($db);
 
 	if (! empty($formsms->error))
@@ -295,7 +295,7 @@ else
 		// If we use SSL/TLS
 		if (! empty($conf->global->MAIN_MAIL_EMAIL_TLS) && function_exists('openssl_open')) $server='ssl://'.$server;
 
-		include_once(DOL_DOCUMENT_ROOT."/core/class/CMailFile.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/core/class/CMailFile.class.php';
 		$mail = new CSMSFile('','','','');
 		$result=$mail->check_server_port($server,$port);
 		if ($result) print '<div class="ok">'.$langs->trans("ServerAvailableOnIPOrPort",$server,$port).'</div>';
@@ -315,7 +315,7 @@ else
 		print_titre($langs->trans("DoTestSend"));
 
 		// Cree l'objet formulaire mail
-		include_once(DOL_DOCUMENT_ROOT."/core/class/html.formsms.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/core/class/html.formsms.class.php';
 		$formsms = new FormSms($db);
         $formsms->fromtype='user';
         $formsms->fromid=$user->id;
diff --git a/htdocs/admin/syslog.php b/htdocs/admin/syslog.php
index 44cf3fb6761..312a99649c2 100644
--- a/htdocs/admin/syslog.php
+++ b/htdocs/admin/syslog.php
@@ -193,7 +193,7 @@ print '</td></tr>';
 try
 {
     set_include_path('/usr/share/php/');
-    $res=@include_once('FirePHPCore/FirePHP.class.php');
+    $res=@include_once 'FirePHPCore/FirePHP.class.php';
     restore_include_path();
     if ($res)
     {
diff --git a/htdocs/admin/system/modules.php b/htdocs/admin/system/modules.php
index 2802818b038..0c038dfd4f7 100644
--- a/htdocs/admin/system/modules.php
+++ b/htdocs/admin/system/modules.php
@@ -63,7 +63,7 @@ foreach($modulesdir as $dir)
 
     			if ($modName)
     			{
-    				include_once($dir.$file);
+    				include_once $dir.$file;
     				$objMod = new $modName($db);
 
     				$modules[$objMod->numero]=$objMod;
diff --git a/htdocs/admin/tools/purge.php b/htdocs/admin/tools/purge.php
index c4d9c721f6e..b835b4a5953 100644
--- a/htdocs/admin/tools/purge.php
+++ b/htdocs/admin/tools/purge.php
@@ -22,7 +22,7 @@
  */
 
 require '../../main.inc.php';
-include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
 
 $langs->load("admin");
 
diff --git a/htdocs/admin/tools/update.php b/htdocs/admin/tools/update.php
index 04c5fb12d6c..1487cddbe33 100644
--- a/htdocs/admin/tools/update.php
+++ b/htdocs/admin/tools/update.php
@@ -23,7 +23,7 @@
  */
 
 require '../../main.inc.php';
-include_once $dolibarr_main_document_root."/core/lib/files.lib.php";
+include_once $dolibarr_main_document_root.'/core/lib/files.lib.php';
 
 $langs->load("admin");
 $langs->load("other");
diff --git a/htdocs/admin/triggers.php b/htdocs/admin/triggers.php
index a9c42e0bdd6..d46631fdbf5 100644
--- a/htdocs/admin/triggers.php
+++ b/htdocs/admin/triggers.php
@@ -52,7 +52,7 @@ $template_dir = DOL_DOCUMENT_ROOT.'/core/tpl/';
 $interfaces = new Interfaces($db);
 $triggers = $interfaces->getTriggersList(0,'priority');
 
-include($template_dir.'triggers.tpl.php');
+include $template_dir.'triggers.tpl.php';
 
 llxFooter();
 
diff --git a/htdocs/asterisk/cidlookup.php b/htdocs/asterisk/cidlookup.php
index 34ee081b5b3..d907bab6e59 100644
--- a/htdocs/asterisk/cidlookup.php
+++ b/htdocs/asterisk/cidlookup.php
@@ -30,7 +30,7 @@
 
 $phone = $_GET['phone'];
 
-include("../master.inc.php");
+include '../master.inc.php';
 
 
 // Check parameters
diff --git a/htdocs/boutique/client/fiche.php b/htdocs/boutique/client/fiche.php
index 6da095e5ce1..3e67a6a772f 100644
--- a/htdocs/boutique/client/fiche.php
+++ b/htdocs/boutique/client/fiche.php
@@ -26,7 +26,7 @@
 
 require '../../main.inc.php';
 require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
-include_once(DOL_DOCUMENT_ROOT.'/boutique/client/class/boutiqueclient.class.php');
+include_once DOL_DOCUMENT_ROOT.'/boutique/client/class/boutiqueclient.class.php';
 
 
 /*
diff --git a/htdocs/boutique/commande/class/boutiquecommande.class.php b/htdocs/boutique/commande/class/boutiquecommande.class.php
index d0d2f2a008f..8bed790691e 100644
--- a/htdocs/boutique/commande/class/boutiquecommande.class.php
+++ b/htdocs/boutique/commande/class/boutiquecommande.class.php
@@ -23,7 +23,7 @@
  */
 
 require_once DOL_DOCUMENT_ROOT .'/societe/class/address.class.php';
-include_once(DOL_DOCUMENT_ROOT.'/boutique/commande/class/boutiquecommande.class.php');
+include_once DOL_DOCUMENT_ROOT.'/boutique/commande/class/boutiquecommande.class.php';
 
 
 /**
diff --git a/htdocs/boutique/commande/fiche.php b/htdocs/boutique/commande/fiche.php
index aa58deac4fc..5753aba6187 100644
--- a/htdocs/boutique/commande/fiche.php
+++ b/htdocs/boutique/commande/fiche.php
@@ -26,7 +26,7 @@
 
 require '../../main.inc.php';
 require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
-include_once(DOL_DOCUMENT_ROOT.'/boutique/commande/class/boutiquecommande.class.php');
+include_once DOL_DOCUMENT_ROOT.'/boutique/commande/class/boutiquecommande.class.php';
 
 $langs->load("products");
 
diff --git a/htdocs/cashdesk/affContenu.php b/htdocs/cashdesk/affContenu.php
index 47c6fa51a37..a4d01739861 100644
--- a/htdocs/cashdesk/affContenu.php
+++ b/htdocs/cashdesk/affContenu.php
@@ -56,11 +56,11 @@ print '<div class="principal">';
 
 if ( $_GET['menu'] )
 {
-	include($_GET['menu'].'.php');
+	include $_GET['menu'].'.php';
 }
 else
 {
-	include('facturation.php');
+	include 'facturation.php';
 }
 
 print '</div>';
diff --git a/htdocs/cashdesk/affIndex.php b/htdocs/cashdesk/affIndex.php
index 0b5e0b2b2f9..be86b0179a1 100644
--- a/htdocs/cashdesk/affIndex.php
+++ b/htdocs/cashdesk/affIndex.php
@@ -64,14 +64,14 @@ print '<div class="conteneur_img_droite">'."\n";
 print '<h1 class="entete"><span>POINT OF SALE</span></h1>'."\n";
 
 print '<div class="menu_principal">'."\n";
-include_once('tpl/menu.tpl.php');
+include_once 'tpl/menu.tpl.php';
 print '</div>'."\n";
 
 print '<div class="contenu">'."\n";
-include_once('affContenu.php');
+include_once 'affContenu.php';
 print '</div>'."\n";
 
-include_once('affPied.php');
+include_once 'affPied.php';
 
 print '</div></div></div>'."\n";
 print '</body></html>'."\n";
diff --git a/htdocs/cashdesk/class/Auth.class.php b/htdocs/cashdesk/class/Auth.class.php
index b625eccd28e..28e7bf25fb7 100644
--- a/htdocs/cashdesk/class/Auth.class.php
+++ b/htdocs/cashdesk/class/Auth.class.php
@@ -122,7 +122,7 @@ class Auth
 
         if ($test && $goontestloop)
         {
-            include_once(DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
 			$login = checkLoginPassEntity($usertotest,$passwordtotest,$entitytotest,$authmode);
             if ($login)
             {
diff --git a/htdocs/cashdesk/class/Facturation.class.php b/htdocs/cashdesk/class/Facturation.class.php
index 19d7bba3914..fb072f27d33 100644
--- a/htdocs/cashdesk/class/Facturation.class.php
+++ b/htdocs/cashdesk/class/Facturation.class.php
@@ -17,7 +17,7 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
-include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
 
 /**
diff --git a/htdocs/cashdesk/index.php b/htdocs/cashdesk/index.php
index c3dcf63b9aa..4fe0a225e3f 100644
--- a/htdocs/cashdesk/index.php
+++ b/htdocs/cashdesk/index.php
@@ -146,7 +146,7 @@ else
 </div>
 </div>
 
-<?php include('affPied.php'); ?></div>
+<?php include 'affPied.php'; ?></div>
 </div>
 </div>
 </body>
diff --git a/htdocs/cashdesk/index_verif.php b/htdocs/cashdesk/index_verif.php
index 62cf2024dd6..d71b2cb866f 100644
--- a/htdocs/cashdesk/index_verif.php
+++ b/htdocs/cashdesk/index_verif.php
@@ -20,7 +20,7 @@
  * We set here login choices into session.
  */
 
-include('../main.inc.php');
+include '../main.inc.php';
 require_once DOL_DOCUMENT_ROOT.'/cashdesk/include/environnement.php';
 require_once DOL_DOCUMENT_ROOT.'/cashdesk/class/Auth.class.php';
 
diff --git a/htdocs/cashdesk/tpl/menu.tpl.php b/htdocs/cashdesk/tpl/menu.tpl.php
index 78fbc8a4f74..ba9767e5983 100644
--- a/htdocs/cashdesk/tpl/menu.tpl.php
+++ b/htdocs/cashdesk/tpl/menu.tpl.php
@@ -19,9 +19,9 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
-include_once(DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php');
-include_once(DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php');
-include_once(DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php');
+include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
+include_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
+include_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php';
 
 if (!empty($_SESSION["CASHDESK_ID_THIRDPARTY"]))
 {
diff --git a/htdocs/cashdesk/tpl/ticket.tpl.php b/htdocs/cashdesk/tpl/ticket.tpl.php
index 49e99bd0d9c..d9767cdb834 100644
--- a/htdocs/cashdesk/tpl/ticket.tpl.php
+++ b/htdocs/cashdesk/tpl/ticket.tpl.php
@@ -16,7 +16,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-include_once(DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php');
+include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
 
 $langs->load("main");
 $langs->load('cashdesk');
diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php
index 07e4396c7b5..34adae9b9d0 100644
--- a/htdocs/categories/class/categorie.class.php
+++ b/htdocs/categories/class/categorie.class.php
@@ -185,7 +185,7 @@ class Categorie
 				}
 
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('CATEGORY_CREATE',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -283,7 +283,7 @@ class Categorie
 			$this->db->commit();
 
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('CATEGORY_MODIFY',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -388,7 +388,7 @@ class Categorie
 			else
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('CATEGORY_DELETE',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; $this->error=join(',',$this->errors); }
@@ -1295,7 +1295,7 @@ class Categorie
 	 */
 	function liste_photos($dir,$nbmax=0)
 	{
-		include_once(DOL_DOCUMENT_ROOT ."/core/lib/files.lib.php");
+		include_once DOL_DOCUMENT_ROOT .'/core/lib/files.lib.php';
 
 		$nbphoto=0;
 		$tabobj=array();
diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php
index 66c2b7ab4de..caab3dcc3a6 100644
--- a/htdocs/comm/action/class/actioncomm.class.php
+++ b/htdocs/comm/action/class/actioncomm.class.php
@@ -211,7 +211,7 @@ class ActionComm extends CommonObject
             if (! $notrigger)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('ACTION_CREATE',$this,$user,$langs,$conf);
                 if ($result < 0) {
@@ -347,7 +347,7 @@ class ActionComm extends CommonObject
             if (! $notrigger)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('ACTION_DELETE',$this,$user,$langs,$conf);
                 if ($result < 0) {
@@ -439,7 +439,7 @@ class ActionComm extends CommonObject
             if (! $notrigger)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('ACTION_MODIFY',$this,$user,$langs,$conf);
                 if ($result < 0) {
@@ -778,7 +778,7 @@ class ActionComm extends CommonObject
         if ($cachedelay)
         {
             $nowgmt = dol_now();
-            include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
             if (dol_filemtime($outputfile) > ($nowgmt - $cachedelay))
             {
                 dol_syslog(get_class($this)."::build_exportfile file ".$outputfile." is not older than now - cachedelay (".$nowgmt." - ".$cachedelay."). Build is canceled");
diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php
index 632f6f0cfa9..1a04f8f86a3 100644
--- a/htdocs/comm/action/fiche.php
+++ b/htdocs/comm/action/fiche.php
@@ -63,7 +63,7 @@ $contact = new Contact($db);
 //var_dump($_POST);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('actioncard'));
 
diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php
index 70f30002852..bf0f58e5843 100644
--- a/htdocs/comm/action/index.php
+++ b/htdocs/comm/action/index.php
@@ -738,7 +738,7 @@ $cachecontacts=array();
 $color_file = DOL_DOCUMENT_ROOT."/theme/".$conf->theme."/graph-color.php";
 if (is_readable($color_file))
 {
-    include_once($color_file);
+    include_once $color_file;
 }
 if (! is_array($theme_datacolor)) $theme_datacolor=array(array(120,130,150), array(200,160,180), array(190,190,220));
 
diff --git a/htdocs/comm/addpropal.php b/htdocs/comm/addpropal.php
index fa62f751632..69adcb1bd9e 100644
--- a/htdocs/comm/addpropal.php
+++ b/htdocs/comm/addpropal.php
@@ -46,7 +46,7 @@ $origin=GETPOST('origin','alpha');
 $originid=GETPOST('originid','int');
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('propalcard'));
 
diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php
index 04b79769579..f5b3b5a611b 100644
--- a/htdocs/comm/fiche.php
+++ b/htdocs/comm/fiche.php
@@ -361,7 +361,7 @@ if ($id > 0)
 	}
 
 	// Sales representative
-	include(DOL_DOCUMENT_ROOT.'/societe/tpl/linesalesrepresentative.tpl.php');
+	include DOL_DOCUMENT_ROOT.'/societe/tpl/linesalesrepresentative.tpl.php';
 
     // Module Adherent
     if ($conf->adherent->enabled)
diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php
index a5954c479d7..da9f1b6e3f8 100644
--- a/htdocs/comm/mailing/cibles.php
+++ b/htdocs/comm/mailing/cibles.php
@@ -464,21 +464,21 @@ if ($object->fetch($id) >= 0)
                 {
                     if ($obj->source_type == 'member')
                     {
-                        include_once(DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php');
+                        include_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
                         $m=new Adherent($db);
                         $m->id=$obj->source_id;
                         print $m->getNomUrl(2);
                     }
                     else if ($obj->source_type == 'user')
                     {
-                        include_once(DOL_DOCUMENT_ROOT.'/user/class/user.class.php');
+                        include_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php';
                         $m=new User($db);
                         $m->id=$obj->source_id;
                         print $m->getNomUrl(2);
                     }
                     else if ($obj->source_type == 'thirdparty')
                     {
-                        include_once(DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php');
+                        include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
                         $m=new Societe($db);
                         $m->id=$obj->source_id;
                         print $m->getNomUrl(2);
diff --git a/htdocs/comm/mailing/fiche.php b/htdocs/comm/mailing/fiche.php
index 6257754d4a1..96b21b1a192 100644
--- a/htdocs/comm/mailing/fiche.php
+++ b/htdocs/comm/mailing/fiche.php
@@ -47,7 +47,7 @@ $result=$object->fetch($id);
 $extrafields = new ExtraFields($db);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('mailingcard'));
 
@@ -929,7 +929,7 @@ else
 				print_titre($langs->trans("TestMailing"));
 
 				// Create l'objet formulaire mail
-				include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+				include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
 				$formmail = new FormMail($db);
 				$formmail->fromname = $object->email_from;
 				$formmail->frommail = $object->email_from;
diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index a26164ebfdc..5840e661442 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -100,7 +100,7 @@ if ($id > 0 || ! empty($ref))
 }
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('propalcard'));
 
@@ -514,7 +514,7 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
 			$actionmsg2=$langs->transnoentities('Action'.$actiontypecode);
 
 			// Create form object
-			include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+			include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
 			$formmail = new FormMail($db);
 
 			$attachedfiles=$formmail->get_attached_files();
@@ -543,7 +543,7 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
 					$object->elementtype	= $object->element;
 
 					// Appel des triggers
-					include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+					include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 					$interface=new Interfaces($db);
 					$result=$interface->run_triggers('PROPAL_SENTBYMAIL',$object,$user,$langs,$conf);
 					if ($result < 0) {
@@ -1509,14 +1509,14 @@ if (! empty($conf->global->MAIN_DISABLE_CONTACTS_TAB))
 
 	$blocname = 'contacts';
 	$title = $langs->trans('ContactsAddresses');
-	include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+	include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
 }
 
 if (! empty($conf->global->MAIN_DISABLE_NOTES_TAB))
 {
 	$blocname = 'notes';
 	$title = $langs->trans('Notes');
-	include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+	include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
 }
 
 /*
@@ -1525,7 +1525,7 @@ if (! empty($conf->global->MAIN_DISABLE_NOTES_TAB))
 
 if ($conf->use_javascript_ajax && $object->statut == 0)
 {
-	include(DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php');
+	include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php';
 }
 
 print '<table id="tablelines" class="noborder" width="100%">';
@@ -1710,7 +1710,7 @@ if ($action != 'presend')
 	print '</td><td valign="top" width="50%">';
 
 	// List of actions on element
-	include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php');
+	include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
 	$formactions=new FormActions($db);
 	$somethingshown=$formactions->showactions($object,'propal',$socid);
 
@@ -1725,7 +1725,7 @@ if ($action != 'presend')
 if ($action == 'presend')
 {
 	$ref = dol_sanitizeFileName($object->ref);
-    include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+    include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
     $fileparams = dol_most_recent_file($conf->propal->dir_output . '/' . $ref);
     $file=$fileparams['fullname'];
 
@@ -1757,7 +1757,7 @@ if ($action == 'presend')
 	print_titre($langs->trans('SendPropalByMail'));
 
 	// Create form object
-	include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+	include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
 	$formmail = new FormMail($db);
 	$formmail->fromtype = 'user';
 	$formmail->fromid   = $user->id;
diff --git a/htdocs/comm/propal/class/propal.class.php b/htdocs/comm/propal/class/propal.class.php
index 5a545224cc9..e8d2332a40d 100644
--- a/htdocs/comm/propal/class/propal.class.php
+++ b/htdocs/comm/propal/class/propal.class.php
@@ -214,8 +214,8 @@ class Propal extends CommonObject
     {
         global $langs;
 
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
-        include_once(DOL_DOCUMENT_ROOT.'/core/class/discount.class.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
+        include_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
 
         $this->db->begin();
 
@@ -314,7 +314,7 @@ class Propal extends CommonObject
         global $conf;
 
         dol_syslog("Propal::Addline propalid=$propalid, desc=$desc, pu_ht=$pu_ht, qty=$qty, txtva=$txtva, fk_product=$fk_product, remise_except=$remise_percent, price_base_type=$price_base_type, pu_ttc=$pu_ttc, info_bits=$info_bits, type=$type");
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
         // Clean parameters
         if (empty($remise_percent)) $remise_percent=0;
@@ -467,7 +467,7 @@ class Propal extends CommonObject
         global $conf,$user,$langs;
 
         dol_syslog(get_class($this)."::updateLine $rowid, $pu, $qty, $remise_percent, $txtva, $desc, $price_base_type, $info_bits");
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
         // Clean parameters
         $remise_percent=price2num($remise_percent);
@@ -799,7 +799,7 @@ class Propal extends CommonObject
                         if (! $notrigger)
                         {
                             // Appel des triggers
-                            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                             $interface=new Interfaces($this->db);
                             $result=$interface->run_triggers('PROPAL_CREATE',$this,$user,$langs,$conf);
                             if ($result < 0) {
@@ -936,7 +936,7 @@ class Propal extends CommonObject
             }
 
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('PROPAL_CLONE',$this,$user,$langs,$conf);
             if ($result < 0) {
@@ -1187,7 +1187,7 @@ class Propal extends CommonObject
                 if (! $notrigger)
                 {
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('PROPAL_VALIDATE',$this,$user,$langs,$conf);
                     if ($result < 0) {
@@ -1544,7 +1544,7 @@ class Propal extends CommonObject
                 }
 
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('PROPAL_CLOSE_SIGNED',$this,$user,$langs,$conf);
                 if ($result < 0) {
@@ -1555,7 +1555,7 @@ class Propal extends CommonObject
             else
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('PROPAL_CLOSE_REFUSED',$this,$user,$langs,$conf);
                 if ($result < 0) {
@@ -1806,7 +1806,7 @@ class Propal extends CommonObject
         if (! $error && ! $notrigger)
         {
             // Call triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('PROPAL_DELETE',$this,$user,$langs,$conf);
             if ($result < 0) {
@@ -2659,7 +2659,7 @@ class PropaleLigne
             if (! $notrigger)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result = $interface->run_triggers('LINEPROPAL_INSERT',$this,$user,$langs,$conf);
                 if ($result < 0) {
@@ -2697,7 +2697,7 @@ class PropaleLigne
         if ($this->db->query($sql) )
         {
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result = $interface->run_triggers('LINEPROPAL_DELETE',$this,$user,$langs,$conf);
             if ($result < 0) {
@@ -2787,7 +2787,7 @@ class PropaleLigne
             if (! $notrigger)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result = $interface->run_triggers('LINEPROPAL_UPDATE',$this,$user,$langs,$conf);
                 if ($result < 0) {
diff --git a/htdocs/comm/propal/class/propalestats.class.php b/htdocs/comm/propal/class/propalestats.class.php
index 7c3b0c27eb0..f588ada366f 100644
--- a/htdocs/comm/propal/class/propalestats.class.php
+++ b/htdocs/comm/propal/class/propalestats.class.php
@@ -24,8 +24,8 @@
  *	\brief      Fichier de la classe de gestion des stats des propales
  */
 
-include_once DOL_DOCUMENT_ROOT . "/core/class/stats.class.php";
-include_once DOL_DOCUMENT_ROOT . "/comm/propal/class/propal.class.php";
+include_once DOL_DOCUMENT_ROOT . '/core/class/stats.class.php';
+include_once DOL_DOCUMENT_ROOT . '/comm/propal/class/propal.class.php';
 
 
 /**
diff --git a/htdocs/comm/propal/contact.php b/htdocs/comm/propal/contact.php
index 6264810c37d..c2b2a74f66c 100644
--- a/htdocs/comm/propal/contact.php
+++ b/htdocs/comm/propal/contact.php
@@ -208,7 +208,7 @@ if ($id > 0 || ! empty($ref))
 		$dirtpls=array_merge($conf->modules_parts['tpl'],array('/core/tpl'));
 		foreach($dirtpls as $reldir)
 		{
-		    $res=@include(dol_buildpath($reldir.'/contacts.tpl.php'));
+		    $res=@include dol_buildpath($reldir.'/contacts.tpl.php');
 		    if ($res) break;
 		}
 
diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php
index a8bb8278e3a..cfa4b625f5d 100644
--- a/htdocs/comm/propal/list.php
+++ b/htdocs/comm/propal/list.php
@@ -91,7 +91,7 @@ if ($id > 0 || ! empty($ref))
 }
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('propalcard'));
 
diff --git a/htdocs/comm/propal/note.php b/htdocs/comm/propal/note.php
index fec1a0d193e..e285d9e3ac2 100644
--- a/htdocs/comm/propal/note.php
+++ b/htdocs/comm/propal/note.php
@@ -146,7 +146,7 @@ if ($id > 0 || ! empty($ref))
 
 			print '<br>';
 
-			include(DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php');
+			include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php';
 
 			dol_fiche_end();
 		}
diff --git a/htdocs/comm/prospect/class/prospect.class.php b/htdocs/comm/prospect/class/prospect.class.php
index b6ce9b07032..884317265a1 100644
--- a/htdocs/comm/prospect/class/prospect.class.php
+++ b/htdocs/comm/prospect/class/prospect.class.php
@@ -22,7 +22,7 @@
  *		\ingroup    societe
  *		\brief      Fichier de la classe des prospects
  */
-include_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
+include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
 
 
 /**
diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php
index 707fc3b12ff..3a16307a760 100644
--- a/htdocs/comm/prospect/fiche.php
+++ b/htdocs/comm/prospect/fiche.php
@@ -178,7 +178,7 @@ if ($socid > 0)
 	print '</td></tr>';
 
 	// Sales representative
-	include(DOL_DOCUMENT_ROOT.'/societe/tpl/linesalesrepresentative.tpl.php');
+	include DOL_DOCUMENT_ROOT.'/societe/tpl/linesalesrepresentative.tpl.php';
 
     // Module Adherent
     if ($conf->adherent->enabled)
diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php
index 316ebc0900e..ff2a070d08a 100644
--- a/htdocs/commande/class/commande.class.php
+++ b/htdocs/commande/class/commande.class.php
@@ -26,7 +26,7 @@
  *  \ingroup    commande
  *  \brief      Fichier des classes de commandes
  */
-include_once(DOL_DOCUMENT_ROOT."/core/class/commonorder.class.php");
+include_once DOL_DOCUMENT_ROOT.'/core/class/commonorder.class.php';
 require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
 require_once DOL_DOCUMENT_ROOT .'/margin/lib/margins.lib.php';
 
@@ -137,7 +137,7 @@ class Commande extends CommonOrder
             // Chargement de la classe de numerotation
             $classname = $conf->global->COMMANDE_ADDON;
 
-            $result=include_once($dir.'/'.$file);
+            $result=include_once $dir.'/'.$file;
             if ($result)
             {
                 $obj = new $classname();
@@ -296,7 +296,7 @@ class Commande extends CommonOrder
         if (! $error)
         {
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('ORDER_VALIDATE',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -424,7 +424,7 @@ class Commande extends CommonOrder
         if ($resql)
         {
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('BILL_REOPEN',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -480,7 +480,7 @@ class Commande extends CommonOrder
             if ($this->db->query($sql))
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('ORDER_CLOSE',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -557,7 +557,7 @@ class Commande extends CommonOrder
 			if (! $error)
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('ORDER_CANCEL',$this,$user,$langs,$conf);
 				if ($result < 0) {
@@ -763,7 +763,7 @@ class Commande extends CommonOrder
                     if (! $notrigger)
                     {
                         // Appel des triggers
-                        include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                        include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                         $interface=new Interfaces($this->db);
                         $result=$interface->run_triggers('ORDER_CREATE',$this,$user,$langs,$conf);
                         if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -850,7 +850,7 @@ class Commande extends CommonOrder
             }
 
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('ORDER_CLONE',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -945,7 +945,7 @@ class Commande extends CommonOrder
                 // Actions hooked (by external module)
                 if (! is_object($hookmanager))
                 {
-                	include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+                	include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
                 	$hookmanager=new HookManager($this->db);
                 }
                 $hookmanager->initHooks(array('orderdao'));
@@ -1010,7 +1010,7 @@ class Commande extends CommonOrder
     {
         dol_syslog(get_class($this)."::addline commandeid=$commandeid, desc=$desc, pu_ht=$pu_ht, qty=$qty, txtva=$txtva, fk_product=$fk_product, remise_percent=$remise_percent, info_bits=$info_bits, fk_remise_except=$fk_remise_except, price_base_type=$price_base_type, pu_ttc=$pu_ttc, date_start=$date_start, date_end=$date_end, type=$type", LOG_DEBUG);
 
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
         // Clean parameters
         if (empty($remise_percent)) $remise_percent=0;
@@ -1349,8 +1349,8 @@ class Commande extends CommonOrder
     {
         global $langs;
 
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
-        include_once(DOL_DOCUMENT_ROOT.'/core/class/discount.class.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
+        include_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
 
         $this->db->begin();
 
@@ -2090,7 +2090,7 @@ class Commande extends CommonOrder
 		if ($this->db->query($sql))
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('ORDER_CLASSIFY_BILLED',$this,$user,$langs,$conf);
 			if ($result < 0) {
@@ -2161,7 +2161,7 @@ class Commande extends CommonOrder
         global $conf;
 
         dol_syslog(get_class($this)."::updateline $rowid, $desc, $pu, $qty, $remise_percent, $txtva, $txlocaltax1, $txlocaltax2, $price_base_type, $info_bits, $date_start, $date_end, $type");
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
         if ($this->brouillon)
         {
@@ -2296,7 +2296,7 @@ class Commande extends CommonOrder
         if (! $error && ! $notrigger)
         {
         	// Appel des triggers
-        	include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+        	include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
         	$interface=new Interfaces($this->db);
         	$result=$interface->run_triggers('ORDER_DELETE',$this,$user,$langs,$conf);
         	if ($result < 0) {
@@ -2957,7 +2957,7 @@ class OrderLine
         if ($resql)
         {
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('LINEORDER_DELETE',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -3056,7 +3056,7 @@ class OrderLine
             if (! $notrigger)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('LINEORDER_INSERT',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -3147,7 +3147,7 @@ class OrderLine
 			if (! $notrigger)
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result = $interface->run_triggers('LINEORDER_UPDATE',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/commande/class/commandestats.class.php b/htdocs/commande/class/commandestats.class.php
index 88875f1d08f..cee15c0645f 100644
--- a/htdocs/commande/class/commandestats.class.php
+++ b/htdocs/commande/class/commandestats.class.php
@@ -23,9 +23,9 @@
  *       \ingroup    commandes
  *       \brief      Fichier de la classe de gestion des stats des commandes
  */
-include_once DOL_DOCUMENT_ROOT . "/core/class/stats.class.php";
-include_once DOL_DOCUMENT_ROOT . "/commande/class/commande.class.php";
-include_once DOL_DOCUMENT_ROOT . "/fourn/class/fournisseur.commande.class.php";
+include_once DOL_DOCUMENT_ROOT . '/core/class/stats.class.php';
+include_once DOL_DOCUMENT_ROOT . '/commande/class/commande.class.php';
+include_once DOL_DOCUMENT_ROOT . '/fourn/class/fournisseur.commande.class.php';
 
 
 /**
diff --git a/htdocs/commande/contact.php b/htdocs/commande/contact.php
index 3516e8b0833..0d8ec10ea73 100644
--- a/htdocs/commande/contact.php
+++ b/htdocs/commande/contact.php
@@ -210,7 +210,7 @@ if ($id > 0 || ! empty($ref))
 		$dirtpls=array_merge($conf->modules_parts['tpl'],array('/core/tpl'));
 		foreach($dirtpls as $reldir)
 		{
-		    $res=@include(dol_buildpath($reldir.'/contacts.tpl.php'));
+		    $res=@include dol_buildpath($reldir.'/contacts.tpl.php');
 		    if ($res) break;
 		}
 	}
diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php
index 235b5680c25..23f2f1334b6 100644
--- a/htdocs/commande/fiche.php
+++ b/htdocs/commande/fiche.php
@@ -83,7 +83,7 @@ if ($id > 0 || ! empty($ref))
 }
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('ordercard'));
 
@@ -1120,7 +1120,7 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
 			}
 
 			// Create form object
-			include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+			include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
 			$formmail = new FormMail($db);
 
 			$attachedfiles=$formmail->get_attached_files();
@@ -1153,7 +1153,7 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
 					$object->elementtype	= $object->element;
 
 					// Appel des triggers
-					include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+					include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 					$interface=new Interfaces($db);
 					$result=$interface->run_triggers('ORDER_SENTBYMAIL',$object,$user,$langs,$conf);
 					if ($result < 0) {
@@ -1480,7 +1480,7 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
 		// Template to use by default
 		print '<tr><td>'.$langs->trans('Model').'</td>';
 		print '<td colspan="2">';
-		include_once(DOL_DOCUMENT_ROOT.'/core/modules/commande/modules_commande.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/modules/commande/modules_commande.php';
 		$liste=ModelePDFCommandes::liste_modeles($db);
 		print $form->selectarray('model',$liste,$conf->global->COMMANDE_ADDON_PDF);
 		print "</td></tr>";
@@ -2060,14 +2060,14 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
 
 				$blocname = 'contacts';
 				$title = $langs->trans('ContactsAddresses');
-				include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+				include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
 			}
 
 			if (! empty($conf->global->MAIN_DISABLE_NOTES_TAB))
 			{
 				$blocname = 'notes';
 				$title = $langs->trans('Notes');
-				include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+				include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
 			}
 
 			/*
@@ -2079,7 +2079,7 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
 
 			if ($conf->use_javascript_ajax && $object->statut == 0)
 			{
-				include(DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php');
+				include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php';
 			}
 
 			print '<table id="tablelines" class="noborder" width="100%">';
@@ -2256,7 +2256,7 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
 				print '</td><td valign="top" width="50%">';
 
 				// List of actions on element
-				include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php');
+				include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
 				$formactions=new FormActions($db);
 				$somethingshown=$formactions->showactions($object,'order',$socid);
 
@@ -2271,7 +2271,7 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
 			if ($action == 'presend')
 			{
 				$ref = dol_sanitizeFileName($object->ref);
-				include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+				include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
 				$fileparams = dol_most_recent_file($conf->commande->dir_output . '/' . $ref);
 				$file=$fileparams['fullname'];
 
@@ -2303,7 +2303,7 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
 				print_titre($langs->trans('SendOrderByMail'));
 
 				// Cree l'objet formulaire mail
-				include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+				include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
 				$formmail = new FormMail($db);
 				$formmail->fromtype = 'user';
 				$formmail->fromid   = $user->id;
diff --git a/htdocs/commande/note.php b/htdocs/commande/note.php
index 9ecc195d794..dab125c5c61 100644
--- a/htdocs/commande/note.php
+++ b/htdocs/commande/note.php
@@ -113,7 +113,7 @@ if ($id > 0 || ! empty($ref))
 
 	print '<br>';
 
-	include(DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php');
+	include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php';
 
 	print '</div>';
 }
diff --git a/htdocs/commande/orderstoinvoice.php b/htdocs/commande/orderstoinvoice.php
index 83f31fe7598..87dfe719398 100755
--- a/htdocs/commande/orderstoinvoice.php
+++ b/htdocs/commande/orderstoinvoice.php
@@ -426,7 +426,7 @@ if ($action == 'create')
 	// Modele PDF
 	print '<tr><td>'.$langs->trans('Model').'</td>';
 	print '<td>';
-	include_once(DOL_DOCUMENT_ROOT.'/core/modules/facture/modules_facture.php');
+	include_once DOL_DOCUMENT_ROOT.'/core/modules/facture/modules_facture.php';
 	$liste=ModelePDFFactures::liste_modeles($db);
 	print $html->selectarray('model',$liste,$conf->global->FACTURE_ADDON_PDF);
 	print "</td></tr>";
diff --git a/htdocs/commissions/admin/commissions.php b/htdocs/commissions/admin/commissions.php
index 038d7fbe304..66911efc924 100644
--- a/htdocs/commissions/admin/commissions.php
+++ b/htdocs/commissions/admin/commissions.php
@@ -21,7 +21,7 @@
  *		\brief      Page to setup advanced commissions module
  */
 
-include("../../main.inc.php");
+include '../../main.inc.php';
 require_once DOL_DOCUMENT_ROOT.'/commissions/lib/commissions.lib.php';
 require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
 
diff --git a/htdocs/compta/bank/class/bankcateg.class.php b/htdocs/compta/bank/class/bankcateg.class.php
index 096b33563e4..3442f476b3a 100644
--- a/htdocs/compta/bank/class/bankcateg.class.php
+++ b/htdocs/compta/bank/class/bankcateg.class.php
@@ -98,7 +98,7 @@ class BankCateg // extends CommonObject
                 // want this action call a trigger.
 
                 //// Call triggers
-                //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 //$interface=new Interfaces($this->db);
                 //$result=$interface->run_triggers('MYOBJECT_CREATE',$this,$user,$langs,$conf);
                 //if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -204,7 +204,7 @@ class BankCateg // extends CommonObject
                 // want this action call a trigger.
 
                 //// Call triggers
-                //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 //$interface=new Interfaces($this->db);
                 //$result=$interface->run_triggers('MYOBJECT_MODIFY',$this,$user,$langs,$conf);
                 //if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -261,7 +261,7 @@ class BankCateg // extends CommonObject
                 // want this action call a trigger.
 
                 //// Call triggers
-                //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 //$interface=new Interfaces($this->db);
                 //$result=$interface->run_triggers('MYOBJECT_DELETE',$this,$user,$langs,$conf);
                 //if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php
index 32be2e05211..7d18abb7de4 100644
--- a/htdocs/compta/bank/ligne.php
+++ b/htdocs/compta/bank/ligne.php
@@ -378,7 +378,7 @@ if ($result)
             print '<input type="text" class="flat" name="num_chq" value="'.(empty($objp->num_chq) ? '' : $objp->num_chq).'">';
             if ($objp->receiptid)
             {
-                include_once(DOL_DOCUMENT_ROOT.'/compta/paiement/cheque/class/remisecheque.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/compta/paiement/cheque/class/remisecheque.class.php';
                 $receipt=new RemiseCheque($db);
                 $receipt->fetch($objp->receiptid);
                 print ' &nbsp; &nbsp; '.$langs->trans("CheckReceipt").': '.$receipt->getNomUrl(2);
diff --git a/htdocs/compta/deplacement/class/deplacement.class.php b/htdocs/compta/deplacement/class/deplacement.class.php
index 05617fe0048..8d4abc48075 100644
--- a/htdocs/compta/deplacement/class/deplacement.class.php
+++ b/htdocs/compta/deplacement/class/deplacement.class.php
@@ -124,7 +124,7 @@ class Deplacement extends CommonObject
 			$this->id = $this->db->last_insert_id(MAIN_DB_PREFIX."deplacement");
 
                         // Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('DEPLACEMENT_CREATE',$this,$user,$langs,$conf);
 			if ($result < 0) {
diff --git a/htdocs/compta/deplacement/class/deplacementstats.class.php b/htdocs/compta/deplacement/class/deplacementstats.class.php
index f41a8c663cf..60bd8e531e7 100644
--- a/htdocs/compta/deplacement/class/deplacementstats.class.php
+++ b/htdocs/compta/deplacement/class/deplacementstats.class.php
@@ -22,8 +22,8 @@
  *       \ingroup    factures
  *       \brief      Fichier de la classe de gestion des stats des deplacement et notes de frais
  */
-include_once DOL_DOCUMENT_ROOT . "/core/class/stats.class.php";
-include_once DOL_DOCUMENT_ROOT . "/compta/deplacement/class/deplacement.class.php";
+include_once DOL_DOCUMENT_ROOT . '/core/class/stats.class.php';
+include_once DOL_DOCUMENT_ROOT . '/compta/deplacement/class/deplacement.class.php';
 
 /**
  *       \class      DeplacementStats
diff --git a/htdocs/compta/deplacement/fiche.php b/htdocs/compta/deplacement/fiche.php
index cd66af34cc3..8de8ae47970 100644
--- a/htdocs/compta/deplacement/fiche.php
+++ b/htdocs/compta/deplacement/fiche.php
@@ -49,7 +49,7 @@ $mesg = '';
 $object = new Deplacement($db);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('tripsandexpensescard'));
 
@@ -530,7 +530,7 @@ else if ($id)
             // Notes
             $blocname = 'notes';
             $title = $langs->trans('Notes');
-            include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+            include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
 
             print '</div>';
 
diff --git a/htdocs/compta/dons/class/don.class.php b/htdocs/compta/dons/class/don.class.php
index e64e340c518..591df7333a5 100644
--- a/htdocs/compta/dons/class/don.class.php
+++ b/htdocs/compta/dons/class/don.class.php
@@ -355,7 +355,7 @@ class Don extends CommonObject
             $this->id = $this->db->last_insert_id(MAIN_DB_PREFIX."don");
 
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('DON_CREATE',$this,$user,$langs,$conf);
             if ($result < 0) {
diff --git a/htdocs/compta/dons/fiche.php b/htdocs/compta/dons/fiche.php
index bc49df3ff4d..2ac166d5558 100644
--- a/htdocs/compta/dons/fiche.php
+++ b/htdocs/compta/dons/fiche.php
@@ -50,7 +50,7 @@ $donation_date=dol_mktime(12, 0, 0, GETPOST('remonth'), GETPOST('reday'), GETPOS
 $result = restrictedArea($user, 'don', $id);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('doncard'));
 
diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php
index 28112caf00e..bb78087c507 100644
--- a/htdocs/compta/facture.php
+++ b/htdocs/compta/facture.php
@@ -93,7 +93,7 @@ if ($id > 0 || ! empty($ref))
 }
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('invoicecard'));
 
@@ -1422,7 +1422,7 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
                 }
 
                 // Create form object
-                include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
                 $formmail = new FormMail($db);
 
                 $attachedfiles=$formmail->get_attached_files();
@@ -1453,7 +1453,7 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
                         $object->elementtype	= $object->element;
 
                         // Appel des triggers
-                        include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                        include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                         $interface=new Interfaces($db);
                         $result=$interface->run_triggers('BILL_SENTBYMAIL',$object,$user,$langs,$conf);
                         if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1948,7 +1948,7 @@ if ($action == 'create')
     // Modele PDF
     print '<tr><td>'.$langs->trans('Model').'</td>';
     print '<td>';
-    include_once(DOL_DOCUMENT_ROOT.'/core/modules/facture/modules_facture.php');
+    include_once DOL_DOCUMENT_ROOT.'/core/modules/facture/modules_facture.php';
     $liste=ModelePDFFactures::liste_modeles($db);
     print $form->selectarray('model',$liste,$conf->global->FACTURE_ADDON_PDF);
     print "</td></tr>";
@@ -2922,14 +2922,14 @@ else if ($id > 0 || ! empty($ref))
 
         	$blocname = 'contacts';
         	$title = $langs->trans('ContactsAddresses');
-        	include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+        	include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
         }
 
         if (! empty($conf->global->MAIN_DISABLE_NOTES_TAB))
         {
         	$blocname = 'notes';
         	$title = $langs->trans('Notes');
-        	include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+        	include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
         }
 
         /*
@@ -2939,7 +2939,7 @@ else if ($id > 0 || ! empty($ref))
 
         if ($conf->use_javascript_ajax && $object->statut == 0)
         {
-            include(DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php');
+            include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php';
         }
 
         print '<table id="tablelines" class="noborder noshadow" width="100%">';
@@ -3210,7 +3210,7 @@ else if ($id > 0 || ! empty($ref))
             // Link for paypal payment
             if ($conf->paypal->enabled && $object->statut != 0)
             {
-                include_once(DOL_DOCUMENT_ROOT.'/paypal/lib/paypal.lib.php');
+                include_once DOL_DOCUMENT_ROOT.'/paypal/lib/paypal.lib.php';
                 print showPaypalPaymentUrl('invoice',$object->ref);
             }
 
@@ -3219,7 +3219,7 @@ else if ($id > 0 || ! empty($ref))
             print '<br>';
 
             // List of actions on element
-            include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
             $formactions=new FormActions($db);
             $somethingshown=$formactions->showactions($object,'invoice',$socid);
 
@@ -3246,7 +3246,7 @@ else if ($id > 0 || ! empty($ref))
             }
 
             $ref = dol_sanitizeFileName($object->ref);
-            include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
             $fileparams = dol_most_recent_file($conf->facture->dir_output . '/' . $ref);
             $file=$fileparams['fullname'];
 
@@ -3278,7 +3278,7 @@ else if ($id > 0 || ! empty($ref))
             print_titre($langs->trans($titreform));
 
             // Cree l'objet formulaire mail
-            include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
             $formmail = new FormMail($db);
             $formmail->fromtype = 'user';
             $formmail->fromid   = $user->id;
diff --git a/htdocs/compta/facture/class/facture-rec.class.php b/htdocs/compta/facture/class/facture-rec.class.php
index 6d05ebaf9c6..7eef830a887 100644
--- a/htdocs/compta/facture/class/facture-rec.class.php
+++ b/htdocs/compta/facture/class/facture-rec.class.php
@@ -433,7 +433,7 @@ class FactureRec extends Facture
 	function addline($facid, $desc, $pu_ht, $qty, $txtva, $fk_product=0, $remise_percent=0, $price_base_type='HT', $info_bits=0, $fk_remise_except='', $pu_ttc=0, $type=0, $rang=-1, $special_code=0)
 	{
 		dol_syslog("FactureRec::addline facid=$facid,desc=$desc,pu_ht=$pu_ht,qty=$qty,txtva=$txtva,fk_product=$fk_product,remise_percent=$remise_percent,date_start=$date_start,date_end=$date_end,ventil=$ventil,info_bits=$info_bits,fk_remise_except=$fk_remise_except,price_base_type=$price_base_type,pu_ttc=$pu_ttc,type=$type", LOG_DEBUG);
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
 		// Check parameters
 		if ($type < 0) return -1;
diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php
index 8b3b7c93bd6..6674996a83a 100644
--- a/htdocs/compta/facture/class/facture.class.php
+++ b/htdocs/compta/facture/class/facture.class.php
@@ -31,7 +31,7 @@
  *	\brief      File of class to manage invoices
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/class/commoninvoice.class.php");
+include_once DOL_DOCUMENT_ROOT.'/core/class/commoninvoice.class.php';
 require_once DOL_DOCUMENT_ROOT .'/product/class/product.class.php';
 require_once DOL_DOCUMENT_ROOT .'/societe/class/client.class.php';
 require_once DOL_DOCUMENT_ROOT .'/margin/lib/margins.lib.php';
@@ -428,7 +428,7 @@ class Facture extends CommonInvoice
                 if ($result > 0)
                 {
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('BILL_CREATE',$this,$user,$langs,$conf);
                     if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -601,7 +601,7 @@ class Facture extends CommonInvoice
 			}
 
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('BILL_CLONE',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -693,7 +693,7 @@ class Facture extends CommonInvoice
         if ($ret > 0)
         {
             // Actions hooked (by external module)
-            include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
             $hookmanager=new HookManager($this->db);
             $hookmanager->initHooks(array('invoicedao'));
 
@@ -1036,7 +1036,7 @@ class Facture extends CommonInvoice
             if (! $notrigger)
             {
                 // Call triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('BILL_MODIFY',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1073,8 +1073,8 @@ class Facture extends CommonInvoice
     {
         global $langs;
 
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
-        include_once(DOL_DOCUMENT_ROOT.'/core/class/discount.class.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
+        include_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
 
         $this->db->begin();
 
@@ -1195,7 +1195,7 @@ class Facture extends CommonInvoice
         if (! $error && ! $notrigger)
         {
         	// Appel des triggers
-        	include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+        	include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
         	$interface=new Interfaces($this->db);
         	$result=$interface->run_triggers('BILL_DELETE',$this,$user,$langs,$conf);
         	if ($result < 0) {
@@ -1404,7 +1404,7 @@ class Facture extends CommonInvoice
             if ($resql)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('BILL_PAYED',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1459,7 +1459,7 @@ class Facture extends CommonInvoice
         if ($resql)
         {
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('BILL_UNPAYED',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1524,7 +1524,7 @@ class Facture extends CommonInvoice
             if ($resql)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('BILL_CANCEL',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1745,7 +1745,7 @@ class Facture extends CommonInvoice
             if (! $error)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('BILL_VALIDATE',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1874,7 +1874,7 @@ class Facture extends CommonInvoice
     function addline($facid, $desc, $pu_ht, $qty, $txtva, $txlocaltax1=0, $txlocaltax2=0, $fk_product=0, $remise_percent=0, $date_start='', $date_end='', $ventil=0, $info_bits=0, $fk_remise_except='', $price_base_type='HT', $pu_ttc=0, $type=0, $rang=-1, $special_code=0, $origin='', $origin_id=0, $fk_parent_line=0, $fk_fournprice=null, $pa_ht=0)
     {
         dol_syslog(get_class($this)."::Addline facid=$facid,desc=$desc,pu_ht=$pu_ht,qty=$qty,txtva=$txtva, txlocaltax1=$txlocaltax1, txlocaltax2=$txlocaltax2, fk_product=$fk_product,remise_percent=$remise_percent,date_start=$date_start,date_end=$date_end,ventil=$ventil,info_bits=$info_bits,fk_remise_except=$fk_remise_except,price_base_type=$price_base_type,pu_ttc=$pu_ttc,type=$type", LOG_DEBUG);
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
         // Clean parameters
         if (empty($remise_percent)) $remise_percent=0;
@@ -2027,7 +2027,7 @@ class Facture extends CommonInvoice
      */
     function updateline($rowid, $desc, $pu, $qty, $remise_percent, $date_start, $date_end, $txtva, $txlocaltax1=0, $txlocaltax2=0, $price_base_type='HT', $info_bits=0, $type=0, $fk_parent_line=0, $skip_update_total=0, $fk_fournprice=null, $pa_ht=0)
     {
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
         dol_syslog(get_class($this)."::updateline $rowid, $desc, $pu, $qty, $remise_percent, $date_start, $date_end, $txtva, $txlocaltax1, $txlocaltax2, $price_base_type, $info_bits, $type, $fk_parent_line", LOG_DEBUG);
 
@@ -2400,7 +2400,7 @@ class Facture extends CommonInvoice
         {
             $dir = $dirroot."/core/modules/facture/";
             // Load file with numbering class (if found)
-            $mybool|=@include_once($dir.$file);
+            $mybool|=@include_once $dir.$file;
         }
 
         // For compatibility
@@ -2413,7 +2413,7 @@ class Facture extends CommonInvoice
             {
                 $dir = $dirroot."/core/modules/facture/";
                 // Load file with numbering class (if found)
-                $mybool|=@include_once($dir.$file);
+                $mybool|=@include_once $dir.$file;
             }
         }
         //print "xx".$mybool.$dir.$file."-".$classname;
@@ -3358,7 +3358,7 @@ class FactureLigne
             if (! $notrigger)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result = $interface->run_triggers('LINEBILL_INSERT',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -3455,7 +3455,7 @@ class FactureLigne
             if (! $notrigger)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result = $interface->run_triggers('LINEBILL_UPDATE',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -3491,7 +3491,7 @@ class FactureLigne
 		if ($this->db->query($sql) )
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result = $interface->run_triggers('LINEBILL_DELETE',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/compta/facture/class/facturestats.class.php b/htdocs/compta/facture/class/facturestats.class.php
index c56183ca777..fd42cb19b76 100644
--- a/htdocs/compta/facture/class/facturestats.class.php
+++ b/htdocs/compta/facture/class/facturestats.class.php
@@ -22,10 +22,10 @@
  *       \ingroup    factures
  *       \brief      Fichier de la classe de gestion des stats des factures
  */
-include_once DOL_DOCUMENT_ROOT . "/core/class/stats.class.php";
-include_once DOL_DOCUMENT_ROOT . "/compta/facture/class/facture.class.php";
-include_once DOL_DOCUMENT_ROOT . "/fourn/class/fournisseur.facture.class.php";
-include_once DOL_DOCUMENT_ROOT . "/core/lib/date.lib.php";
+include_once DOL_DOCUMENT_ROOT . '/core/class/stats.class.php';
+include_once DOL_DOCUMENT_ROOT . '/compta/facture/class/facture.class.php';
+include_once DOL_DOCUMENT_ROOT . '/fourn/class/fournisseur.facture.class.php';
+include_once DOL_DOCUMENT_ROOT . '/core/lib/date.lib.php';
 
 /**
  *       \class      FactureStats
diff --git a/htdocs/compta/facture/class/paymentterm.class.php b/htdocs/compta/facture/class/paymentterm.class.php
index ba5dc74c734..4357ac46731 100644
--- a/htdocs/compta/facture/class/paymentterm.class.php
+++ b/htdocs/compta/facture/class/paymentterm.class.php
@@ -135,7 +135,7 @@ class PaymentTerm // extends CommonObject
 	            // want this action call a trigger.
 
 	            //// Call triggers
-	            //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+	            //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 	            //$interface=new Interfaces($this->db);
 	            //$result=$interface->run_triggers('MYOBJECT_CREATE',$this,$user,$langs,$conf);
 	            //if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -315,7 +315,7 @@ class PaymentTerm // extends CommonObject
 	            // want this action call a trigger.
 
 	            //// Call triggers
-	            //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+	            //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 	            //$interface=new Interfaces($this->db);
 	            //$result=$interface->run_triggers('MYOBJECT_MODIFY',$this,$user,$langs,$conf);
 	            //if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -371,7 +371,7 @@ class PaymentTerm // extends CommonObject
 		        // want this action call a trigger.
 
 		        //// Call triggers
-		        //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+		        //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 		        //$interface=new Interfaces($this->db);
 		        //$result=$interface->run_triggers('MYOBJECT_DELETE',$this,$user,$langs,$conf);
 		        //if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/compta/facture/contact.php b/htdocs/compta/facture/contact.php
index 43f6225396e..d3625faf622 100644
--- a/htdocs/compta/facture/contact.php
+++ b/htdocs/compta/facture/contact.php
@@ -187,7 +187,7 @@ if ($id > 0 || ! empty($ref))
 		$dirtpls=array_merge($conf->modules_parts['tpl'],array('/core/tpl'));
 		foreach($dirtpls as $reldir)
 		{
-		    $res=@include(dol_buildpath($reldir.'/contacts.tpl.php'));
+		    $res=@include dol_buildpath($reldir.'/contacts.tpl.php');
 		    if ($res) break;
 		}
 
diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php
index 2ce49772a1d..8a19de20180 100644
--- a/htdocs/compta/facture/list.php
+++ b/htdocs/compta/facture/list.php
@@ -97,7 +97,7 @@ $usehm=(! empty($conf->global->MAIN_USE_HOURMIN_IN_DATE_RANGE)?$conf->global->MA
 $object=new Facture($db);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('invoicecard'));
 
diff --git a/htdocs/compta/facture/note.php b/htdocs/compta/facture/note.php
index e37bd7ef4d7..45cfad096ec 100644
--- a/htdocs/compta/facture/note.php
+++ b/htdocs/compta/facture/note.php
@@ -124,7 +124,7 @@ if ($id > 0 || ! empty($ref))
 
     print '<br>';
 
-	include(DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php');
+	include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php';
 
 	dol_fiche_end();
 }
diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php
index 54354da4885..8bcdf9c72ef 100644
--- a/htdocs/compta/index.php
+++ b/htdocs/compta/index.php
@@ -500,7 +500,7 @@ if ($conf->fournisseur->enabled && $user->rights->fournisseur->facture->lire)
 // Last donations
 if ($conf->don->enabled && $user->rights->societe->lire)
 {
-	include_once(DOL_DOCUMENT_ROOT.'/compta/dons/class/don.class.php');
+	include_once DOL_DOCUMENT_ROOT.'/compta/dons/class/don.class.php';
 
 	$langs->load("boxes");
     $donationstatic=new Don($db);
@@ -565,7 +565,7 @@ if ($conf->don->enabled && $user->rights->societe->lire)
 // Last trips and expenses
 if (! empty($conf->deplacement->enabled) && $user->rights->deplacement->lire)
 {
-    include_once(DOL_DOCUMENT_ROOT.'/compta/deplacement/class/deplacement.class.php');
+    include_once DOL_DOCUMENT_ROOT.'/compta/deplacement/class/deplacement.class.php';
 
     $langs->load("boxes");
 
diff --git a/htdocs/compta/localtax/class/localtax.class.php b/htdocs/compta/localtax/class/localtax.class.php
index 8522ed50cc6..6f0c46b813b 100644
--- a/htdocs/compta/localtax/class/localtax.class.php
+++ b/htdocs/compta/localtax/class/localtax.class.php
@@ -103,7 +103,7 @@ class localtax extends CommonObject
             $this->id = $this->db->last_insert_id(MAIN_DB_PREFIX."localtax");
 
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('LOCALTAX_CREATE',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -165,7 +165,7 @@ class localtax extends CommonObject
 		if (! $notrigger)
 		{
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('LOCALTAX_MODIFY',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -264,7 +264,7 @@ class localtax extends CommonObject
 		}
 
         // Appel des triggers
-        include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+        include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
         $interface=new Interfaces($this->db);
         $result=$interface->run_triggers('LOCALTAX_DELETE',$this,$user,$langs,$conf);
         if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/compta/paiement/class/paiement.class.php b/htdocs/compta/paiement/class/paiement.class.php
index 701a69ff6b6..74d891a7764 100644
--- a/htdocs/compta/paiement/class/paiement.class.php
+++ b/htdocs/compta/paiement/class/paiement.class.php
@@ -222,7 +222,7 @@ class Paiement extends CommonObject
 			if (! $error)
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('PAYMENT_CUSTOMER_CREATE',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -337,7 +337,7 @@ class Paiement extends CommonObject
 			if (! $notrigger)
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('PAYMENT_DELETE',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -480,7 +480,7 @@ class Paiement extends CommonObject
 	            if (! $error && ! $notrigger)
 				{
 					// Appel des triggers
-					include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+					include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 					$interface=new Interfaces($this->db);
 					$result=$interface->run_triggers('PAYMENT_ADD_TO_BANK',$this,$user,$langs,$conf);
 					if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/compta/sociales/class/chargesociales.class.php b/htdocs/compta/sociales/class/chargesociales.class.php
index ef0e7663a43..a397ca5c29c 100644
--- a/htdocs/compta/sociales/class/chargesociales.class.php
+++ b/htdocs/compta/sociales/class/chargesociales.class.php
@@ -165,7 +165,7 @@ class ChargeSociales extends CommonObject
         $this->db->begin();
 
         // Get bank transaction lines for this social contributions
-        include_once(DOL_DOCUMENT_ROOT."/compta/bank/class/account.class.php");
+        include_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
         $account=new Account($this->db);
         $lines_url=$account->get_url('',$this->id,'sc');
 
diff --git a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php
index 7c91b4c8b97..7bff88b37a4 100644
--- a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php
+++ b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php
@@ -275,7 +275,7 @@ class PaymentSocialContribution extends CommonObject
 				// want this action call a trigger.
 
 				//// Call triggers
-				//include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				//include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				//$interface=new Interfaces($this->db);
 				//$result=$interface->run_triggers('MYOBJECT_MODIFY',$this,$user,$langs,$conf);
 				//if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -344,7 +344,7 @@ class PaymentSocialContribution extends CommonObject
 				// want this action call a trigger.
 
 				//// Call triggers
-				//include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				//include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				//$interface=new Interfaces($this->db);
 				//$result=$interface->run_triggers('MYOBJECT_DELETE',$this,$user,$langs,$conf);
 				//if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/compta/tva/class/tva.class.php b/htdocs/compta/tva/class/tva.class.php
index d139e0e99dd..23d01de6631 100644
--- a/htdocs/compta/tva/class/tva.class.php
+++ b/htdocs/compta/tva/class/tva.class.php
@@ -122,7 +122,7 @@ class Tva extends CommonObject
             $this->id = $this->db->last_insert_id(MAIN_DB_PREFIX."tva");
 
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('TVA_CREATE',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -189,7 +189,7 @@ class Tva extends CommonObject
 		if (! $notrigger)
 		{
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('TVA_MODIFY',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -289,7 +289,7 @@ class Tva extends CommonObject
 		}
 
         // Appel des triggers
-        include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+        include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
         $interface=new Interfaces($this->db);
         $result=$interface->run_triggers('TVA_DELETE',$this,$user,$langs,$conf);
         if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -516,7 +516,7 @@ class Tva extends CommonObject
             $this->id = $this->db->last_insert_id(MAIN_DB_PREFIX."tva");    // TODO devrait s'appeler paiementtva
 
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('TVA_ADDPAYMENT',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/compta/tva/fiche.php b/htdocs/compta/tva/fiche.php
index a73584903bf..90a0acff0d2 100644
--- a/htdocs/compta/tva/fiche.php
+++ b/htdocs/compta/tva/fiche.php
@@ -41,7 +41,7 @@ if ($user->societe_id) $socid=$user->societe_id;
 $result = restrictedArea($user, 'tax', '', '', 'charges');
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('taxvatcard'));
 
diff --git a/htdocs/contact/canvas/actions_contactcard_common.class.php b/htdocs/contact/canvas/actions_contactcard_common.class.php
index 688db644b96..6d37292f62f 100644
--- a/htdocs/contact/canvas/actions_contactcard_common.class.php
+++ b/htdocs/contact/canvas/actions_contactcard_common.class.php
@@ -396,7 +396,7 @@ abstract class ActionsContactCardCommon
         if ($action == 'create_user')
         {
         	// Full firstname and name separated with a dot : firstname.name
-        	include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+        	include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
             require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
         	$login=dol_buildlogin($this->object->nom, $this->object->prenom);
 
diff --git a/htdocs/contact/canvas/default/actions_contactcard_default.class.php b/htdocs/contact/canvas/default/actions_contactcard_default.class.php
index 1cb87732ddc..485de6470e5 100644
--- a/htdocs/contact/canvas/default/actions_contactcard_default.class.php
+++ b/htdocs/contact/canvas/default/actions_contactcard_default.class.php
@@ -21,7 +21,7 @@
  *	\ingroup    thirdparty
  *	\brief      Fichier de la classe Thirdparty contact card controller (default canvas)
  */
-include_once(DOL_DOCUMENT_ROOT.'/contact/canvas/actions_contactcard_common.class.php');
+include_once DOL_DOCUMENT_ROOT.'/contact/canvas/actions_contactcard_common.class.php';
 
 /**
  *	\class      ActionsContactCardDefault
diff --git a/htdocs/contact/class/contact.class.php b/htdocs/contact/class/contact.class.php
index 17aa7745a86..fc3a386af02 100644
--- a/htdocs/contact/class/contact.class.php
+++ b/htdocs/contact/class/contact.class.php
@@ -168,7 +168,7 @@ class Contact extends CommonObject
             if (! $error)
             {
     			// Appel des triggers
-    			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+    			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
     			$interface=new Interfaces($this->db);
     			$result=$interface->run_triggers('CONTACT_CREATE',$this,$user,$langs,$conf);
     			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -264,7 +264,7 @@ class Contact extends CommonObject
 			if (! $error && ! $notrigger)
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('CONTACT_MODIFY',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -725,7 +725,7 @@ class Contact extends CommonObject
 		if (! $error && ! $notrigger)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('CONTACT_DELETE',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php
index 6bd01d3ad33..96c80739461 100644
--- a/htdocs/contact/fiche.php
+++ b/htdocs/contact/fiche.php
@@ -63,7 +63,7 @@ if (! empty($canvas))
 $result = restrictedArea($user, 'contact', $id, 'socpeople&societe', '', '', '', $objcanvas); // If we create a contact with no company (shared contacts), no check on write permission
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('contactcard'));
 
@@ -706,7 +706,7 @@ else
         if ($action == 'create_user')
         {
             // Full firstname and name separated with a dot : firstname.name
-            include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
             $login=dol_buildlogin($object->nom,$object->prenom);
 
             $generated_password='';
diff --git a/htdocs/contact/perso.php b/htdocs/contact/perso.php
index f76acf85f24..5cdd2c1568a 100644
--- a/htdocs/contact/perso.php
+++ b/htdocs/contact/perso.php
@@ -197,7 +197,7 @@ else
     print '<tr>';
     if (! empty($object->birthday))
     {
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
 
         print '<td>'.$langs->trans("DateToBirth").'</td><td colspan="3">'.dol_print_date($object->birthday,"day");
 
diff --git a/htdocs/contrat/class/contrat.class.php b/htdocs/contrat/class/contrat.class.php
index 07a98907d03..c51c3f1a85f 100644
--- a/htdocs/contrat/class/contrat.class.php
+++ b/htdocs/contrat/class/contrat.class.php
@@ -100,7 +100,7 @@ class Contrat extends CommonObject
 		// Chargement de la classe de numerotation
 		$classname = $conf->global->CONTRACT_ADDON;
 
-		$result=include_once($dir.'/'.$file);
+		$result=include_once $dir.'/'.$file;
 		if ($result)
 		{
 			$obj = new $classname();
@@ -156,7 +156,7 @@ class Contrat extends CommonObject
 		if ($resql)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('CONTRACT_SERVICE_ACTIVATE',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -204,7 +204,7 @@ class Contrat extends CommonObject
 		if ($resql)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('CONTRACT_SERVICE_CLOSE',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -290,7 +290,7 @@ class Contrat extends CommonObject
 		if ($resql)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('CONTRACT_VALIDATE',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -654,7 +654,7 @@ class Contrat extends CommonObject
 			if (! $error)
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('CONTRACT_CREATE',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -795,7 +795,7 @@ class Contrat extends CommonObject
 		if (! $error)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('CONTRACT_DELETE',$this,$user,$langs,$conf);
 			if ($result < 0) {
@@ -1109,7 +1109,7 @@ class Contrat extends CommonObject
 			}
 
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('CONTRACTLINE_DELETE',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1937,7 +1937,7 @@ class ContratLigne
 		if (! $notrigger)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('MYOBJECT_MODIFY',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/contrat/contact.php b/htdocs/contrat/contact.php
index af4622c8d1d..d68c87aaba5 100644
--- a/htdocs/contrat/contact.php
+++ b/htdocs/contrat/contact.php
@@ -173,7 +173,7 @@ if ($id > 0 || ! empty($ref))
 		print '<br>';
 		
 		// Contacts lines
-		include(DOL_DOCUMENT_ROOT.'/core/tpl/contacts.tpl.php');
+		include DOL_DOCUMENT_ROOT.'/core/tpl/contacts.tpl.php';
 
 	}
 	else
diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php
index 57bda230349..081b38c8ee9 100644
--- a/htdocs/contrat/fiche.php
+++ b/htdocs/contrat/fiche.php
@@ -59,7 +59,7 @@ $result=restrictedArea($user,'contrat',$id);
 $usehm=(! empty($conf->global->MAIN_USE_HOURMIN_IN_DATE_RANGE)?$conf->global->MAIN_USE_HOURMIN_IN_DATE_RANGE:0);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('contractcard'));
 
@@ -808,14 +808,14 @@ else
 
         	$blocname = 'contacts';
         	$title = $langs->trans('ContactsAddresses');
-        	include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+        	include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
         }
 
         if (! empty($conf->global->MAIN_DISABLE_NOTES_TAB))
         {
         	$blocname = 'notes';
         	$title = $langs->trans('Notes');
-        	include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+        	include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
         }
 
 
diff --git a/htdocs/contrat/note.php b/htdocs/contrat/note.php
index 8936bc90f2a..21f1f41c4e4 100644
--- a/htdocs/contrat/note.php
+++ b/htdocs/contrat/note.php
@@ -109,7 +109,7 @@ if ($id > 0 || ! empty($ref))
 
 	print '<br>';
 
-	include(DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php');
+	include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php';
 
 	dol_fiche_end();
 
diff --git a/htdocs/core/ajax/ajaxdirtree.php b/htdocs/core/ajax/ajaxdirtree.php
index d24a241eee5..9de59a527d1 100644
--- a/htdocs/core/ajax/ajaxdirtree.php
+++ b/htdocs/core/ajax/ajaxdirtree.php
@@ -31,12 +31,12 @@ if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU','1');
 if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML','1');
 if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
 
-$res=@include("../../main.inc.php");
-include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
-include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
-include_once(DOL_DOCUMENT_ROOT.'/core/lib/treeview.lib.php');
-include_once(DOL_DOCUMENT_ROOT.'/core/class/html.form.class.php');
-include_once(DOL_DOCUMENT_ROOT."/ecm/class/ecmdirectory.class.php");
+$res=@include '../../main.inc.php';
+include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
+include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
+include_once DOL_DOCUMENT_ROOT.'/core/lib/treeview.lib.php';
+include_once DOL_DOCUMENT_ROOT.'/core/class/html.form.class.php';
+include_once DOL_DOCUMENT_ROOT.'/ecm/class/ecmdirectory.class.php';
 
 $openeddir = GETPOST('openeddir');
 $modulepart= GETPOST('modulepart');
diff --git a/htdocs/core/ajax/extraparams.php b/htdocs/core/ajax/extraparams.php
index 7dd1ce04743..0f81b28aae1 100644
--- a/htdocs/core/ajax/extraparams.php
+++ b/htdocs/core/ajax/extraparams.php
@@ -27,7 +27,7 @@ if (! defined('NOREQUIREAJAX'))  define('NOREQUIREAJAX','1');
 if (! defined('NOREQUIRESOC'))   define('NOREQUIRESOC','1');
 //if (! defined('NOREQUIRETRAN'))  define('NOREQUIRETRAN','1');
 
-include("../../main.inc.php");
+include '../../main.inc.php';
 
 $id = GETPOST('id','int');
 $element = GETPOST('element','alpha');
diff --git a/htdocs/core/boxes/box_actions.php b/htdocs/core/boxes/box_actions.php
index 41d74fdebee..9145cd1a2a9 100644
--- a/htdocs/core/boxes/box_actions.php
+++ b/htdocs/core/boxes/box_actions.php
@@ -23,7 +23,7 @@
  *	\brief      Module to build boxe for events
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 /**
  * Class to manage the box to show last events
@@ -65,7 +65,7 @@ class box_actions extends ModeleBoxes
 
 		$this->max=$max;
 
-		include_once(DOL_DOCUMENT_ROOT."/comm/action/class/actioncomm.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php';
 		$actionstatic=new ActionComm($db);
 
 		$this->info_box_head = array('text' => $langs->trans("BoxTitleLastActionsToDo",$max));
diff --git a/htdocs/core/boxes/box_activity.php b/htdocs/core/boxes/box_activity.php
index 9166267ccbc..762d79bda25 100644
--- a/htdocs/core/boxes/box_activity.php
+++ b/htdocs/core/boxes/box_activity.php
@@ -20,7 +20,7 @@
  *	\brief      Module to show box of bills, orders & propal of the current year
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 /**
  * Class to manage the box of customer activity (invoice, order, proposal)
@@ -66,9 +66,9 @@ class box_activity extends ModeleBoxes
 		$totalMnt = 0;
 		$totalnb = 0;
 
-		include_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
-		include_once(DOL_DOCUMENT_ROOT."/comm/propal/class/propal.class.php");
-		include_once(DOL_DOCUMENT_ROOT."/commande/class/commande.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
+		include_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
+		include_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
 		$facturestatic=new Facture($db);
 		$propalstatic=new Propal($db);
 		$commandestatic=new Commande($db);
diff --git a/htdocs/core/boxes/box_bookmarks.php b/htdocs/core/boxes/box_bookmarks.php
index 0be97f83a4c..291c7f52596 100644
--- a/htdocs/core/boxes/box_bookmarks.php
+++ b/htdocs/core/boxes/box_bookmarks.php
@@ -20,7 +20,7 @@
  *      \ingroup    bookmark
  *      \brief      Module to generate box of bookmarks list
  */
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 /**
  * Class to manage the box to show bookmarks
diff --git a/htdocs/core/boxes/box_clients.php b/htdocs/core/boxes/box_clients.php
index a0ab16baf0e..87d42a42ad5 100644
--- a/htdocs/core/boxes/box_clients.php
+++ b/htdocs/core/boxes/box_clients.php
@@ -23,7 +23,7 @@
  *	\brief      Module de generation de l'affichage de la box clients
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
@@ -66,7 +66,7 @@ class box_clients extends ModeleBoxes
 
 		$this->max=$max;
 
-        include_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
+        include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
         $thirdpartystatic=new Societe($db);
 
         $this->info_box_head = array('text' => $langs->trans("BoxTitleLastModifiedCustomers",$max));
diff --git a/htdocs/core/boxes/box_commandes.php b/htdocs/core/boxes/box_commandes.php
index f89e37f191e..1e76c3d4d0b 100644
--- a/htdocs/core/boxes/box_commandes.php
+++ b/htdocs/core/boxes/box_commandes.php
@@ -23,7 +23,7 @@
  *		\brief      Module de generation de l'affichage de la box commandes
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
@@ -65,7 +65,7 @@ class box_commandes extends ModeleBoxes
 
 		$this->max=$max;
 
-		include_once(DOL_DOCUMENT_ROOT."/commande/class/commande.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
         $commandestatic=new Commande($db);
 
         $this->info_box_head = array('text' => $langs->trans("BoxTitleLastCustomerOrders",$max));
diff --git a/htdocs/core/boxes/box_comptes.php b/htdocs/core/boxes/box_comptes.php
index 390dbe52ac2..09f84afca78 100644
--- a/htdocs/core/boxes/box_comptes.php
+++ b/htdocs/core/boxes/box_comptes.php
@@ -22,8 +22,8 @@
  *      \ingroup    banque
  *      \brief      Module to generate box for bank accounts
  */
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
-include_once(DOL_DOCUMENT_ROOT."/compta/bank/class/account.class.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
+include_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
 
 
 /**
diff --git a/htdocs/core/boxes/box_contacts.php b/htdocs/core/boxes/box_contacts.php
index 577ef3262ff..a1ee44fe161 100755
--- a/htdocs/core/boxes/box_contacts.php
+++ b/htdocs/core/boxes/box_contacts.php
@@ -23,8 +23,8 @@
  *	\brief      Module to show box of contacts
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
-include_once(DOL_DOCUMENT_ROOT."/contact/class/contact.class.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
+include_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
 
 
 /**
diff --git a/htdocs/core/boxes/box_contracts.php b/htdocs/core/boxes/box_contracts.php
index 57cc7eafaa1..9f0448f0534 100644
--- a/htdocs/core/boxes/box_contracts.php
+++ b/htdocs/core/boxes/box_contracts.php
@@ -21,7 +21,7 @@
  * 		\brief      Module de generation de l'affichage de la box contracts
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
@@ -65,7 +65,7 @@ class box_contracts extends ModeleBoxes
 
     	$this->max=$max;
 
-    	include_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
+    	include_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
     	$contractstatic=new Contrat($db);
 
     	$this->info_box_head = array('text' => $langs->trans("BoxTitleLastContracts",$max));
diff --git a/htdocs/core/boxes/box_external_rss.php b/htdocs/core/boxes/box_external_rss.php
index cceaafa5985..78b241154b8 100644
--- a/htdocs/core/boxes/box_external_rss.php
+++ b/htdocs/core/boxes/box_external_rss.php
@@ -24,8 +24,8 @@
  *      \brief      Fichier de gestion d'une box pour le module external_rss
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/class/rssparser.class.php");
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/class/rssparser.class.php';
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
diff --git a/htdocs/core/boxes/box_factures.php b/htdocs/core/boxes/box_factures.php
index ee8e01a24f8..2feadec09c6 100644
--- a/htdocs/core/boxes/box_factures.php
+++ b/htdocs/core/boxes/box_factures.php
@@ -22,7 +22,7 @@
  *	\ingroup    factures
  *	\brief      Module de generation de l'affichage de la box factures
  */
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
@@ -64,7 +64,7 @@ class box_factures extends ModeleBoxes
 
 		$this->max=$max;
 
-		include_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
 		$facturestatic=new Facture($db);
 
 		$text = $langs->trans("BoxTitleLastCustomerBills",$max);
diff --git a/htdocs/core/boxes/box_factures_fourn.php b/htdocs/core/boxes/box_factures_fourn.php
index eb3cf5e67c9..a8f66935a48 100644
--- a/htdocs/core/boxes/box_factures_fourn.php
+++ b/htdocs/core/boxes/box_factures_fourn.php
@@ -22,7 +22,7 @@
  *      \ingroup    supplier
  *		\brief      Fichier de gestion d'une box des factures fournisseurs
  */
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
@@ -64,7 +64,7 @@ class box_factures_fourn extends ModeleBoxes
 
 		$this->max=$max;
 
-		include_once(DOL_DOCUMENT_ROOT."/fourn/class/fournisseur.facture.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
 		$facturestatic=new FactureFournisseur($db);
 
 		$this->info_box_head = array(
diff --git a/htdocs/core/boxes/box_factures_fourn_imp.php b/htdocs/core/boxes/box_factures_fourn_imp.php
index fc167601cc6..1920af9ebc8 100644
--- a/htdocs/core/boxes/box_factures_fourn_imp.php
+++ b/htdocs/core/boxes/box_factures_fourn_imp.php
@@ -21,7 +21,7 @@
  *      \ingroup    fournisseur
  *		\brief      Fichier de gestion d'une box des factures fournisseurs impayees
  */
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
@@ -64,7 +64,7 @@ class box_factures_fourn_imp extends ModeleBoxes
 
 		$this->max=$max;
 
-		include_once(DOL_DOCUMENT_ROOT."/fourn/class/fournisseur.facture.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
 		$facturestatic=new FactureFournisseur($db);
 
 		$this->info_box_head = array('text' => $langs->trans("BoxTitleOldestUnpaidSupplierBills",$max));
diff --git a/htdocs/core/boxes/box_factures_imp.php b/htdocs/core/boxes/box_factures_imp.php
index f71420ba2a4..fdc81cff818 100644
--- a/htdocs/core/boxes/box_factures_imp.php
+++ b/htdocs/core/boxes/box_factures_imp.php
@@ -67,7 +67,7 @@ class box_factures_imp extends ModeleBoxes
 
 		$this->max=$max;
 
-		include_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
 		$facturestatic=new Facture($db);
 
 		$this->info_box_head = array('text' => $langs->trans("BoxTitleOldestUnpaidCustomerBills",$max));
diff --git a/htdocs/core/boxes/box_fournisseurs.php b/htdocs/core/boxes/box_fournisseurs.php
index bb9a4adbfa6..38ffa7dbe7b 100644
--- a/htdocs/core/boxes/box_fournisseurs.php
+++ b/htdocs/core/boxes/box_fournisseurs.php
@@ -22,7 +22,7 @@
  * \brief      Module to generate box of suppliers
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
@@ -65,7 +65,7 @@ class box_fournisseurs extends ModeleBoxes
 
 		$this->max=$max;
 
-        include_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
+        include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
         $thirdpartystatic=new Societe($db);
 
 		$this->info_box_head = array('text' => $langs->trans("BoxTitleLastModifiedSuppliers",$max));
diff --git a/htdocs/core/boxes/box_members.php b/htdocs/core/boxes/box_members.php
index e64649ec1fd..67e44abebbb 100755
--- a/htdocs/core/boxes/box_members.php
+++ b/htdocs/core/boxes/box_members.php
@@ -23,7 +23,7 @@
  *	\brief      Module de generation de l'affichage de la box clients
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
@@ -66,7 +66,7 @@ class box_members extends ModeleBoxes
 
 		$this->max=$max;
 
-        include_once(DOL_DOCUMENT_ROOT."/adherents/class/adherent.class.php");
+        include_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
         $memberstatic=new Adherent($db);
 
 		$this->info_box_head = array('text' => $langs->trans("BoxTitleLastModifiedMembers",$max));
diff --git a/htdocs/core/boxes/box_osc_client.php b/htdocs/core/boxes/box_osc_client.php
index e19ef1c0169..dab5d325d76 100644
--- a/htdocs/core/boxes/box_osc_client.php
+++ b/htdocs/core/boxes/box_osc_client.php
@@ -22,7 +22,7 @@
  * \brief      Module to generate box of shop customers
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
diff --git a/htdocs/core/boxes/box_produits.php b/htdocs/core/boxes/box_produits.php
index fe12c196138..f0645659062 100644
--- a/htdocs/core/boxes/box_produits.php
+++ b/htdocs/core/boxes/box_produits.php
@@ -67,7 +67,7 @@ class box_produits extends ModeleBoxes
 
 		$this->max=$max;
 
-		include_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
 		$productstatic=new Product($db);
 
 		$this->info_box_head = array('text' => $langs->trans("BoxTitleLastProducts",$max));
diff --git a/htdocs/core/boxes/box_propales.php b/htdocs/core/boxes/box_propales.php
index 9f9bd706ac0..f36205a9616 100644
--- a/htdocs/core/boxes/box_propales.php
+++ b/htdocs/core/boxes/box_propales.php
@@ -23,7 +23,7 @@
  * \brief      Module de generation de l'affichage de la box propales
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
@@ -66,7 +66,7 @@ class box_propales extends ModeleBoxes
 
     	$this->max=$max;
 
-    	include_once(DOL_DOCUMENT_ROOT."/comm/propal/class/propal.class.php");
+    	include_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
       $propalstatic=new Propal($db);
 
       $this->info_box_head = array('text' => $langs->trans("BoxTitleLastPropals",$max));
diff --git a/htdocs/core/boxes/box_prospect.php b/htdocs/core/boxes/box_prospect.php
index 4251b9f1953..c50272baee8 100644
--- a/htdocs/core/boxes/box_prospect.php
+++ b/htdocs/core/boxes/box_prospect.php
@@ -24,8 +24,8 @@
  */
 
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
-include_once(DOL_DOCUMENT_ROOT."/comm/prospect/class/prospect.class.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
+include_once DOL_DOCUMENT_ROOT.'/comm/prospect/class/prospect.class.php';
 
 
 /**
@@ -71,7 +71,7 @@ class box_prospect extends ModeleBoxes
 
 		$this->max=$max;
 
-        include_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
+        include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
         $thirdpartystatic=new Societe($db);
 
 		$this->info_box_head = array('text' => $langs->trans("BoxTitleLastModifiedProspects",$max));
diff --git a/htdocs/core/boxes/box_services_contracts.php b/htdocs/core/boxes/box_services_contracts.php
index bd1686da45a..d4a701ca5ef 100644
--- a/htdocs/core/boxes/box_services_contracts.php
+++ b/htdocs/core/boxes/box_services_contracts.php
@@ -23,7 +23,7 @@
  *      \brief      Module de generation de l'affichage de la box services_vendus
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
@@ -65,7 +65,7 @@ class box_services_contracts extends ModeleBoxes
 
 		$this->max=$max;
 
-		include_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
+		include_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
 		$contratlignestatic=new ContratLigne($db);
 
 		$this->info_box_head = array('text' => $langs->trans("BoxLastProductsInContract",$max));
diff --git a/htdocs/core/boxes/box_services_expired.php b/htdocs/core/boxes/box_services_expired.php
index bcb31e96464..86b50c45951 100644
--- a/htdocs/core/boxes/box_services_expired.php
+++ b/htdocs/core/boxes/box_services_expired.php
@@ -21,7 +21,7 @@
  * 		\brief      Module to show the box of last expired services
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 
 /**
diff --git a/htdocs/core/boxes/box_supplier_orders.php b/htdocs/core/boxes/box_supplier_orders.php
index 6577cb432cf..355d5319855 100644
--- a/htdocs/core/boxes/box_supplier_orders.php
+++ b/htdocs/core/boxes/box_supplier_orders.php
@@ -23,7 +23,7 @@
  * \ingroup    fournisseurs
  * \brief      Module that generates the latest supplier orders box
  */
-include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
+include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
 
 /**
  * Class that manages the box showing latest supplier orders
@@ -64,7 +64,7 @@ class box_supplier_orders extends ModeleBoxes
 
         $this->max = $max;
 
-        include_once(DOL_DOCUMENT_ROOT."/fourn/class/fournisseur.commande.class.php");
+        include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
         $supplierorderstatic=new CommandeFournisseur($db);
 
         $this->info_box_head = array('text' => $langs->trans("BoxTitleLatestSupplierOrders", $max));
diff --git a/htdocs/core/class/canvas.class.php b/htdocs/core/class/canvas.class.php
index 3bd6afce64e..d93bb51eb84 100644
--- a/htdocs/core/class/canvas.class.php
+++ b/htdocs/core/class/canvas.class.php
@@ -161,7 +161,7 @@ class Canvas
 		global $db, $conf, $langs, $user, $canvas;
 		global $form, $formfile;
 
-		include($this->template_dir.($this->card?$this->card.'_':'').$this->_cleanaction($action).'.tpl.php');        // Include native PHP template
+		include $this->template_dir.($this->card?$this->card.'_':'').$this->_cleanaction($action).'.tpl.php';        // Include native PHP template
 	}
 
 
diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php
index 61674e5e905..b3b80b8b459 100644
--- a/htdocs/core/class/commonobject.class.php
+++ b/htdocs/core/class/commonobject.class.php
@@ -187,7 +187,7 @@ abstract class CommonObject
             if (! $notrigger)
             {
                 // Call triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers(strtoupper($this->element).'_ADD_CONTACT',$this,$user,$langs,$conf);
                 if ($result < 0) {
@@ -263,7 +263,7 @@ abstract class CommonObject
             if (! $notrigger)
             {
                 // Call triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers(strtoupper($this->element).'_DELETE_CONTACT',$this,$user,$langs,$conf);
                 if ($result < 0) {
@@ -1454,7 +1454,7 @@ abstract class CommonObject
      */
     function update_price($exclspec=0,$roundingadjust=-1,$nodatabaseupdate=0)
     {
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
         if ($roundingadjust < 0 && isset($conf->global->MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND)) $roundingadjust=$conf->global->MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND;
         if ($roundingadjust < 0) $roundingadjust=0;
@@ -2380,7 +2380,7 @@ abstract class CommonObject
         // Bypass the default method
         if (! is_object($hookmanager))
         {
-        	include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+        	include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
         	$hookmanager=new HookManager($this->db);
         }
         $hookmanager->initHooks(array('commonobject'));
@@ -2432,7 +2432,7 @@ abstract class CommonObject
         		$dirtpls=array_merge($conf->modules_parts['tpl'],array('/'.$tplpath.'/tpl'));
         		foreach($dirtpls as $reldir)
         		{
-        			$res=@include(dol_buildpath($reldir.'/linkedobjectblock.tpl.php'));
+        			$res=@include dol_buildpath($reldir.'/linkedobjectblock.tpl.php');
         			if ($res) break;
         		}
         	}
@@ -2466,7 +2466,7 @@ abstract class CommonObject
 		$dirtpls=array_merge($conf->modules_parts['tpl'],array('/core/tpl'));
 		foreach($dirtpls as $reldir)
 		{
-		    $res=@include(dol_buildpath($reldir.'/predefinedproductline_create.tpl.php'));
+		    $res=@include dol_buildpath($reldir.'/predefinedproductline_create.tpl.php');
 		    if ($res) break;
 		}
     }
@@ -2492,7 +2492,7 @@ abstract class CommonObject
 		$dirtpls=array_merge($conf->modules_parts['tpl'],array('/core/tpl'));
 		foreach($dirtpls as $reldir)
 		{
-		    $res=@include(dol_buildpath($reldir.'/freeproductline_create.tpl.php'));
+		    $res=@include dol_buildpath($reldir.'/freeproductline_create.tpl.php');
 		    if ($res) break;
 		}
     }
@@ -2647,7 +2647,7 @@ abstract class CommonObject
         		$dirtpls=array_merge($conf->modules_parts['tpl'],array('/core/tpl'));
         		foreach($dirtpls as $reldir)
         		{
-        		    $res=@include(dol_buildpath($reldir.'/predefinedproductline_view.tpl.php'));
+        		    $res=@include dol_buildpath($reldir.'/predefinedproductline_view.tpl.php');
         		    if ($res) break;
         		}
 			}
@@ -2658,7 +2658,7 @@ abstract class CommonObject
         		$dirtpls=array_merge($conf->modules_parts['tpl'],array('/core/tpl'));
         		foreach($dirtpls as $reldir)
         		{
-        		    $res=@include(dol_buildpath($reldir.'/freeproductline_view.tpl.php'));
+        		    $res=@include dol_buildpath($reldir.'/freeproductline_view.tpl.php');
         		    if ($res) break;
         		}
 			}
@@ -2674,7 +2674,7 @@ abstract class CommonObject
         		$dirtpls=array_merge($conf->modules_parts['tpl'],array('/core/tpl'));
         		foreach($dirtpls as $reldir)
         		{
-        		    $res=@include(dol_buildpath($reldir.'/predefinedproductline_edit.tpl.php'));
+        		    $res=@include dol_buildpath($reldir.'/predefinedproductline_edit.tpl.php');
         		    if ($res) break;
         		}
 			}
@@ -2685,7 +2685,7 @@ abstract class CommonObject
         		$dirtpls=array_merge($conf->modules_parts['tpl'],array('/core/tpl'));
         		foreach($dirtpls as $reldir)
         		{
-        		    $res=@include(dol_buildpath($reldir.'/freeproductline_edit.tpl.php'));
+        		    $res=@include dol_buildpath($reldir.'/freeproductline_edit.tpl.php');
         		    if ($res) break;
         		}
 			}
@@ -2832,7 +2832,7 @@ abstract class CommonObject
         $dirtpls=array_merge($conf->modules_parts['tpl'],array('/core/tpl'));
         foreach($dirtpls as $reldir)
         {
-            $res=@include(dol_buildpath($reldir.'/originproductline.tpl.php'));
+            $res=@include dol_buildpath($reldir.'/originproductline.tpl.php');
             if ($res) break;
         }
     }
diff --git a/htdocs/core/class/cpays.class.php b/htdocs/core/class/cpays.class.php
index ec315f1cb9e..ec5129a0dd8 100644
--- a/htdocs/core/class/cpays.class.php
+++ b/htdocs/core/class/cpays.class.php
@@ -113,7 +113,7 @@ class Cpays // extends CommonObject
 	            // want this action call a trigger.
 
 	            //// Call triggers
-	            //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+	            //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 	            //$interface=new Interfaces($this->db);
 	            //$result=$interface->run_triggers('MYOBJECT_CREATE',$this,$user,$langs,$conf);
 	            //if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -231,7 +231,7 @@ class Cpays // extends CommonObject
 	            // want this action call a trigger.
 
 	            //// Call triggers
-	            //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+	            //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 	            //$interface=new Interfaces($this->db);
 	            //$result=$interface->run_triggers('MYOBJECT_MODIFY',$this,$user,$langs,$conf);
 	            //if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -287,7 +287,7 @@ class Cpays // extends CommonObject
 		        // want this action call a trigger.
 
 		        //// Call triggers
-		        //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+		        //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 		        //$interface=new Interfaces($this->db);
 		        //$result=$interface->run_triggers('MYOBJECT_DELETE',$this,$user,$langs,$conf);
 		        //if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/core/class/ctypent.class.php b/htdocs/core/class/ctypent.class.php
index b91943d146f..f979ef45551 100644
--- a/htdocs/core/class/ctypent.class.php
+++ b/htdocs/core/class/ctypent.class.php
@@ -118,7 +118,7 @@ class Ctypent // extends CommonObject
 	            // want this action call a trigger.
 
 	            //// Call triggers
-	            //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+	            //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 	            //$interface=new Interfaces($this->db);
 	            //$result=$interface->run_triggers('MYOBJECT_CREATE',$this,$user,$langs,$conf);
 	            //if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -236,7 +236,7 @@ class Ctypent // extends CommonObject
 	            // want this action call a trigger.
 
 	            //// Call triggers
-	            //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+	            //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 	            //$interface=new Interfaces($this->db);
 	            //$result=$interface->run_triggers('MYOBJECT_MODIFY',$this,$user,$langs,$conf);
 	            //if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -292,7 +292,7 @@ class Ctypent // extends CommonObject
 		        // want this action call a trigger.
 
 		        //// Call triggers
-		        //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+		        //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 		        //$interface=new Interfaces($this->db);
 		        //$result=$interface->run_triggers('MYOBJECT_DELETE',$this,$user,$langs,$conf);
 		        //if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/core/class/dolgeoip.class.php b/htdocs/core/class/dolgeoip.class.php
index 2fb677aeffe..3eeb0cb9255 100644
--- a/htdocs/core/class/dolgeoip.class.php
+++ b/htdocs/core/class/dolgeoip.class.php
@@ -47,12 +47,12 @@ class DolGeoIP
 		if ($type == 'country')
 		{
 		    // geoip may have been already included with PEAR
-		    if (! function_exists('geoip_country_code_by_name')) $res=include_once(GEOIP_PATH."geoip.inc");
+		    if (! function_exists('geoip_country_code_by_name')) $res=include_once GEOIP_PATH.'geoip.inc';
 		}
 		else if ($type == 'city')
 		{
 		    // geoip may have been already included with PEAR
-		    if (! function_exists('geoip_country_code_by_name')) $res=include_once(GEOIP_PATH."geoipcity.inc");
+		    if (! function_exists('geoip_country_code_by_name')) $res=include_once GEOIP_PATH.'geoipcity.inc';
 		}
 		else { print 'ErrorBadParameterInConstructor'; return 0; }
 
diff --git a/htdocs/core/class/dolgraph.class.php b/htdocs/core/class/dolgraph.class.php
index cd82c00e0e6..a3bbb7d4e14 100644
--- a/htdocs/core/class/dolgraph.class.php
+++ b/htdocs/core/class/dolgraph.class.php
@@ -113,7 +113,7 @@ class DolGraph
         $color_file = DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/graph-color.php';
         if (is_readable($color_file))
         {
-            include_once($color_file);
+            include_once $color_file;
             if (isset($theme_bordercolor)) $this->bordercolor = $theme_bordercolor;
             if (isset($theme_datacolor))   $this->datacolor   = $theme_datacolor;
             if (isset($theme_bgcolor))     $this->bgcolor     = $theme_bgcolor;
@@ -568,7 +568,7 @@ class DolGraph
         $classname='';
         if ($this->type[0] == 'bars')  $classname='BarPlot';    // Only first type of type is supported by artichow
         if ($this->type[0] == 'lines') $classname='LinePlot';
-        include_once(ARTICHOW_PATH.$classname.".class.php");
+        include_once ARTICHOW_PATH.$classname.'.class.php';
 
         // Definition de couleurs
         $bgcolor=new Color($this->bgcolor[0],$this->bgcolor[1],$this->bgcolor[2]);
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index b827ff362dd..57c4308fb80 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -866,7 +866,7 @@ class Form
             $i = 0;
             if ($num)
             {
-                include_once(DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
                 $contactstatic=new Contact($this->db);
 
                 while ($i < $num)
diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php
index 1597a92e0d6..34b6a9448d7 100644
--- a/htdocs/core/class/html.formfile.class.php
+++ b/htdocs/core/class/html.formfile.class.php
@@ -195,7 +195,7 @@ class FormFile
     function showdocuments($modulepart,$filename,$filedir,$urlsource,$genallowed,$delallowed=0,$modelselected='',$allowgenifempty=1,$forcenomultilang=0,$iconPDF=0,$maxfilenamelength=28,$noform=0,$param='',$title='',$buttonlabel='',$codelang='',$hookmanager=false)
     {
         // filedir = conf->...dir_ouput."/".get_exdir(id)
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
 
         global $langs,$bc,$conf;
 
@@ -233,7 +233,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/societe/modules_societe.class.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/societe/modules_societe.class.php';
                     $modellist=ModeleThirdPartyDoc::liste_modeles($this->db);
                 }
             }
@@ -242,7 +242,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/propale/modules_propale.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/propale/modules_propale.php';
                     $modellist=ModelePDFPropales::liste_modeles($this->db);
                 }
             }
@@ -251,7 +251,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/commande/modules_commande.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/commande/modules_commande.php';
                     $modellist=ModelePDFCommandes::liste_modeles($this->db);
                 }
             }
@@ -260,7 +260,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/expedition/modules_expedition.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/expedition/modules_expedition.php';
                     $modellist=ModelePDFExpedition::liste_modeles($this->db);
                 }
             }
@@ -269,7 +269,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/livraison/modules_livraison.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/livraison/modules_livraison.php';
                     $modellist=ModelePDFDeliveryOrder::liste_modeles($this->db);
                 }
             }
@@ -278,7 +278,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/fichinter/modules_fichinter.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/fichinter/modules_fichinter.php';
                     $modellist=ModelePDFFicheinter::liste_modeles($this->db);
                 }
             }
@@ -287,7 +287,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/facture/modules_facture.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/facture/modules_facture.php';
                     $modellist=ModelePDFFactures::liste_modeles($this->db);
                 }
             }
@@ -296,7 +296,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/project/modules_project.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/project/modules_project.php';
                     $modellist=ModelePDFProjects::liste_modeles($this->db);
                 }
             }
@@ -305,7 +305,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/export/modules_export.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/export/modules_export.php';
                     $modellist=ModeleExports::liste_modeles($this->db);
                 }
             }
@@ -314,7 +314,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/supplier_order/modules_commandefournisseur.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/supplier_order/modules_commandefournisseur.php';
                     $modellist=ModelePDFSuppliersOrders::liste_modeles($this->db);
                 }
             }
@@ -323,7 +323,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/supplier_invoice/modules_facturefournisseur.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/supplier_invoice/modules_facturefournisseur.php';
                     $modellist=ModelePDFSuppliersInvoices::liste_modeles($this->db);
                 }
             }
@@ -332,7 +332,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/cheque/pdf/modules_chequereceipts.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/cheque/pdf/modules_chequereceipts.php';
                     $modellist=ModeleChequeReceipts::liste_modeles($this->db);
                 }
             }
@@ -341,7 +341,7 @@ class FormFile
                 if (is_array($genallowed)) $modellist=$genallowed;
                 else
                 {
-                    include_once(DOL_DOCUMENT_ROOT.'/core/modules/dons/modules_don.php');
+                    include_once DOL_DOCUMENT_ROOT.'/core/modules/dons/modules_don.php';
                     $modellist=ModeleDon::liste_modeles($this->db);
                 }
             }
@@ -355,7 +355,7 @@ class FormFile
                 $file=dol_buildpath('/core/modules/'.$modulepart.'/modules_'.$modulepart.'.php',0);
                 if (file_exists($file))
                 {
-                    $res=include_once($file);
+                    $res=include_once $file;
                 }
                 $class='Modele'.ucfirst($modulepart);
                 if (class_exists($class))
@@ -408,7 +408,7 @@ class FormFile
             $out.= '<th align="center" class="formdoc liste_titre">';
             if (($allowgenifempty || (is_array($modellist) && count($modellist) > 0)) && $conf->global->MAIN_MULTILANGS && ! $forcenomultilang)
             {
-                include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
                 $formadmin=new FormAdmin($this->db);
                 $defaultlang=$codelang?$codelang:$langs->getDefaultLang();
                 $out.= $formadmin->select_language($defaultlang);
@@ -570,7 +570,7 @@ class FormFile
 
         $nboffiles=count($filearray);
 
-        if ($nboffiles > 0) include_once(DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php');
+        if ($nboffiles > 0) include_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
 
         $var=true;
         foreach($filearray as $key => $file)      // filearray must be only files here
@@ -671,42 +671,42 @@ class FormFile
         // To show ref or specific information according to view to show (defined by $module)
         if ($modulepart == 'company')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
             $object_instance=new Societe($this->db);
         }
         else if ($modulepart == 'invoice')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
             $object_instance=new Facture($this->db);
         }
         else if ($modulepart == 'invoice_supplier')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
             $object_instance=new FactureFournisseur($this->db);
         }
         else if ($modulepart == 'propal')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
             $object_instance=new Propal($this->db);
         }
         else if ($modulepart == 'order')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
             $object_instance=new Commande($this->db);
         }
         else if ($modulepart == 'order_supplier')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
             $object_instance=new CommandeFournisseur($this->db);
         }
         else if ($modulepart == 'contract')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
             $object_instance=new Contrat($this->db);
         }
         else if ($modulepart == 'tax')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
             $object_instance=new ChargeSociales($this->db);
         }
 
@@ -815,10 +815,10 @@ class FormFile
         $max_file_size 				= (($post_max_size < $upload_max_filesize) ? $post_max_size : $upload_max_filesize);
 
         // Include main
-        include(DOL_DOCUMENT_ROOT.'/core/tpl/ajax/fileupload_main.tpl.php');
+        include DOL_DOCUMENT_ROOT.'/core/tpl/ajax/fileupload_main.tpl.php';
 
         // Include template
-        include(DOL_DOCUMENT_ROOT.'/core/tpl/ajax/fileupload_view.tpl.php');
+        include DOL_DOCUMENT_ROOT.'/core/tpl/ajax/fileupload_view.tpl.php';
 
     }
 
diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php
index d950ab04e01..2371d07bbae 100644
--- a/htdocs/core/class/html.formother.class.php
+++ b/htdocs/core/class/html.formother.class.php
@@ -806,7 +806,7 @@ class FormOther
     {
         global $conf,$langs,$db;
 
-        include_once(DOL_DOCUMENT_ROOT.'/core/class/infobox.class.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/class/infobox.class.php';
 
         //$infobox=new InfoBox($db);
         $boxactivated=InfoBox::listboxes($db,'activated',$areacode,$user);
diff --git a/htdocs/core/class/interfaces.class.php b/htdocs/core/class/interfaces.class.php
index f6892455301..d3466e5268c 100644
--- a/htdocs/core/class/interfaces.class.php
+++ b/htdocs/core/class/interfaces.class.php
@@ -107,7 +107,7 @@ class Interfaces
                         }
                         else
                         {
-                            include_once($newdir.'/'.$file);
+                            include_once $newdir.'/'.$file;
                         }
 
                         // Check if trigger file is disabled by name
@@ -233,7 +233,7 @@ class Interfaces
                         }
                         else
                         {
-                            include_once($newdir.'/'.$file);
+                            include_once $newdir.'/'.$file;
                         }
 
                         $files[$i] = $file;
diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php
index 1d7f443f739..1474cb7686a 100644
--- a/htdocs/core/class/notify.class.php
+++ b/htdocs/core/class/notify.class.php
@@ -162,7 +162,7 @@ class Notify
 
                 if (dol_strlen($sendto))
                 {
-                	include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+                	include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
                 	$application=($conf->global->MAIN_APPLICATION_TITLE?$conf->global->MAIN_APPLICATION_TITLE:'Dolibarr ERP/CRM');
 
                 	$subject = '['.$application.'] '.$langs->transnoentitiesnoconv("DolibarrNotification");
diff --git a/htdocs/core/class/rssparser.class.php b/htdocs/core/class/rssparser.class.php
index c3af2d046b4..f86c40b0879 100755
--- a/htdocs/core/class/rssparser.class.php
+++ b/htdocs/core/class/rssparser.class.php
@@ -165,7 +165,7 @@ class RssParser
     {
         global $conf;
 
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
 
         $str='';    // This will contain content of feed
 
diff --git a/htdocs/core/class/smtps.class.php b/htdocs/core/class/smtps.class.php
index 7dee233f436..51bb4664861 100755
--- a/htdocs/core/class/smtps.class.php
+++ b/htdocs/core/class/smtps.class.php
@@ -318,7 +318,7 @@ class SMTPs
 		$host=preg_replace('@ssl://@i','',$host);	// Remove prefix
 
 		// DOL_CHANGE LDR
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 
 		if ( (! is_ip($host)) && ((gethostbyname($host)) == $host))
 		{
diff --git a/htdocs/core/class/translate.class.php b/htdocs/core/class/translate.class.php
index c40ca2a2386..88837c2a912 100644
--- a/htdocs/core/class/translate.class.php
+++ b/htdocs/core/class/translate.class.php
@@ -603,7 +603,7 @@ class Translate
 			$fonc='numberwords';
 			if (file_exists($newdir.'/functions_'.$fonc.'.lib.php'))
 			{
-				include_once($newdir.'/functions_'.$fonc.'.lib.php');
+				include_once $newdir.'/functions_'.$fonc.'.lib.php';
 				$newnumber=numberwords_getLabelFromNumber($this,$number,$isamount);
 				break;
 			}
diff --git a/htdocs/core/lib/admin.lib.php b/htdocs/core/lib/admin.lib.php
index fa3d69cb4fb..ef73cf5be70 100644
--- a/htdocs/core/lib/admin.lib.php
+++ b/htdocs/core/lib/admin.lib.php
@@ -684,7 +684,7 @@ function activateModule($value,$withdeps=1)
     {
         if (file_exists($dir.$modFile))
         {
-            $found=@include_once($dir.$modFile);
+            $found=@include_once $dir.$modFile;
             if ($found) break;
         }
     }
@@ -803,7 +803,7 @@ function unActivateModule($value, $requiredby=1)
     {
         if (file_exists($dir.$modFile))
         {
-            $found=@include_once($dir.$modFile);
+            $found=@include_once $dir.$modFile;
             if ($found) break;
         }
     }
@@ -907,7 +907,7 @@ function complete_dictionnary_with_modules(&$taborder,&$tabname,&$tablib,&$tabsq
 
                     if ($modName)
                     {
-                        include_once($dir.$file);
+                        include_once $dir.$file;
                         $objMod = new $modName($db);
 
                         if ($objMod->numero > 0)
diff --git a/htdocs/core/lib/agenda.lib.php b/htdocs/core/lib/agenda.lib.php
index c12074faea7..30989a272e7 100644
--- a/htdocs/core/lib/agenda.lib.php
+++ b/htdocs/core/lib/agenda.lib.php
@@ -87,7 +87,7 @@ function print_actions_filter($form,$canedit,$status,$year,$month,$day,$showbirt
 				print $form->select_dolusers($filterd,'userdone',1,'',!$canedit);
 				print '</td></tr>';
 
-				include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php');
+				include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
 				$formactions=new FormActions($db);
 				print '<tr>';
 				print '<td nowrap="nowrap">';
@@ -175,8 +175,8 @@ function show_array_actions_to_do($max=5)
 
 	$now=dol_now();
 
-	include_once(DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php');
-	include_once(DOL_DOCUMENT_ROOT.'/societe/class/client.class.php');
+	include_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php';
+	include_once DOL_DOCUMENT_ROOT.'/societe/class/client.class.php';
 
 	$sql = "SELECT a.id, a.label, a.datep as dp, a.datep2 as dp2, a.fk_user_author, a.percent,";
 	$sql.= " c.code, c.libelle,";
diff --git a/htdocs/core/lib/files.lib.php b/htdocs/core/lib/files.lib.php
index a8d032a72e2..36851694460 100644
--- a/htdocs/core/lib/files.lib.php
+++ b/htdocs/core/lib/files.lib.php
@@ -634,7 +634,7 @@ function dol_move_uploaded_file($src_file, $dest_file, $allowoverwrite, $disable
 				$object->src_file=$dest_file;
 
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($db);
 				$result=$interface->run_triggers('FILE_UPLOAD',$object,$user,$langs,$conf);
 				if ($result < 0) {
@@ -695,7 +695,7 @@ function dol_delete_file($file,$disableglob=0,$nophperrors=0,$notrigger=0,$objec
 
             		// TODO Replace trigger by a hook. Triggers must be used for business events only.
             		// Appel des triggers
-            		include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            		include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             		$interface=new Interfaces($db);
             		$result=$interface->run_triggers('FILE_DELETE',$object,$user,$langs,$conf);
             		if ($result < 0) { $error++; $errors=$interface->errors; }
@@ -945,7 +945,7 @@ function dol_add_file_process($upload_dir,$allowoverwrite=0,$donotupdatesession=
 			{
 				if (empty($donotupdatesession))
 				{
-					include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+					include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
 					$formmail = new FormMail($db);
 					$formmail->add_attached_files($upload_dir . "/" . $_FILES[$varfiles]['name'],$_FILES[$varfiles]['name'],$_FILES[$varfiles]['type']);
 				}
@@ -1025,7 +1025,7 @@ function dol_remove_file_process($filenb,$donotupdatesession=0,$donotdeletefile=
 			}
 			if (empty($donotupdatesession))
 			{
-				include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+				include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
 				$formmail = new FormMail($db);
 				$formmail->remove_attached_files($keytodelete);
 			}
@@ -1092,7 +1092,7 @@ function dol_compress_file($inputfile, $outputfile, $mode="gz")
             {
                 $foundhandler=1;
 
-                include_once(ODTPHP_PATHTOPCLZIP.'/pclzip.lib.php');
+                include_once ODTPHP_PATHTOPCLZIP.'/pclzip.lib.php';
                 $archive = new PclZip($outputfile);
                 $archive->add($inputfile, PCLZIP_OPT_REMOVE_PATH, dirname($inputfile));
                 //$archive->add($inputfile);
@@ -1136,7 +1136,7 @@ function dol_uncompress($inputfile,$outputdir)
 
     if (defined('ODTPHP_PATHTOPCLZIP'))
     {
-        include_once(ODTPHP_PATHTOPCLZIP.'/pclzip.lib.php');
+        include_once ODTPHP_PATHTOPCLZIP.'/pclzip.lib.php';
         $archive = new PclZip($inputfile);
         if ($archive->extract(PCLZIP_OPT_PATH, $outputdir) == 0) return array('error'=>$archive->errorInfo(true));
         else return array();
diff --git a/htdocs/core/lib/fourn.lib.php b/htdocs/core/lib/fourn.lib.php
index 7f66a6ac090..887cae3115d 100644
--- a/htdocs/core/lib/fourn.lib.php
+++ b/htdocs/core/lib/fourn.lib.php
@@ -65,7 +65,7 @@ function facturefourn_prepare_head($object)
 
 	$head[$h][0] = DOL_URL_ROOT.'/fourn/facture/document.php?facid='.$object->id;
 	/*$filesdir = $conf->fournisseur->dir_output.'/facture/'.get_exdir($fac->id,2).$fac->id;
-	include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+	include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
 	$listoffiles=dol_dir_list($filesdir,'files',1);
 	$head[$h][1] = (count($listoffiles)?$langs->trans('DocumentsNb',count($listoffiles)):$langs->trans('Documents'));*/
 	$head[$h][1] = $langs->trans('Documents');
@@ -131,7 +131,7 @@ function ordersupplier_prepare_head($object)
 
 	$head[$h][0] = DOL_URL_ROOT.'/fourn/commande/document.php?id='.$object->id;
 	/*$filesdir = $conf->fournisseur->dir_output . "/commande/" . dol_sanitizeFileName($commande->ref);
-	include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+	include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
 	$listoffiles=dol_dir_list($filesdir,'files',1);
 	$head[$h][1] = (count($listoffiles)?$langs->trans('DocumentsNb',count($listoffiles)):$langs->trans('Documents'));*/
 	$head[$h][1] = $langs->trans('Documents');
diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index aec66e15cbe..878cee4812f 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -33,7 +33,7 @@
 
 if (! function_exists('json_encode'))
 {
-	include_once(DOL_DOCUMENT_ROOT ."/core/lib/json.lib.php");
+	include_once DOL_DOCUMENT_ROOT .'/core/lib/json.lib.php';
 }
 
 /**
@@ -222,7 +222,7 @@ function dol_getprefix()
  *	Make an include_once using default root and alternate root if it fails.
  *	WARNING: In most cases, you should not use this function:
  *  To link to a core file, use include(DOL_DOCUMENT_ROOT.'/pathtofile')
- *  To link to a module file from a module file, use include('./mymodulefile');
+ *  To link to a module file from a module file, use include './mymodulefile';
  *  To link to a module file from a core file, then this function can be used
  *
  * 	@param	string	$relpath	Relative path to file (Ie: mydir/myfile, ../myfile, ...)
@@ -568,7 +568,7 @@ function dol_syslog($message, $level=LOG_INFO)
 				// database or config file because we must be able to log data before database or config file read.
 				$oldinclude=get_include_path();
 				set_include_path('/usr/share/php/');
-				include_once('FirePHPCore/FirePHP.class.php');
+				include_once 'FirePHPCore/FirePHP.class.php';
 				set_include_path($oldinclude);
 				ob_start();
 				$firephp = FirePHP::getInstance(true);
@@ -1239,7 +1239,7 @@ function dol_print_ip($ip,$mode=0)
 		//$ip='24.24.24.24';
 		//$datafile='E:\Mes Sites\Web\Admin1\awstats\maxmind\GeoIP.dat';    Note that this must be downloaded datafile (not same than datafile provided with ubuntu packages)
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/class/dolgeoip.class.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/class/dolgeoip.class.php';
 		$geoip=new DolGeoIP('country',$datafile);
 		//print 'ip='.$ip.' databaseType='.$geoip->gi->databaseType." GEOIP_CITY_EDITION_REV1=".GEOIP_CITY_EDITION_REV1."\n";
 		//print "geoip_country_id_by_addr=".geoip_country_id_by_addr($geoip->gi,$ip)."\n";
@@ -1275,7 +1275,7 @@ function dol_user_country()
 		$datafile=$conf->global->GEOIPMAXMIND_COUNTRY_DATAFILE;
 		//$ip='24.24.24.24';
 		//$datafile='E:\Mes Sites\Web\Admin1\awstats\maxmind\GeoIP.dat';
-		include_once(DOL_DOCUMENT_ROOT.'/core/class/dolgeoip.class.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/class/dolgeoip.class.php';
 		$geoip=new DolGeoIP('country',$datafile);
 		$countrycode=$geoip->getCountryCodeFromIP($ip);
 		$ret=$countrycode;
@@ -1425,7 +1425,7 @@ function dol_print_graph($htmlid,$width,$height,$data,$showlegend=0,$type='pie',
 	$color_file = DOL_DOCUMENT_ROOT."/theme/".$conf->theme."/graph-color.php";
 	if (is_readable($color_file))
 	{
-		include_once($color_file);
+		include_once $color_file;
 		if (isset($theme_datacolor))
 		{
 			$datacolor=array();
diff --git a/htdocs/core/lib/functions2.lib.php b/htdocs/core/lib/functions2.lib.php
index c0640900d81..c63360a07ad 100644
--- a/htdocs/core/lib/functions2.lib.php
+++ b/htdocs/core/lib/functions2.lib.php
@@ -179,7 +179,7 @@ function dol_print_object_info($object)
     $langs->load("other");
     $langs->load("admin");
 
-    include_once(DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php');
+    include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
 
     $deltadateforserver=getServerTimeZoneInt('now');
     $deltadateforclient=((int) $_SESSION['dol_tz'] + (int) $_SESSION['dol_dst']);
@@ -1214,7 +1214,7 @@ function getListOfModels($db,$type,$maxfilenamelength=0)
             // with the constant that contains list of directories to scan (COMPANY_ADDON_PDF_ODT_PATH, ...).
             if (! empty($obj->description))	// List of directories to scan is defined
             {
-                include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+                include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
 
                 $const=$obj->description;
                 $dirtoscan.=($dirtoscan?',':'').preg_replace('/[\r\n]+/',',',trim($conf->global->$const));
diff --git a/htdocs/core/lib/invoice.lib.php b/htdocs/core/lib/invoice.lib.php
index 50753fc2818..07e7550994b 100644
--- a/htdocs/core/lib/invoice.lib.php
+++ b/htdocs/core/lib/invoice.lib.php
@@ -81,7 +81,7 @@ function facture_prepare_head($object)
 
 	$head[$h][0] = DOL_URL_ROOT.'/compta/facture/document.php?facid='.$object->id;
 	/*$filesdir = $conf->facture->dir_output . "/" . dol_sanitizeFileName($fac->ref);
-	include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+	include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
 	$listoffiles=dol_dir_list($filesdir,'files',1);
 	$head[$h][1] = (count($listoffiles)?$langs->trans('DocumentsNb',count($listoffiles)):$langs->trans('Documents'));*/
 	$head[$h][1] = $langs->trans('Documents');
diff --git a/htdocs/core/lib/order.lib.php b/htdocs/core/lib/order.lib.php
index 0ba1d9451dc..2bd4fd8779b 100644
--- a/htdocs/core/lib/order.lib.php
+++ b/htdocs/core/lib/order.lib.php
@@ -84,7 +84,7 @@ function commande_prepare_head($object)
 
     $head[$h][0] = DOL_URL_ROOT.'/commande/document.php?id='.$object->id;
 	/*$filesdir = $conf->commande->dir_output . "/" . dol_sanitizeFileName($commande->ref);
-	include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+	include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
 	$listoffiles=dol_dir_list($filesdir,'files',1);
 	$head[$h][1] = (count($listoffiles)?$langs->trans('DocumentsNb',count($listoffiles)):$langs->trans('Documents'));*/
 	$head[$h][1] = $langs->trans('Documents');
diff --git a/htdocs/core/lib/pdf.lib.php b/htdocs/core/lib/pdf.lib.php
index a66ddba0189..c98c2be380c 100644
--- a/htdocs/core/lib/pdf.lib.php
+++ b/htdocs/core/lib/pdf.lib.php
@@ -42,7 +42,7 @@ function pdf_getFormat()
 
 	if (empty($conf->global->MAIN_PDF_FORMAT))
 	{
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$pdfformat=dol_getDefaultFormat();
 	}
 	else $pdfformat=$conf->global->MAIN_PDF_FORMAT;
@@ -177,7 +177,7 @@ function pdf_getPDFFontSize($outputlangs)
 function pdf_getHeightForLogo($logo)
 {
     $height=22; $maxwidth=130;
-    include_once(DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php');
+    include_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
     $tmp=dol_getImageSize($logo);
     if ($tmp['height'])
     {
@@ -1216,7 +1216,7 @@ function pdf_getlineqty_keeptoship($object,$i,$outputlangs,$hidedetails=0,$hookm
  */
 function pdf_getlineremisepercent($object,$i,$outputlangs,$hidedetails=0,$hookmanager=false)
 {
-	include_once(DOL_DOCUMENT_ROOT."/core/lib/functions2.lib.php");
+	include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 
 	if ($object->lines[$i]->special_code != 3)
 	{
diff --git a/htdocs/core/lib/project.lib.php b/htdocs/core/lib/project.lib.php
index 774084a7824..d7a4f21ee00 100644
--- a/htdocs/core/lib/project.lib.php
+++ b/htdocs/core/lib/project.lib.php
@@ -65,7 +65,7 @@ function project_prepare_head($object)
 
     $head[$h][0] = DOL_URL_ROOT.'/projet/document.php?id='.$object->id;
     /*$filesdir = $conf->projet->dir_output . "/" . dol_sanitizeFileName($object->ref);
-     include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+     include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
     $listoffiles=dol_dir_list($filesdir,'files',1);
     $head[$h][1] = (count($listoffiles)?$langs->trans('DocumentsNb',count($listoffiles)):$langs->trans('Documents'));*/
     $head[$h][1] = $langs->trans('Documents');
@@ -134,7 +134,7 @@ function task_prepare_head($object)
 
     $head[$h][0] = DOL_URL_ROOT.'/projet/tasks/document.php?id='.$object->id.(GETPOST('withproject')?'&withproject=1':'');;
     /*$filesdir = $conf->projet->dir_output . "/" . dol_sanitizeFileName($object->ref);
-     include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+     include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
     $listoffiles=dol_dir_list($filesdir,'files',1);
     $head[$h][1] = (count($listoffiles)?$langs->trans('DocumentsNb',count($listoffiles)):$langs->trans('Documents'));*/
     $head[$h][1] = $langs->trans('Documents');
diff --git a/htdocs/core/lib/propal.lib.php b/htdocs/core/lib/propal.lib.php
index 23439d25806..ca30e8631f1 100644
--- a/htdocs/core/lib/propal.lib.php
+++ b/htdocs/core/lib/propal.lib.php
@@ -87,7 +87,7 @@ function propal_prepare_head($object)
 
 	$head[$h][0] = DOL_URL_ROOT.'/comm/propal/document.php?id='.$object->id;
 	/*$filesdir = $conf->propal->dir_output . "/" . dol_sanitizeFileName($propal->ref);
-	include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+	include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
 	$listoffiles=dol_dir_list($filesdir,'files',1);
 	$head[$h][1] = (count($listoffiles)?$langs->trans('DocumentsNb',count($listoffiles)):$langs->trans('Documents'));*/
 	$head[$h][1] = $langs->trans('Documents');
diff --git a/htdocs/core/lib/security.lib.php b/htdocs/core/lib/security.lib.php
index 23617b7208b..5460f0f3771 100644
--- a/htdocs/core/lib/security.lib.php
+++ b/htdocs/core/lib/security.lib.php
@@ -373,7 +373,7 @@ function restrictedArea($user, $features, $objectid=0, $dbtablename='', $feature
             {
                 if (! empty($conf->projet->enabled) && ! $user->rights->projet->all->lire)
                 {
-                    include_once(DOL_DOCUMENT_ROOT."/projet/class/project.class.php");
+                    include_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
                     $projectstatic=new Project($db);
                     $tmps=$projectstatic->getProjectsAuthorizedForUser($user,0,1,0);
                     $tmparray=explode(',',$tmps);
@@ -456,7 +456,7 @@ function accessforbidden($message='',$printheader=1,$printfooter=1,$showonlymess
     global $conf, $db, $user, $langs;
     if (! is_object($langs))
     {
-        include_once(DOL_DOCUMENT_ROOT.'/core/class/translate.class.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/class/translate.class.php';
         $langs=new Translate('',$conf);
     }
 
diff --git a/htdocs/core/lib/security2.lib.php b/htdocs/core/lib/security2.lib.php
index 40fb341d229..7c2c1d897e8 100644
--- a/htdocs/core/lib/security2.lib.php
+++ b/htdocs/core/lib/security2.lib.php
@@ -84,7 +84,7 @@ function checkLoginPassEntity($usertotest,$passwordtotest,$entitytotest,$authmod
     		    }
 
     		    $result=false;
-    		    if ($fullauthfile) $result=include_once($fullauthfile);
+    		    if ($fullauthfile) $result=include_once $fullauthfile;
     			if ($fullauthfile && $result)
     			{
     				// Call function to check user/password
@@ -133,7 +133,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
 	// Instantiate hooks of thirdparty module only if not already define
 	if (! is_object($hookmanager))
 	{
-		include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 		$hookmanager=new HookManager($db);
 	}
 	$hookmanager->initHooks(array('mainloginpage'));
@@ -282,7 +282,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
 	if (! empty($conf->global->MAIN_USE_JQUERY_THEME)) $jquerytheme = $conf->global->MAIN_USE_JQUERY_THEME;
 
 
-	include($template_dir.'login.tpl.php');	// To use native PHP
+	include $template_dir.'login.tpl.php';	// To use native PHP
 
 
 	$_SESSION["dol_loginmesg"] = '';
diff --git a/htdocs/core/lib/sendings.lib.php b/htdocs/core/lib/sendings.lib.php
index cd000432184..f4f65b1be04 100644
--- a/htdocs/core/lib/sendings.lib.php
+++ b/htdocs/core/lib/sendings.lib.php
@@ -260,7 +260,7 @@ function show_list_sending_receive($origin,$origin_id,$filter='')
 				// Informations on receipt
 				if ($conf->livraison_bon->enabled)
 				{
-					include_once(DOL_DOCUMENT_ROOT.'/livraison/class/livraison.class.php');
+					include_once DOL_DOCUMENT_ROOT.'/livraison/class/livraison.class.php';
 					$expedition->id=$objp->sendingid;
 					$expedition->fetchObjectLinked($expedition->id,$expedition->element);
 					//var_dump($expedition->linkedObjects);
diff --git a/htdocs/core/lib/ws.lib.php b/htdocs/core/lib/ws.lib.php
index 9e1d0fd1292..ed4ce476c8c 100755
--- a/htdocs/core/lib/ws.lib.php
+++ b/htdocs/core/lib/ws.lib.php
@@ -83,7 +83,7 @@ function check_authentication($authentication,&$error,&$errorcode,&$errorlabel)
         	// Set authmode
         	$authmode=explode(',',$dolibarr_main_authentication);
 
-            include_once(DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
         	$login = checkLoginPassEntity($authentication['login'],$authentication['password'],$authentication['entity'],$authmode);
 			if (empty($login))
 			{
diff --git a/htdocs/core/lib/xcal.lib.php b/htdocs/core/lib/xcal.lib.php
index 2f1b6e04a26..277dca6cc37 100644
--- a/htdocs/core/lib/xcal.lib.php
+++ b/htdocs/core/lib/xcal.lib.php
@@ -44,7 +44,7 @@ function build_calfile($format,$title,$desc,$events_array,$outputfile)
 	$calfileh=fopen($outputfile,'w');
 	if ($calfileh)
 	{
-	    include_once(DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php');
+	    include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
 		$now=dol_now();
 
 		$encoding='';
diff --git a/htdocs/core/modules/DolibarrModules.class.php b/htdocs/core/modules/DolibarrModules.class.php
index fed225a4263..ab33d464c8d 100644
--- a/htdocs/core/modules/DolibarrModules.class.php
+++ b/htdocs/core/modules/DolibarrModules.class.php
@@ -485,7 +485,7 @@ abstract class DolibarrModules
 
         $error=0;
 
-        include_once(DOL_DOCUMENT_ROOT ."/core/lib/admin.lib.php");
+        include_once DOL_DOCUMENT_ROOT .'/core/lib/admin.lib.php';
 
         $ok = 1;
         foreach($conf->file->dol_document_root as $dirroot)
@@ -961,7 +961,7 @@ abstract class DolibarrModules
                     // If we want to init permissions on admin users
                     if ($reinitadminperms)
                     {
-                        include_once(DOL_DOCUMENT_ROOT.'/user/class/user.class.php');
+                        include_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php';
                         $sql="SELECT rowid FROM ".MAIN_DB_PREFIX."user WHERE admin = 1";
                         dol_syslog(get_class($this)."::insert_permissions Search all admin users sql=".$sql);
                         $resqlseladmin=$this->db->query($sql,1);
diff --git a/htdocs/core/modules/cheque/pdf/modules_chequereceipts.php b/htdocs/core/modules/cheque/pdf/modules_chequereceipts.php
index 531928e3283..f031ea2d4aa 100644
--- a/htdocs/core/modules/cheque/pdf/modules_chequereceipts.php
+++ b/htdocs/core/modules/cheque/pdf/modules_chequereceipts.php
@@ -52,7 +52,7 @@ abstract class ModeleChequeReceipts extends CommonDocGenerator
 		$type='chequereceipt';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 		// TODO Remove this to use getListOfModels only
 		$liste = array('blochet'=>'blochet');
diff --git a/htdocs/core/modules/commande/doc/pdf_edison.modules.php b/htdocs/core/modules/commande/doc/pdf_edison.modules.php
index df8287086c9..7ea8c0fed0a 100644
--- a/htdocs/core/modules/commande/doc/pdf_edison.modules.php
+++ b/htdocs/core/modules/commande/doc/pdf_edison.modules.php
@@ -321,7 +321,7 @@ class pdf_edison extends ModelePDFCommandes
 				// Actions on extra fields (by external module or standard code)
 				if (! is_object($hookmanager))
 				{
-					include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+					include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 					$hookmanager=new HookManager($this->db);
 				}
 				$hookmanager->initHooks(array('pdfgeneration'));
diff --git a/htdocs/core/modules/commande/doc/pdf_einstein.modules.php b/htdocs/core/modules/commande/doc/pdf_einstein.modules.php
index 04a6cd9d100..59077af73cc 100644
--- a/htdocs/core/modules/commande/doc/pdf_einstein.modules.php
+++ b/htdocs/core/modules/commande/doc/pdf_einstein.modules.php
@@ -399,7 +399,7 @@ class pdf_einstein extends ModelePDFCommandes
 				// Add pdfgeneration hook
 				if (! is_object($hookmanager))
 				{
-					include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+					include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 					$hookmanager=new HookManager($this->db);
 				}
 				$hookmanager->initHooks(array('pdfgeneration'));
diff --git a/htdocs/core/modules/commande/modules_commande.php b/htdocs/core/modules/commande/modules_commande.php
index 047aa5c823e..27eeb60fdaa 100644
--- a/htdocs/core/modules/commande/modules_commande.php
+++ b/htdocs/core/modules/commande/modules_commande.php
@@ -54,7 +54,7 @@ abstract class ModelePDFCommandes extends CommonDocGenerator
 		$type='order';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 
 		return $liste;
@@ -235,7 +235,7 @@ function commande_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0
 			dol_meta_create($object);
 
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($db);
 			$result=$interface->run_triggers('ORDER_BUILDDOC',$object,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/core/modules/dons/modules_don.php b/htdocs/core/modules/dons/modules_don.php
index a07061e05c0..73f6bdf2052 100644
--- a/htdocs/core/modules/dons/modules_don.php
+++ b/htdocs/core/modules/dons/modules_don.php
@@ -50,7 +50,7 @@ abstract class ModeleDon extends CommonDocGenerator
         $type='donation';
         $liste=array();
 
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
         $liste=getListOfModels($db,$type,$maxfilenamelength);
 
         return $liste;
diff --git a/htdocs/core/modules/expedition/methode_expedition.modules.php b/htdocs/core/modules/expedition/methode_expedition.modules.php
index d8dc976faf9..564adf19a29 100644
--- a/htdocs/core/modules/expedition/methode_expedition.modules.php
+++ b/htdocs/core/modules/expedition/methode_expedition.modules.php
@@ -58,7 +58,7 @@ class ModeleShippingMethod
 		$type='???';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 
 		return $liste;
diff --git a/htdocs/core/modules/expedition/methode_expedition_colsui.modules.php b/htdocs/core/modules/expedition/methode_expedition_colsui.modules.php
index 1117165e112..6d3b300b4b8 100644
--- a/htdocs/core/modules/expedition/methode_expedition_colsui.modules.php
+++ b/htdocs/core/modules/expedition/methode_expedition_colsui.modules.php
@@ -20,7 +20,7 @@
  *	\file       htdocs/core/modules/expedition/methode_expedition_colsui.modules.php
  *	\ingroup    expedition
  */
-include_once "methode_expedition.modules.php";
+include_once 'methode_expedition.modules.php';
 
 /**
  * Class to manage shipment Colsui
diff --git a/htdocs/core/modules/expedition/methode_expedition_enl.modules.php b/htdocs/core/modules/expedition/methode_expedition_enl.modules.php
index 3da4913b7d9..0087018cc6f 100644
--- a/htdocs/core/modules/expedition/methode_expedition_enl.modules.php
+++ b/htdocs/core/modules/expedition/methode_expedition_enl.modules.php
@@ -19,7 +19,7 @@
  *	\file       htdocs/core/modules/expedition/methode_expedition_enl.modules.php
  *	\ingroup    expedition
  */
-include_once "methode_expedition.modules.php";
+include_once 'methode_expedition.modules.php';
 
 
 /**
diff --git a/htdocs/core/modules/expedition/methode_expedition_lettremax.modules.php b/htdocs/core/modules/expedition/methode_expedition_lettremax.modules.php
index df15cbcd72c..cadd71d15ba 100644
--- a/htdocs/core/modules/expedition/methode_expedition_lettremax.modules.php
+++ b/htdocs/core/modules/expedition/methode_expedition_lettremax.modules.php
@@ -20,7 +20,7 @@
  *	\ingroup    expedition
  */
 
-include_once "methode_expedition.modules.php";
+include_once 'methode_expedition.modules.php';
 
 
 /**
diff --git a/htdocs/core/modules/expedition/methode_expedition_trans.modules.php b/htdocs/core/modules/expedition/methode_expedition_trans.modules.php
index 20ae00da1f7..24895ccd3f8 100644
--- a/htdocs/core/modules/expedition/methode_expedition_trans.modules.php
+++ b/htdocs/core/modules/expedition/methode_expedition_trans.modules.php
@@ -19,7 +19,7 @@
  *	\file       htdocs/core/modules/expedition/methode_expedition_trans.modules.php
  *	\ingroup    expedition
  */
-include_once "methode_expedition.modules.php";
+include_once 'methode_expedition.modules.php';
 
 
 /**
diff --git a/htdocs/core/modules/expedition/modules_expedition.php b/htdocs/core/modules/expedition/modules_expedition.php
index 5d198dd0cc5..a40fddc9ef6 100644
--- a/htdocs/core/modules/expedition/modules_expedition.php
+++ b/htdocs/core/modules/expedition/modules_expedition.php
@@ -51,7 +51,7 @@ abstract class ModelePdfExpedition extends CommonDocGenerator
 		$type='shipping';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 
 		return $liste;
@@ -222,7 +222,7 @@ function expedition_pdf_create($db, $object, $modele, $outputlangs)
 			//dol_delete_preview($object);
 
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($db);
 			$result=$interface->run_triggers('SHIPPING_BUILDDOC',$object,$user,$langs,$conf);
 			if ($result < 0) {
diff --git a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php
index cd182248128..24fe33b632f 100755
--- a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php
+++ b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php
@@ -402,7 +402,7 @@ class pdf_crabe extends ModelePDFFactures
 				// Add pdfgeneration hook
 				if (! is_object($hookmanager))
 				{
-					include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+					include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 					$hookmanager=new HookManager($this->db);
 				}
 				$hookmanager->initHooks(array('pdfgeneration'));
diff --git a/htdocs/core/modules/facture/doc/pdf_oursin.modules.php b/htdocs/core/modules/facture/doc/pdf_oursin.modules.php
index 7f2f008e75a..b2b3254ab3a 100755
--- a/htdocs/core/modules/facture/doc/pdf_oursin.modules.php
+++ b/htdocs/core/modules/facture/doc/pdf_oursin.modules.php
@@ -357,7 +357,7 @@ class pdf_oursin extends ModelePDFFactures
 				// Actions on extra fields (by external module or standard code)
 				if (! is_object($hookmanager))
 				{
-					include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+					include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 					$hookmanager=new HookManager($this->db);
 				}
 				$hookmanager->initHooks(array('pdfgeneration'));
diff --git a/htdocs/core/modules/facture/modules_facture.php b/htdocs/core/modules/facture/modules_facture.php
index 88912a3c59a..66f02307d17 100644
--- a/htdocs/core/modules/facture/modules_facture.php
+++ b/htdocs/core/modules/facture/modules_facture.php
@@ -52,7 +52,7 @@ abstract class ModelePDFFactures extends CommonDocGenerator
 		$type='invoice';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 
 		return $liste;
@@ -236,7 +236,7 @@ function facture_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0,
 			dol_meta_create($object);
 
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($db);
 			$result=$interface->run_triggers('BILL_BUILDDOC',$object,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/core/modules/fichinter/modules_fichinter.php b/htdocs/core/modules/fichinter/modules_fichinter.php
index eeb46ed4fb9..0cda5ac63b7 100644
--- a/htdocs/core/modules/fichinter/modules_fichinter.php
+++ b/htdocs/core/modules/fichinter/modules_fichinter.php
@@ -51,7 +51,7 @@ abstract class ModelePDFFicheinter extends CommonDocGenerator
 		$type='ficheinter';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 
 		return $liste;
@@ -225,7 +225,7 @@ function fichinter_create($db, $object, $modele, $outputlangs, $hidedetails=0, $
 			dol_delete_preview($object);
 
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($db);
 			$result=$interface->run_triggers('FICHEINTER_BUILDDOC',$object,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/core/modules/livraison/modules_livraison.php b/htdocs/core/modules/livraison/modules_livraison.php
index e65aea51080..663c7198755 100644
--- a/htdocs/core/modules/livraison/modules_livraison.php
+++ b/htdocs/core/modules/livraison/modules_livraison.php
@@ -51,7 +51,7 @@ abstract class ModelePDFDeliveryOrder extends CommonDocGenerator
 		$type='delivery';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 
 		return $liste;
@@ -226,7 +226,7 @@ function delivery_order_pdf_create($db, $object, $modele, $outputlangs='')
 			dol_delete_preview($object);
 
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($db);
 			$result=$interface->run_triggers('DELIVERY_BUILDDOC',$object,$user,$langs,$conf);
 			if ($result < 0) {
diff --git a/htdocs/core/modules/member/modules_cards.php b/htdocs/core/modules/member/modules_cards.php
index de9ea9fb5fa..32df2f5d0e8 100644
--- a/htdocs/core/modules/member/modules_cards.php
+++ b/htdocs/core/modules/member/modules_cards.php
@@ -51,7 +51,7 @@ class ModelePDFCards
 		$type='members_card';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 
 		return $liste;
diff --git a/htdocs/core/modules/modAccounting.class.php b/htdocs/core/modules/modAccounting.class.php
index f04c436b2a1..65e93734777 100644
--- a/htdocs/core/modules/modAccounting.class.php
+++ b/htdocs/core/modules/modAccounting.class.php
@@ -26,7 +26,7 @@
  * 	\brief      Fichier de description et activation du module Comptabilite Expert
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modAdherent.class.php b/htdocs/core/modules/modAdherent.class.php
index d0356dafdef..1f8aeae6209 100644
--- a/htdocs/core/modules/modAdherent.class.php
+++ b/htdocs/core/modules/modAdherent.class.php
@@ -27,7 +27,7 @@
  *      \brief      File descriptor or module Member
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 /**
  *  Classe de description et activation du module Adherent
diff --git a/htdocs/core/modules/modAgenda.class.php b/htdocs/core/modules/modAgenda.class.php
index ad4b032a6f6..7292503e31d 100644
--- a/htdocs/core/modules/modAgenda.class.php
+++ b/htdocs/core/modules/modAgenda.class.php
@@ -27,7 +27,7 @@
  *      \ingroup    agenda
  *      \brief      Fichier de description et activation du module agenda
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 /**
  *      \class      modAgenda
diff --git a/htdocs/core/modules/modBanque.class.php b/htdocs/core/modules/modBanque.class.php
index 3303c3bcb7a..f5cc0ac0683 100644
--- a/htdocs/core/modules/modBanque.class.php
+++ b/htdocs/core/modules/modBanque.class.php
@@ -27,7 +27,7 @@
  *	\brief      Fichier de description et activation du module Banque
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modBarcode.class.php b/htdocs/core/modules/modBarcode.class.php
index aef4e0426d4..1fa133e0a9f 100644
--- a/htdocs/core/modules/modBarcode.class.php
+++ b/htdocs/core/modules/modBarcode.class.php
@@ -25,7 +25,7 @@
  *	\brief      Fichier de description et activation du module Barcode
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 /**
  *	\class      modBarcode
diff --git a/htdocs/core/modules/modBookmark.class.php b/htdocs/core/modules/modBookmark.class.php
index 91a51dd00c6..c8cda2c14c9 100644
--- a/htdocs/core/modules/modBookmark.class.php
+++ b/htdocs/core/modules/modBookmark.class.php
@@ -24,7 +24,7 @@
  *	\brief      Fichier de description et activation du module Bookmarks
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modBoutique.class.php b/htdocs/core/modules/modBoutique.class.php
index 0aa50d7c578..5538a9a63c9 100644
--- a/htdocs/core/modules/modBoutique.class.php
+++ b/htdocs/core/modules/modBoutique.class.php
@@ -26,7 +26,7 @@
  *  \brief      Fichier de description et activation du module OSCommerce
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modCashDesk.class.php b/htdocs/core/modules/modCashDesk.class.php
index a7a6fa13478..30a538dd3fa 100644
--- a/htdocs/core/modules/modCashDesk.class.php
+++ b/htdocs/core/modules/modCashDesk.class.php
@@ -22,7 +22,7 @@
  *      \ingroup    pos
  *      \brief      File to enable/disable module Point Of Sales
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modCategorie.class.php b/htdocs/core/modules/modCategorie.class.php
index cb0e349f70b..bc18fa78ecb 100644
--- a/htdocs/core/modules/modCategorie.class.php
+++ b/htdocs/core/modules/modCategorie.class.php
@@ -23,7 +23,7 @@
  *      \ingroup    category
  *      \brief      Fichier de description et activation du module Categorie
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modClickToDial.class.php b/htdocs/core/modules/modClickToDial.class.php
index 0f673696d26..47cbbfde2a0 100644
--- a/htdocs/core/modules/modClickToDial.class.php
+++ b/htdocs/core/modules/modClickToDial.class.php
@@ -24,7 +24,7 @@
  *	\brief      Fichier de description et activation du module de click to Dial
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modCommande.class.php b/htdocs/core/modules/modCommande.class.php
index 7c23cd1f80e..ed9640a7790 100644
--- a/htdocs/core/modules/modCommande.class.php
+++ b/htdocs/core/modules/modCommande.class.php
@@ -29,7 +29,7 @@
  *		\brief      Fichier de description et activation du module Commande
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modCommissions.class.php b/htdocs/core/modules/modCommissions.class.php
index 8335ffe7b2b..7aaa29f6063 100644
--- a/htdocs/core/modules/modCommissions.class.php
+++ b/htdocs/core/modules/modCommissions.class.php
@@ -23,7 +23,7 @@
  * 	\ingroup    commissions
  * 	\brief      Description and activation file for module Commissions
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modComptabilite.class.php b/htdocs/core/modules/modComptabilite.class.php
index e6a5b6d3182..a8fe798cd37 100644
--- a/htdocs/core/modules/modComptabilite.class.php
+++ b/htdocs/core/modules/modComptabilite.class.php
@@ -26,7 +26,7 @@
  * \brief      Fichier de description et activation du module Comptabilite
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modContrat.class.php b/htdocs/core/modules/modContrat.class.php
index 4466efffdcd..e7317dc99d0 100644
--- a/htdocs/core/modules/modContrat.class.php
+++ b/htdocs/core/modules/modContrat.class.php
@@ -25,7 +25,7 @@
  *	\brief      Fichier de description et activation du module Contrat
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modDeplacement.class.php b/htdocs/core/modules/modDeplacement.class.php
index 7c3f60abe4d..f42b6b20c80 100644
--- a/htdocs/core/modules/modDeplacement.class.php
+++ b/htdocs/core/modules/modDeplacement.class.php
@@ -23,7 +23,7 @@
  *	\ingroup    deplacement
  *	\brief      Fichier de description et activation du module Deplacement et notes de frais
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modDocument.class.php b/htdocs/core/modules/modDocument.class.php
index d0d31cb3e67..70058b77b1a 100644
--- a/htdocs/core/modules/modDocument.class.php
+++ b/htdocs/core/modules/modDocument.class.php
@@ -25,7 +25,7 @@
  *	\brief      	Fichier de description et activation du module Generation document
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modDon.class.php b/htdocs/core/modules/modDon.class.php
index e9acf254562..e1a39c42d13 100644
--- a/htdocs/core/modules/modDon.class.php
+++ b/htdocs/core/modules/modDon.class.php
@@ -25,7 +25,7 @@
  *	\brief      Fichier de description et activation du module Don
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modECM.class.php b/htdocs/core/modules/modECM.class.php
index 26eae1f353e..748b121547b 100644
--- a/htdocs/core/modules/modECM.class.php
+++ b/htdocs/core/modules/modECM.class.php
@@ -23,7 +23,7 @@
  *      \brief      Description and activation file for module ECM
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**     \class      modECM
diff --git a/htdocs/core/modules/modExpedition.class.php b/htdocs/core/modules/modExpedition.class.php
index 6d4dd923fad..c47c9710d27 100644
--- a/htdocs/core/modules/modExpedition.class.php
+++ b/htdocs/core/modules/modExpedition.class.php
@@ -26,7 +26,7 @@
  *	\brief      Fichier de description et activation du module Expedition
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modExport.class.php b/htdocs/core/modules/modExport.class.php
index 86659deca25..0c817b8488c 100644
--- a/htdocs/core/modules/modExport.class.php
+++ b/htdocs/core/modules/modExport.class.php
@@ -24,7 +24,7 @@
  *	\brief      Fichier de description et activation du module export
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**     \class      modExport
diff --git a/htdocs/core/modules/modExternalRss.class.php b/htdocs/core/modules/modExternalRss.class.php
index 0d946aa6dac..435a3c75714 100644
--- a/htdocs/core/modules/modExternalRss.class.php
+++ b/htdocs/core/modules/modExternalRss.class.php
@@ -24,7 +24,7 @@
  *	\brief      Fichier de description et activation du module externalrss
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**     \class      modExternalRss
diff --git a/htdocs/core/modules/modExternalSite.class.php b/htdocs/core/modules/modExternalSite.class.php
index 09311d199ba..aa0629d8ffc 100644
--- a/htdocs/core/modules/modExternalSite.class.php
+++ b/htdocs/core/modules/modExternalSite.class.php
@@ -25,7 +25,7 @@
  * \brief      Description and activation file for module ExternalSite
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**     \class      modExternalSite
diff --git a/htdocs/core/modules/modFTP.class.php b/htdocs/core/modules/modFTP.class.php
index 04a66df1bd8..590d3500627 100644
--- a/htdocs/core/modules/modFTP.class.php
+++ b/htdocs/core/modules/modFTP.class.php
@@ -24,7 +24,7 @@
  *      \brief      Description and activation file for module FTP
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**     \class      modFTP
diff --git a/htdocs/core/modules/modFacture.class.php b/htdocs/core/modules/modFacture.class.php
index 76effd8c918..0ed7ed44852 100644
--- a/htdocs/core/modules/modFacture.class.php
+++ b/htdocs/core/modules/modFacture.class.php
@@ -26,7 +26,7 @@
  *		\ingroup    facture
  *		\brief      Fichier de la classe de description et activation du module Facture
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modFckeditor.class.php b/htdocs/core/modules/modFckeditor.class.php
index 9b1e0f8834d..831a4bf679f 100644
--- a/htdocs/core/modules/modFckeditor.class.php
+++ b/htdocs/core/modules/modFckeditor.class.php
@@ -25,7 +25,7 @@
  *  \brief      Fichier de description et activation du module Fckeditor
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modFicheinter.class.php b/htdocs/core/modules/modFicheinter.class.php
index f74d8d5eb32..2a55a5653c0 100644
--- a/htdocs/core/modules/modFicheinter.class.php
+++ b/htdocs/core/modules/modFicheinter.class.php
@@ -28,7 +28,7 @@
  *	\brief      Fichier de description et activation du module Ficheinter
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modFournisseur.class.php b/htdocs/core/modules/modFournisseur.class.php
index 1257905d567..873445fd57b 100644
--- a/htdocs/core/modules/modFournisseur.class.php
+++ b/htdocs/core/modules/modFournisseur.class.php
@@ -24,7 +24,7 @@
  *		\ingroup    fournisseur
  *		\brief      Fichier de description et activation du module Fournisseur
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modGeoIPMaxmind.class.php b/htdocs/core/modules/modGeoIPMaxmind.class.php
index d4fe5f7bac8..be81886e514 100644
--- a/htdocs/core/modules/modGeoIPMaxmind.class.php
+++ b/htdocs/core/modules/modGeoIPMaxmind.class.php
@@ -23,7 +23,7 @@
  *	\brief      File of geoipmaxmind module descriptor
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**     \class      modGeoIPMaxmind
diff --git a/htdocs/core/modules/modGravatar.class.php b/htdocs/core/modules/modGravatar.class.php
index 7e17060838c..9fc8899a1cf 100644
--- a/htdocs/core/modules/modGravatar.class.php
+++ b/htdocs/core/modules/modGravatar.class.php
@@ -23,7 +23,7 @@
  *  \ingroup    gravatar
  *  \brief      Description and activation file for module Gravatar
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**     \class      modGravatar
diff --git a/htdocs/core/modules/modImport.class.php b/htdocs/core/modules/modImport.class.php
index f131ee0ae72..7bc70dbe55b 100644
--- a/htdocs/core/modules/modImport.class.php
+++ b/htdocs/core/modules/modImport.class.php
@@ -24,7 +24,7 @@
  *	\brief      Fichier de description et activation du module Import
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**     \class      modImport
diff --git a/htdocs/core/modules/modLabel.class.php b/htdocs/core/modules/modLabel.class.php
index 864f4273981..76a28618467 100644
--- a/htdocs/core/modules/modLabel.class.php
+++ b/htdocs/core/modules/modLabel.class.php
@@ -24,7 +24,7 @@
  *	\brief      Fichier de description et activation du module Label
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modLdap.class.php b/htdocs/core/modules/modLdap.class.php
index 1d2fee931e2..66066e534fd 100644
--- a/htdocs/core/modules/modLdap.class.php
+++ b/htdocs/core/modules/modLdap.class.php
@@ -24,7 +24,7 @@
  *	\ingroup    ldap
  *	\brief		File to describe and activate Ldap module
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modMailing.class.php b/htdocs/core/modules/modMailing.class.php
index 6f9a7e362e7..62bf61082c2 100644
--- a/htdocs/core/modules/modMailing.class.php
+++ b/htdocs/core/modules/modMailing.class.php
@@ -25,7 +25,7 @@
  *	\brief      Fichier de description et activation du module Mailing
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modMailmanSpip.class.php b/htdocs/core/modules/modMailmanSpip.class.php
index e56057bd334..cd55017bc3b 100644
--- a/htdocs/core/modules/modMailmanSpip.class.php
+++ b/htdocs/core/modules/modMailmanSpip.class.php
@@ -24,7 +24,7 @@
  *	\brief      Fichier de description et activation du module de click to Dial
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modMargin.class.php b/htdocs/core/modules/modMargin.class.php
index 082fd821acf..4619b765506 100644
--- a/htdocs/core/modules/modMargin.class.php
+++ b/htdocs/core/modules/modMargin.class.php
@@ -21,7 +21,7 @@
  *      \ingroup    margin
  *      \brief      Description and activation file for module Margin
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modNotification.class.php b/htdocs/core/modules/modNotification.class.php
index 4f60d51ee66..0aedef2948e 100644
--- a/htdocs/core/modules/modNotification.class.php
+++ b/htdocs/core/modules/modNotification.class.php
@@ -24,7 +24,7 @@
  *	\brief      Fichier de description et activation du module Notification
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 /**
  *	\class      modNotification
diff --git a/htdocs/core/modules/modPaybox.class.php b/htdocs/core/modules/modPaybox.class.php
index 3d8d92d8153..8d9032f11d4 100644
--- a/htdocs/core/modules/modPaybox.class.php
+++ b/htdocs/core/modules/modPaybox.class.php
@@ -23,7 +23,7 @@
  *  \ingroup    paybox
  *  \brief      Description and activation file for module Paybox
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**     \class      modPayBox
diff --git a/htdocs/core/modules/modPaypal.class.php b/htdocs/core/modules/modPaypal.class.php
index dd52eba0e09..5c10fe30ee5 100644
--- a/htdocs/core/modules/modPaypal.class.php
+++ b/htdocs/core/modules/modPaypal.class.php
@@ -24,7 +24,7 @@
  *  \ingroup    paypal
  *  \brief      Description and activation file for module Paypal
  */
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**     \class      modPaypal
diff --git a/htdocs/core/modules/modPrelevement.class.php b/htdocs/core/modules/modPrelevement.class.php
index f63947bc4a6..0a5da251e0f 100644
--- a/htdocs/core/modules/modPrelevement.class.php
+++ b/htdocs/core/modules/modPrelevement.class.php
@@ -26,7 +26,7 @@
  *	\brief      	Fichier de description et activation du module Prelevement
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modProduct.class.php b/htdocs/core/modules/modProduct.class.php
index 191673e1df6..c74985bca44 100644
--- a/htdocs/core/modules/modProduct.class.php
+++ b/htdocs/core/modules/modProduct.class.php
@@ -30,7 +30,7 @@
  *	\brief      File to describe module to manage catalog of predefined products
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modProjet.class.php b/htdocs/core/modules/modProjet.class.php
index 1c2adb531b7..3849c7df0d8 100644
--- a/htdocs/core/modules/modProjet.class.php
+++ b/htdocs/core/modules/modProjet.class.php
@@ -27,7 +27,7 @@
  *	\brief      Fichier de description et activation du module Projet
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modPropale.class.php b/htdocs/core/modules/modPropale.class.php
index 63c2af92e6a..332096a50c5 100644
--- a/htdocs/core/modules/modPropale.class.php
+++ b/htdocs/core/modules/modPropale.class.php
@@ -28,7 +28,7 @@
  *	\brief      Fichier de description et activation du module Propale
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modService.class.php b/htdocs/core/modules/modService.class.php
index c765bf23d36..88bc0b5491e 100644
--- a/htdocs/core/modules/modService.class.php
+++ b/htdocs/core/modules/modService.class.php
@@ -28,7 +28,7 @@
  *	\brief      Fichier de description et activation du module Service
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modSociete.class.php b/htdocs/core/modules/modSociete.class.php
index 3d1be256888..603c7bb8798 100644
--- a/htdocs/core/modules/modSociete.class.php
+++ b/htdocs/core/modules/modSociete.class.php
@@ -27,7 +27,7 @@
  *	\brief      Fichier de description et activation du module Societe
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modStock.class.php b/htdocs/core/modules/modStock.class.php
index 057a9fe34ac..5180e914ef5 100644
--- a/htdocs/core/modules/modStock.class.php
+++ b/htdocs/core/modules/modStock.class.php
@@ -25,7 +25,7 @@
  *	\brief      Fichier de description et activation du module Stock
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modSyslog.class.php b/htdocs/core/modules/modSyslog.class.php
index 0ce4111f6e0..3147b067f35 100644
--- a/htdocs/core/modules/modSyslog.class.php
+++ b/htdocs/core/modules/modSyslog.class.php
@@ -24,7 +24,7 @@
  *	\brief      Fichier de description et activation du module de syslog
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 /**
  *	\class      modSyslog
diff --git a/htdocs/core/modules/modTax.class.php b/htdocs/core/modules/modTax.class.php
index 49148d049e4..6342f53249d 100644
--- a/htdocs/core/modules/modTax.class.php
+++ b/htdocs/core/modules/modTax.class.php
@@ -28,7 +28,7 @@
  *      \brief      Fichier de description et activation du module Taxe
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/modUser.class.php b/htdocs/core/modules/modUser.class.php
index 5f98dd0b438..63829e38963 100644
--- a/htdocs/core/modules/modUser.class.php
+++ b/htdocs/core/modules/modUser.class.php
@@ -25,7 +25,7 @@
  *	\brief      Fichier de description et activation du module Utilisateur
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 /**
  *	\class      modUser
diff --git a/htdocs/core/modules/modWebServices.class.php b/htdocs/core/modules/modWebServices.class.php
index 03dfa798bab..f932d017ee2 100644
--- a/htdocs/core/modules/modWebServices.class.php
+++ b/htdocs/core/modules/modWebServices.class.php
@@ -23,7 +23,7 @@
  *       \brief      File to describe webservices module
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 /**
  *       \class      modWebServices
diff --git a/htdocs/core/modules/modWorkflow.class.php b/htdocs/core/modules/modWorkflow.class.php
index e1b1d128e2d..acaed9cbf69 100644
--- a/htdocs/core/modules/modWorkflow.class.php
+++ b/htdocs/core/modules/modWorkflow.class.php
@@ -24,7 +24,7 @@
  *      \brief      File to describe and activate module Workflow
  */
 
-include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
+include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 /**
diff --git a/htdocs/core/modules/printsheet/modules_labels.php b/htdocs/core/modules/printsheet/modules_labels.php
index 8ce7b4e3e0c..96e7bbcc7c5 100644
--- a/htdocs/core/modules/printsheet/modules_labels.php
+++ b/htdocs/core/modules/printsheet/modules_labels.php
@@ -51,7 +51,7 @@ class ModelePDFLabels
 		$type='members_labels';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 
 		return $liste;
diff --git a/htdocs/core/modules/project/modules_project.php b/htdocs/core/modules/project/modules_project.php
index b76883ef551..3996a255e03 100644
--- a/htdocs/core/modules/project/modules_project.php
+++ b/htdocs/core/modules/project/modules_project.php
@@ -47,7 +47,7 @@ abstract class ModelePDFProjects extends CommonDocGenerator
 		$type='project';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 
 		return $liste;
@@ -226,7 +226,7 @@ function project_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0,
 			dol_meta_create($object);
 
 			// Appel des triggers
-			/*include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			/*include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($db);
 			$result=$interface->run_triggers('PROJECT_BUILDDOC',$object,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }*/
diff --git a/htdocs/core/modules/propale/doc/pdf_azur.modules.php b/htdocs/core/modules/propale/doc/pdf_azur.modules.php
index e0ac661f7fd..4a24f74c2a0 100644
--- a/htdocs/core/modules/propale/doc/pdf_azur.modules.php
+++ b/htdocs/core/modules/propale/doc/pdf_azur.modules.php
@@ -386,7 +386,7 @@ class pdf_azur extends ModelePDFPropales
 				// Actions on extra fields (by external module or standard code)
 				if (! is_object($hookmanager))
 				{
-					include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+					include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 					$hookmanager=new HookManager($this->db);
 				}
 				$hookmanager->initHooks(array('pdfgeneration'));
diff --git a/htdocs/core/modules/propale/doc/pdf_jaune.modules.php b/htdocs/core/modules/propale/doc/pdf_jaune.modules.php
index 26d2ed0e77b..9be3c094e92 100644
--- a/htdocs/core/modules/propale/doc/pdf_jaune.modules.php
+++ b/htdocs/core/modules/propale/doc/pdf_jaune.modules.php
@@ -386,7 +386,7 @@ class pdf_jaune extends ModelePDFPropales
 				// Actions on extra fields (by external module or standard code)
 				if (! is_object($hookmanager))
 				{
-					include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+					include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 					$hookmanager=new HookManager($this->db);
 				}
 				$hookmanager->initHooks(array('pdfgeneration'));
diff --git a/htdocs/core/modules/propale/modules_propale.php b/htdocs/core/modules/propale/modules_propale.php
index 40ce33ed8f3..1a1e77d9d46 100644
--- a/htdocs/core/modules/propale/modules_propale.php
+++ b/htdocs/core/modules/propale/modules_propale.php
@@ -52,7 +52,7 @@ abstract class ModelePDFPropales extends CommonDocGenerator
 		$type='propal';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 
 		return $liste;
@@ -231,7 +231,7 @@ function propale_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0,
 			dol_meta_create($object);
 
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($db);
 			$result=$interface->run_triggers('PROPAL_BUILDDOC',$object,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/core/modules/rapport/pdf_paiement.class.php b/htdocs/core/modules/rapport/pdf_paiement.class.php
index 4ad2adaf31c..b238ee3cfe6 100644
--- a/htdocs/core/modules/rapport/pdf_paiement.class.php
+++ b/htdocs/core/modules/rapport/pdf_paiement.class.php
@@ -76,7 +76,7 @@ class pdf_paiement
 	 */
 	function write_file($_dir, $month, $year, $outputlangs)
 	{
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
 
 		global $user,$langs,$conf;
 
diff --git a/htdocs/core/modules/societe/modules_societe.class.php b/htdocs/core/modules/societe/modules_societe.class.php
index 3f2ae4a2f00..fc96075f430 100644
--- a/htdocs/core/modules/societe/modules_societe.class.php
+++ b/htdocs/core/modules/societe/modules_societe.class.php
@@ -49,7 +49,7 @@ abstract class ModeleThirdPartyDoc extends CommonDocGenerator
         $type='company';
         $liste=array();
 
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
         $liste=getListOfModels($db,$type,$maxfilenamelength);
 
         return $liste;
@@ -418,7 +418,7 @@ function thirdparty_doc_create($db, $object, $message, $modele, $outputlangs)
             $outputlangs->charset_output=$sav_charset_output;
 
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($db);
             $result=$interface->run_triggers('COMPANY_BUILDDOC',$object,$user,$langs,$conf);
             if ($result < 0) {
diff --git a/htdocs/core/modules/supplier_invoice/modules_facturefournisseur.php b/htdocs/core/modules/supplier_invoice/modules_facturefournisseur.php
index 8631aa98e51..fdcddaf6df1 100755
--- a/htdocs/core/modules/supplier_invoice/modules_facturefournisseur.php
+++ b/htdocs/core/modules/supplier_invoice/modules_facturefournisseur.php
@@ -47,7 +47,7 @@ abstract class ModelePDFSuppliersInvoices extends CommonDocGenerator
 		$type='invoice_supplier';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 
 		return $liste;
@@ -145,7 +145,7 @@ function supplier_invoice_pdf_create($db, $object, $modele, $outputlangs, $hided
 			dol_delete_preview($object);
 
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($db);
 			$result=$interface->run_triggers('SUPPLIER_INVOICE_BUILDDOC',$object,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
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 0e57b3073cb..6dd866f8887 100755
--- a/htdocs/core/modules/supplier_invoice/pdf/pdf_canelle.modules.php
+++ b/htdocs/core/modules/supplier_invoice/pdf/pdf_canelle.modules.php
@@ -386,7 +386,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
 				// Actions on extra fields (by external module or standard code)
 				if (!is_object($hookmanager))
 				{
-					include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+					include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 					$hookmanager=new HookManager($this->db);
 				}
 				$hookmanager->initHooks(array('pdfgeneration'));
diff --git a/htdocs/core/modules/supplier_order/modules_commandefournisseur.php b/htdocs/core/modules/supplier_order/modules_commandefournisseur.php
index cfefba33448..7c437a751cd 100644
--- a/htdocs/core/modules/supplier_order/modules_commandefournisseur.php
+++ b/htdocs/core/modules/supplier_order/modules_commandefournisseur.php
@@ -53,7 +53,7 @@ abstract class ModelePDFSuppliersOrders extends CommonDocGenerator
 		$type='order_supplier';
 		$liste=array();
 
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
 		$liste=getListOfModels($db,$type,$maxfilenamelength);
 
 		return $liste;
@@ -226,7 +226,7 @@ function supplier_order_pdf_create($db, $object, $modele, $outputlangs, $hidedet
 			dol_delete_preview($object);
 			
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($db);
 			$result=$interface->run_triggers('SUPPLIER_ORDER_BUILDDOC',$object,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
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 d3487e01b8c..a194480e834 100644
--- a/htdocs/core/modules/supplier_order/pdf/pdf_muscadet.modules.php
+++ b/htdocs/core/modules/supplier_order/pdf/pdf_muscadet.modules.php
@@ -407,7 +407,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
 				// Add pdfgeneration hook
 				if (! is_object($hookmanager))
 				{
-					include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+					include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 					$hookmanager=new HookManager($this->db);
 				}
 				$hookmanager->initHooks(array('pdfgeneration'));
diff --git a/htdocs/core/tpl/bloc_showhide.tpl.php b/htdocs/core/tpl/bloc_showhide.tpl.php
index ff902336521..a3859ba9988 100644
--- a/htdocs/core/tpl/bloc_showhide.tpl.php
+++ b/htdocs/core/tpl/bloc_showhide.tpl.php
@@ -54,7 +54,7 @@ $(document).ready(function() {
 
 <div id="<?php echo $blocname ?>_bloc" class="<?php echo ($hide ? 'hideobject' : 'nohideobject'); ?>">
 
-<?php include(DOL_DOCUMENT_ROOT.'/core/tpl/'.$blocname.'.tpl.php'); ?>
+<?php include DOL_DOCUMENT_ROOT.'/core/tpl/'.$blocname.'.tpl.php'; ?>
 
 </div>
 <br>
diff --git a/htdocs/core/triggers/interface_20_all_Logevents.class.php b/htdocs/core/triggers/interface_20_all_Logevents.class.php
index 938a8b7c338..b828e0b4ccf 100755
--- a/htdocs/core/triggers/interface_20_all_Logevents.class.php
+++ b/htdocs/core/triggers/interface_20_all_Logevents.class.php
@@ -228,7 +228,7 @@ class InterfaceLogevents
         // Add entry in event table
         if ($this->date)
         {
-			include_once(DOL_DOCUMENT_ROOT.'/core/class/events.class.php');
+			include_once DOL_DOCUMENT_ROOT.'/core/class/events.class.php';
 
 			$event=new Events($this->db);
             $event->type=$action;
diff --git a/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php b/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php
index 5615ef084ad..18babb8b644 100755
--- a/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php
+++ b/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php
@@ -106,7 +106,7 @@ class InterfaceWorkflowManager
         	dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
             if (! empty($conf->commande->enabled) && ! empty($conf->global->WORKFLOW_PROPAL_AUTOCREATE_ORDER))
             {
-                include_once(DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
                 $newobject = new Commande($this->db);
 
                 $ret=$newobject->createFromProposal($object);
@@ -121,7 +121,7 @@ class InterfaceWorkflowManager
             dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
             if (! empty($conf->facture->enabled) && ! empty($conf->global->WORKFLOW_ORDER_AUTOCREATE_INVOICE))
             {
-                include_once(DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
                 $newobject = new Facture($this->db);
 
                 $ret=$newobject->createFromOrder($object);
diff --git a/htdocs/ecm/class/ecmdirectory.class.php b/htdocs/ecm/class/ecmdirectory.class.php
index 2124f793b9f..6a20cca9426 100644
--- a/htdocs/ecm/class/ecmdirectory.class.php
+++ b/htdocs/ecm/class/ecmdirectory.class.php
@@ -147,7 +147,7 @@ class EcmDirectory // extends CommonObject
 				$result=dol_mkdir($dir);
 
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('MYECMDIR_CREATE',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -216,7 +216,7 @@ class EcmDirectory // extends CommonObject
 		if (! $error && ! $notrigger)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('MYECMDIR_MODIFY',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -368,7 +368,7 @@ class EcmDirectory // extends CommonObject
 		if (! $error)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('MYECMDIR_DELETE',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -658,7 +658,7 @@ class EcmDirectory // extends CommonObject
 	function refreshcachenboffile($all=0)
 	{
 		global $conf;
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
 
 		$dir=$conf->ecm->dir_output.'/'.$this->getRelativePath();
 		$filelist=dol_dir_list($dir,'files',0,'','\.meta$');
diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php
index 0da4bcdff5d..d52e2e177d6 100644
--- a/htdocs/ecm/index.php
+++ b/htdocs/ecm/index.php
@@ -801,7 +801,7 @@ if (empty($action) || $action == 'file_manager' || preg_match('/refresh/i',$acti
 
 
 $mode='noajax';
-include_once(DOL_DOCUMENT_ROOT.'/core/ajax/ajaxdirpreview.php');
+include_once DOL_DOCUMENT_ROOT.'/core/ajax/ajaxdirpreview.php';
 
 
 // End right panel
diff --git a/htdocs/expedition/class/expedition.class.php b/htdocs/expedition/class/expedition.class.php
index 9e03b4169d9..06d79a5cd00 100644
--- a/htdocs/expedition/class/expedition.class.php
+++ b/htdocs/expedition/class/expedition.class.php
@@ -122,7 +122,7 @@ class Expedition extends CommonObject
 		// Chargement de la classe de numerotation
 		$classname = $conf->global->EXPEDITION_ADDON_NUMBER;
 
-		$result=include_once($dir.'/'.$file);
+		$result=include_once $dir.'/'.$file;
 		if ($result)
 		{
 			$obj = new $classname();
@@ -251,7 +251,7 @@ class Expedition extends CommonObject
 				if (! $error)
 				{
 					// Appel des triggers
-					include_once(DOL_DOCUMENT_ROOT."/core/class/interfaces.class.php");
+					include_once DOL_DOCUMENT_ROOT.'/core/class/interfaces.class.php';
 					$interface=new Interfaces($this->db);
 					$result=$interface->run_triggers('SHIPPING_CREATE',$this,$user,$langs,$conf);
 					if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -576,7 +576,7 @@ class Expedition extends CommonObject
 		if (! $error)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT."/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT.'/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('SHIPPING_VALIDATE',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -616,7 +616,7 @@ class Expedition extends CommonObject
 			if ($this->statut == 1)
 			{
 				// Expedition validee
-				include_once(DOL_DOCUMENT_ROOT."/livraison/class/livraison.class.php");
+				include_once DOL_DOCUMENT_ROOT.'/livraison/class/livraison.class.php';
 				$delivery = new Livraison($this->db);
 				$result=$delivery->create_from_sending($user, $this->id);
 				if ($result > 0)
@@ -732,7 +732,7 @@ class Expedition extends CommonObject
 			if (! $notrigger)
 			{
 	            // Call triggers
-	            include_once(DOL_DOCUMENT_ROOT."/core/class/interfaces.class.php");
+	            include_once DOL_DOCUMENT_ROOT.'/core/class/interfaces.class.php';
 	            $interface=new Interfaces($this->db);
 	            $result=$interface->run_triggers('SHIPPING_MODIFY',$this,$user,$langs,$conf);
 	            if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -814,7 +814,7 @@ class Expedition extends CommonObject
 					}
 
 					// Call triggers
-		            include_once(DOL_DOCUMENT_ROOT."/core/class/interfaces.class.php");
+		            include_once DOL_DOCUMENT_ROOT.'/core/class/interfaces.class.php';
 		            $interface=new Interfaces($this->db);
 		            $result=$interface->run_triggers('SHIPPING_DELETE',$this,$user,$langs,$conf);
 		            if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -869,7 +869,7 @@ class Expedition extends CommonObject
 		$resql = $this->db->query($sql);
 		if ($resql)
 		{
-			include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+			include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
 			$num = $this->db->num_rows($resql);
 			$i = 0;
diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php
index 8270f86eaff..4b34720e043 100644
--- a/htdocs/expedition/fiche.php
+++ b/htdocs/expedition/fiche.php
@@ -58,7 +58,7 @@ if ($user->societe_id) $socid=$user->societe_id;
 $result=restrictedArea($user,$origin,$origin_id);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('expeditioncard'));
 
@@ -434,7 +434,7 @@ if ($action == 'send' && ! GETPOST('addfile','alpha') && ! GETPOST('removedfile'
                 }
 
                 // Create form object
-                include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
                 $formmail = new FormMail($db);
 
                 $attachedfiles=$formmail->get_attached_files();
@@ -465,7 +465,7 @@ if ($action == 'send' && ! GETPOST('addfile','alpha') && ! GETPOST('removedfile'
                         $object->elementtype	= $object->element;
 
                         // Appel des triggers
-                        include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                        include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                         $interface=new Interfaces($db);
                         $result=$interface->run_triggers('SHIPPING_SENTBYMAIL',$object,$user,$langs,$conf);
                         if ($result < 0) {
@@ -1378,7 +1378,7 @@ else
             print '</td><td valign="top" width="50%">';
 
             // List of actions on element
-            include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
             $formactions=new FormActions($db);
             $somethingshown=$formactions->showactions($object,'shipping',$socid);
 
@@ -1391,7 +1391,7 @@ else
         if ($action == 'presend')
         {
             $ref = dol_sanitizeFileName($object->ref);
-            include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
             $fileparams = dol_most_recent_file($conf->expedition->dir_output . '/sending/' . $ref);
             $file=$fileparams['fullname'];
 
@@ -1423,7 +1423,7 @@ else
             print_titre($langs->trans('SendShippingByEMail'));
 
             // Cree l'objet formulaire mail
-            include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
             $formmail = new FormMail($db);
             $formmail->fromtype = 'user';
             $formmail->fromid   = $user->id;
diff --git a/htdocs/exports/class/export.class.php b/htdocs/exports/class/export.class.php
index a105b317a2f..2b204b2b654 100644
--- a/htdocs/exports/class/export.class.php
+++ b/htdocs/exports/class/export.class.php
@@ -439,7 +439,7 @@ class Export
 				// want this action call a trigger.
 
 				//// Call triggers
-				//include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				//include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				//$interface=new Interfaces($this->db);
 				//$result=$interface->run_triggers('MYOBJECT_DELETE',$this,$user,$langs,$conf);
 				//if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/exports/index.php b/htdocs/exports/index.php
index ec4753f0edd..3317554ec1c 100644
--- a/htdocs/exports/index.php
+++ b/htdocs/exports/index.php
@@ -63,7 +63,7 @@ print '<td>'.$langs->trans("LibraryShort").'</td>';
 print '<td align="right">'.$langs->trans("LibraryVersion").'</td>';
 print '</tr>';
 
-include_once(DOL_DOCUMENT_ROOT.'/core/modules/export/modules_export.php');
+include_once DOL_DOCUMENT_ROOT.'/core/modules/export/modules_export.php';
 $model=new ModeleExports();
 $liste=$model->liste_modeles($db);    // This is not a static method for exports because method load non static properties
 
diff --git a/htdocs/fichinter/class/fichinter.class.php b/htdocs/fichinter/class/fichinter.class.php
index b99f078055f..4f2cdbe06c0 100644
--- a/htdocs/fichinter/class/fichinter.class.php
+++ b/htdocs/fichinter/class/fichinter.class.php
@@ -160,7 +160,7 @@ class Fichinter extends CommonObject
 			$this->db->commit();
 
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('FICHEINTER_CREATE',$this,$user,$langs,$conf);
 			if ($result < 0) {
@@ -204,7 +204,7 @@ class Fichinter extends CommonObject
 		if ($this->db->query($sql))
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('FICHEINTER_MODIFY',$this,$user,$langs,$conf);
 			if ($result < 0) {
@@ -355,7 +355,7 @@ class Fichinter extends CommonObject
 			if ($resql)
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('FICHEINTER_VALIDATE',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -666,7 +666,7 @@ class Fichinter extends CommonObject
 				}
 
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('FICHEINTER_DELETE',$this,$user,$langs,$conf);
 				if ($result < 0) {
diff --git a/htdocs/fichinter/contact.php b/htdocs/fichinter/contact.php
index 4a12c061e02..4969213df78 100644
--- a/htdocs/fichinter/contact.php
+++ b/htdocs/fichinter/contact.php
@@ -148,7 +148,7 @@ if ($id > 0 || ! empty($ref))
 	print '<br>';
 
 	// Contacts lines
-	include(DOL_DOCUMENT_ROOT.'/core/tpl/contacts.tpl.php');
+	include DOL_DOCUMENT_ROOT.'/core/tpl/contacts.tpl.php';
 }
 
 
diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php
index 6434a08ddf1..82046da91af 100644
--- a/htdocs/fichinter/fiche.php
+++ b/htdocs/fichinter/fiche.php
@@ -60,7 +60,7 @@ if ($user->societe_id) $socid=$user->societe_id;
 $result = restrictedArea($user, 'ficheinter', $id, 'fichinter');
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('interventioncard'));
 
@@ -556,7 +556,7 @@ if ($action == 'send' && ! GETPOST('cancel','alpha') && (empty($conf->global->MA
                 }
 
                 // Create form object
-                include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
                 $formmail = new FormMail($db);
 
                 $attachedfiles=$formmail->get_attached_files();
@@ -589,7 +589,7 @@ if ($action == 'send' && ! GETPOST('cancel','alpha') && (empty($conf->global->MA
 						$object->elementtype	= $object->element;
 
                         // Appel des triggers
-                        include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                        include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                         $interface=new Interfaces($db);
                         $result=$interface->run_triggers('FICHEINTER_SENTBYMAIL',$object,$user,$langs,$conf);
                         if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -963,14 +963,14 @@ else if ($id > 0 || ! empty($ref))
 
     	$blocname = 'contacts';
     	$title = $langs->trans('ContactsAddresses');
-    	include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+    	include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
     }
 
 	if (! empty($conf->global->MAIN_DISABLE_NOTES_TAB))
     {
     	$blocname = 'notes';
     	$title = $langs->trans('Notes');
-    	include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+    	include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
     }
 
     /*
@@ -1257,7 +1257,7 @@ else if ($id > 0 || ! empty($ref))
 
     	print '</td><td valign="top" width="50%">';
     	// List of actions on element
-    	include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php');
+    	include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
     	$formactions=new FormActions($db);
     	$somethingshown=$formactions->showactions($object,'fichinter',$socid);
         print "</td><td>";
@@ -1272,7 +1272,7 @@ else if ($id > 0 || ! empty($ref))
     if ($action == 'presend')
     {
         $ref = dol_sanitizeFileName($object->ref);
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
         $fileparams = dol_most_recent_file($conf->ficheinter->dir_output . '/' . $ref);
         $file=$fileparams['fullname'];
 
@@ -1304,7 +1304,7 @@ else if ($id > 0 || ! empty($ref))
         print_titre($langs->trans('SendInterventionByMail'));
 
         // Create form object
-        include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
         $formmail = new FormMail($db);
         $formmail->fromtype = 'user';
         $formmail->fromid   = $user->id;
diff --git a/htdocs/fichinter/note.php b/htdocs/fichinter/note.php
index b284da446bb..3026148e196 100644
--- a/htdocs/fichinter/note.php
+++ b/htdocs/fichinter/note.php
@@ -91,7 +91,7 @@ if ($id > 0 || ! empty($ref))
 
 		print '<br>';
 
-		include(DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php');
+		include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php';
 
 		dol_fiche_end();
 	}
diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php
index 2b36ac17c80..f068bf5d7d4 100755
--- a/htdocs/filefunc.inc.php
+++ b/htdocs/filefunc.inc.php
@@ -68,7 +68,7 @@ $conffiletoshow = "htdocs/conf/conf.php";
 
 
 // Include configuration
-$result=@include_once($conffile);
+$result=@include_once $conffile;
 if (! $result && ! empty($_SERVER["GATEWAY_INTERFACE"]))    // If install not done and we are in a web session
 {
 	header("Location: install/index.php");
@@ -228,7 +228,7 @@ if (! defined('DOL_DEFAULT_TTF_BOLD')) { define('DOL_DEFAULT_TTF_BOLD', (!isset(
  * Include functions
  */
 
-if (! defined('ADODB_DATE_VERSION')) include_once(ADODB_PATH.'adodb-time.inc.php');
+if (! defined('ADODB_DATE_VERSION')) include_once ADODB_PATH.'adodb-time.inc.php';
 
 if (! file_exists(DOL_DOCUMENT_ROOT ."/core/lib/functions.lib.php"))
 {
@@ -238,8 +238,8 @@ if (! file_exists(DOL_DOCUMENT_ROOT ."/core/lib/functions.lib.php"))
 }
 
 // Included by default
-include_once(DOL_DOCUMENT_ROOT ."/core/lib/functions.lib.php");
-include_once(DOL_DOCUMENT_ROOT ."/core/lib/security.lib.php");
+include_once DOL_DOCUMENT_ROOT .'/core/lib/functions.lib.php';
+include_once DOL_DOCUMENT_ROOT .'/core/lib/security.lib.php';
 //print memory_get_usage();
 
 // If password is encoded, we decode it
diff --git a/htdocs/fourn/class/fournisseur.commande.class.php b/htdocs/fourn/class/fournisseur.commande.class.php
index bb28f40fc5f..53211070923 100644
--- a/htdocs/fourn/class/fournisseur.commande.class.php
+++ b/htdocs/fourn/class/fournisseur.commande.class.php
@@ -26,7 +26,7 @@
  *	\brief      File of class to manage suppliers orders
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/class/commonorder.class.php");
+include_once DOL_DOCUMENT_ROOT.'/core/class/commonorder.class.php';
 require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
 
 
@@ -383,7 +383,7 @@ class CommandeFournisseur extends CommonOrder
             if (! $error)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('ORDER_SUPPLIER_VALIDATE',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -721,7 +721,7 @@ class CommandeFournisseur extends CommonOrder
                 if (! $error)
                 {
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('ORDER_SUPPLIER_APPROVE',$this,$user,$langs,$conf);
                     if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -782,7 +782,7 @@ class CommandeFournisseur extends CommonOrder
                 if ($error == 0)
                 {
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('ORDER_SUPPLIER_REFUSE',$this,$user,$langs,$conf);
                     if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -833,7 +833,7 @@ class CommandeFournisseur extends CommonOrder
                 $this->log($user, $statut, time());
 
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('ORDER_SUPPLIER_CANCEL',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -965,7 +965,7 @@ class CommandeFournisseur extends CommonOrder
                 if (! $notrigger)
                 {
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('ORDER_SUPPLIER_CREATE',$this,$user,$langs,$conf);
                     if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1016,7 +1016,7 @@ class CommandeFournisseur extends CommonOrder
         global $langs,$mysoc;
 
         dol_syslog(get_class($this)."::addline $desc, $pu_ht, $qty, $txtva, $txlocaltax1, $txlocaltax2. $fk_product, $fk_prod_fourn_price, $fourn_ref, $remise_percent, $price_base_type, $pu_ttc, $type");
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
         // Clean parameters
         if (! $qty) $qty=1;
@@ -1145,7 +1145,7 @@ class CommandeFournisseur extends CommonOrder
                 {
                     global $conf, $langs, $user;
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('LINEORDER_SUPPLIER_CREATE',$this,$user,$langs,$conf);
                     if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1314,7 +1314,7 @@ class CommandeFournisseur extends CommonOrder
         if (! $error)
         {
         	// Appel des triggers
-        	include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+        	include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
         	$interface=new Interfaces($this->db);
         	$result=$interface->run_triggers('ORDER_SUPPLIER_DELETE',$this,$user,$langs,$conf);
         	if ($result < 0) {
@@ -1600,7 +1600,7 @@ class CommandeFournisseur extends CommonOrder
     function updateline($rowid, $desc, $pu, $qty, $remise_percent, $txtva, $txlocaltax1=0, $txlocaltax2=0, $price_base_type='HT', $info_bits=0, $type=0, $notrigger=false)
     {
         dol_syslog(get_class($this)."::updateline $rowid, $desc, $pu, $qty, $remise_percent, $txtva, $price_base_type, $info_bits, $type");
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
         if ($this->brouillon)
         {
@@ -1679,7 +1679,7 @@ class CommandeFournisseur extends CommonOrder
                 {
                     global $conf, $langs, $user;
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('LINEORDER_SUPPLIER_UPDATE',$this,$user,$langs,$conf);
                     if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/fourn/class/fournisseur.facture.class.php b/htdocs/fourn/class/fournisseur.facture.class.php
index aaddc114ac2..0f6fc7ceff6 100644
--- a/htdocs/fourn/class/fournisseur.facture.class.php
+++ b/htdocs/fourn/class/fournisseur.facture.class.php
@@ -26,7 +26,7 @@
  *	\brief      File of class to manage suppliers invoices
  */
 
-include_once(DOL_DOCUMENT_ROOT."/core/class/commoninvoice.class.php");
+include_once DOL_DOCUMENT_ROOT.'/core/class/commoninvoice.class.php';
 
 
 /**
@@ -205,7 +205,7 @@ class FactureFournisseur extends CommonInvoice
             if ($result > 0)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('BILL_SUPPLIER_CREATE',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -537,7 +537,7 @@ class FactureFournisseur extends CommonInvoice
             if (! $notrigger)
             {
                 // Call triggers
-                //include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                //include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 //$interface=new Interfaces($this->db);
                 //$result=$interface->run_triggers('BILL_SUPPLIER_MODIFY',$this,$user,$langs,$conf);
                 //if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -602,7 +602,7 @@ class FactureFournisseur extends CommonInvoice
         if (! $error)
         {
         	// Appel des triggers
-        	include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+        	include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
         	$interface=new Interfaces($this->db);
         	$result=$interface->run_triggers('INVOICE_SUPPLIER_DELETE',$this,$user,$langs,$conf);
         	if ($result < 0) {
@@ -709,7 +709,7 @@ class FactureFournisseur extends CommonInvoice
         if ($resql)
         {
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('BILL_SUPPLIER_PAYED',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -759,7 +759,7 @@ class FactureFournisseur extends CommonInvoice
         if ($resql)
         {
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($this->db);
             $result=$interface->run_triggers('BILL_SUPPLIER_UNPAYED',$this,$user,$langs,$conf);
             if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -858,7 +858,7 @@ class FactureFournisseur extends CommonInvoice
             if (! $error)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('BILL_SUPPLIER_VALIDATE',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -979,7 +979,7 @@ class FactureFournisseur extends CommonInvoice
     function addline($desc, $pu, $txtva, $txlocaltax1, $txlocaltax2, $qty, $fk_product=0, $remise_percent=0, $date_start='', $date_end='', $ventil=0, $info_bits='', $price_base_type='HT', $type=0, $rang=-1, $notrigger=false)
     {
         dol_syslog(get_class($this)."::addline $desc,$pu,$qty,$txtva,$fk_product,$remise_percent,$date_start,$date_end,$ventil,$info_bits,$price_base_type,$type", LOG_DEBUG);
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
         // Clean parameters
         if (empty($remise_percent)) $remise_percent=0;
@@ -1022,7 +1022,7 @@ class FactureFournisseur extends CommonInvoice
                 {
                     global $conf, $langs, $user;
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('LINEBILL_SUPPLIER_CREATE',$this,$user,$langs,$conf);
                     if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1067,7 +1067,7 @@ class FactureFournisseur extends CommonInvoice
     function updateline($id, $label, $pu, $vatrate, $txlocaltax1=0, $txlocaltax2=0, $qty=1, $idproduct=0, $price_base_type='HT', $info_bits=0, $type=0, $remise_percent=0, $notrigger=false)
     {
         dol_syslog(get_class($this)."::updateline $id,$label,$pu,$vatrate,$qty,$idproduct,$price_base_type,$info_bits,$type,$remise_percent", LOG_DEBUG);
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
 
         $pu = price2num($pu);
         $qty  = price2num($qty);
@@ -1136,7 +1136,7 @@ class FactureFournisseur extends CommonInvoice
             {
                 global $conf, $langs, $user;
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('LINEBILL_SUPPLIER_UPDATE',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1308,7 +1308,7 @@ class FactureFournisseur extends CommonInvoice
     function initAsSpecimen()
     {
         global $langs,$conf;
-		include_once(DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php');
+		include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
 
         $now = dol_now();
 
diff --git a/htdocs/fourn/class/paiementfourn.class.php b/htdocs/fourn/class/paiementfourn.class.php
index 6a27a03581e..7b931323a40 100644
--- a/htdocs/fourn/class/paiementfourn.class.php
+++ b/htdocs/fourn/class/paiementfourn.class.php
@@ -202,7 +202,7 @@ class PaiementFourn extends Paiement
 				if (! $error)
 				{
 		            // Appel des triggers
-		            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+		            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 		            $interface=new Interfaces($this->db);
 		            $result=$interface->run_triggers('PAYMENT_SUPPLIER_CREATE',$this,$user,$langs,$conf);
 					if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/fourn/commande/contact.php b/htdocs/fourn/commande/contact.php
index 977f520ad97..16b68a89d7d 100644
--- a/htdocs/fourn/commande/contact.php
+++ b/htdocs/fourn/commande/contact.php
@@ -168,7 +168,7 @@ if ($id > 0 || ! empty($ref))
 		print '<br>';
 		
 		// Contacts lines
-		include(DOL_DOCUMENT_ROOT.'/core/tpl/contacts.tpl.php');
+		include DOL_DOCUMENT_ROOT.'/core/tpl/contacts.tpl.php';
 		
 	}
 	else
diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php
index e9f2b2f14a3..dad9cbd6593 100644
--- a/htdocs/fourn/commande/fiche.php
+++ b/htdocs/fourn/commande/fiche.php
@@ -67,7 +67,7 @@ if ($user->societe_id) $socid=$user->societe_id;
 $result = restrictedArea($user, 'commande_fournisseur', $id,'');
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('ordersuppliercard'));
 
@@ -783,7 +783,7 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
                 }
 
                 // Create form object
-                include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
                 $formmail = new FormMail($db);
 
                 $attachedfiles=$formmail->get_attached_files();
@@ -816,7 +816,7 @@ if ($action == 'send' && ! GETPOST('addfile') && ! GETPOST('removedfile') && ! G
                         $object->elementtype	= $object->element;
 
                         // Appel des triggers
-                        include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                        include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                         $interface=new Interfaces($db);
                         $result=$interface->run_triggers('ORDER_SUPPLIER_SENTBYMAIL',$object,$user,$langs,$conf);
                         if ($result < 0) { $error++; $errors=$interface->errors; }
@@ -1257,14 +1257,14 @@ if ($id > 0 || ! empty($ref))
 
         	$blocname = 'contacts';
         	$title = $langs->trans('ContactsAddresses');
-        	include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+        	include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
         }
 
         if (! empty($conf->global->MAIN_DISABLE_NOTES_TAB))
         {
         	$blocname = 'notes';
         	$title = $langs->trans('Notes');
-        	include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+        	include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
         }
 
         dol_htmloutput_mesg($mesg);
@@ -1738,7 +1738,7 @@ if ($id > 0 || ! empty($ref))
             // List of actions on element
             /* Hidden because" available into "Log" tab
             print '<br>';
-            include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
             $formactions=new FormActions($db);
             $somethingshown=$formactions->showactions($object,'order_supplier',$socid);
             */
@@ -1755,7 +1755,7 @@ if ($id > 0 || ! empty($ref))
         if ($action == 'presend')
         {
             $ref = dol_sanitizeFileName($object->ref);
-            include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
             $fileparams = dol_most_recent_file($conf->fournisseur->commande->dir_output . '/' . $ref);
             $file=$fileparams['fullname'];
 
@@ -1787,7 +1787,7 @@ if ($id > 0 || ! empty($ref))
             print_titre($langs->trans('SendOrderByMail'));
 
             // Cree l'objet formulaire mail
-            include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
             $formmail = new FormMail($db);
             $formmail->fromtype = 'user';
             $formmail->fromid   = $user->id;
diff --git a/htdocs/fourn/commande/note.php b/htdocs/fourn/commande/note.php
index b1c2244869a..d3e61d40999 100644
--- a/htdocs/fourn/commande/note.php
+++ b/htdocs/fourn/commande/note.php
@@ -144,7 +144,7 @@ if ($id > 0 || ! empty($ref))
         print '<br>';
 
         $colwidth=20;
-        include(DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php');
+        include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php';
 
         dol_fiche_end();
     }
diff --git a/htdocs/fourn/facture/contact.php b/htdocs/fourn/facture/contact.php
index e5ed3272363..4ef95625553 100644
--- a/htdocs/fourn/facture/contact.php
+++ b/htdocs/fourn/facture/contact.php
@@ -163,7 +163,7 @@ if ($id > 0 || ! empty($ref))
 		print '<br>';
 		
 		// Contacts lines
-		include(DOL_DOCUMENT_ROOT.'/core/tpl/contacts.tpl.php');
+		include DOL_DOCUMENT_ROOT.'/core/tpl/contacts.tpl.php';
 		
 	}
 	else
diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php
index 513a820cafc..0782199e2c1 100644
--- a/htdocs/fourn/facture/fiche.php
+++ b/htdocs/fourn/facture/fiche.php
@@ -58,7 +58,7 @@ if (! empty($user->societe_id)) $socid=$user->societe_id;
 $result = restrictedArea($user, 'fournisseur', $id, 'facture_fourn', 'facture');
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('invoicesuppliercard'));
 
@@ -699,7 +699,7 @@ if ($action == 'send' && ! $_POST['addfile'] && ! $_POST['removedfile'] && ! $_P
                 }
 
                 // Create form object
-                include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
                 $formmail = new FormMail($db);
 
                 $attachedfiles=$formmail->get_attached_files();
@@ -732,7 +732,7 @@ if ($action == 'send' && ! $_POST['addfile'] && ! $_POST['removedfile'] && ! $_P
                         $object->elementtype	= $object->element;
 
                         // Appel des triggers
-                        include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                        include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                         $interface=new Interfaces($db);
                         $result=$interface->run_triggers('BILL_SUPPLIER_SENTBYMAIL',$object,$user,$langs,$conf);
                         if ($result < 0) {
@@ -1529,7 +1529,7 @@ else
 
         	$blocname = 'contacts';
         	$title = $langs->trans('ContactsAddresses');
-        	include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+        	include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
         }
 
         if (! empty($conf->global->MAIN_DISABLE_NOTES_TAB))
@@ -1537,7 +1537,7 @@ else
         	$colwidth=20;
         	$blocname = 'notes';
         	$title = $langs->trans('Notes');
-        	include(DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php');
+        	include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php';
         }
 
 
@@ -1949,7 +1949,7 @@ else
                 print '<br>';
 
                 // List of actions on element
-                include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
                 $formactions=new FormActions($db);
                 $somethingshown=$formactions->showactions($object,'invoice_supplier',$socid);
 
@@ -1962,7 +1962,7 @@ else
         if ($action == 'presend')
         {
             $ref = dol_sanitizeFileName($object->ref);
-            include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
             $fileparams = dol_most_recent_file($conf->fournisseur->facture->dir_output.'/'.get_exdir($object->id,2).$ref);
             $file=$fileparams['fullname'];
 
@@ -1994,7 +1994,7 @@ else
             print_titre($langs->trans('SendBillByMail'));
 
             // Cree l'objet formulaire mail
-            include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
             $formmail = new FormMail($db);
             $formmail->fromtype = 'user';
             $formmail->fromid   = $user->id;
diff --git a/htdocs/fourn/facture/note.php b/htdocs/fourn/facture/note.php
index 5cdecfeeab0..802875dda75 100644
--- a/htdocs/fourn/facture/note.php
+++ b/htdocs/fourn/facture/note.php
@@ -151,7 +151,7 @@ if ($id)
     print '<br>';
 
     $colwidth=20;
-    include(DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php');
+    include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php';
 
     dol_fiche_end();
 }
diff --git a/htdocs/imports/class/import.class.php b/htdocs/imports/class/import.class.php
index 89c50b6a9a3..40ec8d6a274 100644
--- a/htdocs/imports/class/import.class.php
+++ b/htdocs/imports/class/import.class.php
@@ -315,7 +315,7 @@ class Import
 			if (! $notrigger)
 			{
 				// Call triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('IMPORT_DELETE',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/imports/index.php b/htdocs/imports/index.php
index 45435239336..3682a8c5947 100644
--- a/htdocs/imports/index.php
+++ b/htdocs/imports/index.php
@@ -61,7 +61,7 @@ print '<td>'.$langs->trans("LibraryShort").'</td>';
 print '<td align="right">'.$langs->trans("LibraryVersion").'</td>';
 print '</tr>';
 
-include_once(DOL_DOCUMENT_ROOT.'/core/modules/import/modules_import.php');
+include_once DOL_DOCUMENT_ROOT.'/core/modules/import/modules_import.php';
 $model=new ModeleImports();
 $liste=$model->liste_modeles($db);
 
diff --git a/htdocs/index.php b/htdocs/index.php
index 9c01b4f1fc5..e356d9433a4 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -34,7 +34,7 @@ if (! isset($_GET["mainmenu"])) $_GET["mainmenu"]="home";
 $action=GETPOST('action');
 
 
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('index'));
 
@@ -63,16 +63,16 @@ if (preg_match('/^smartphone/',$conf->smart_menu) && ! empty($conf->browser->pho
     $limitmenuto=1;	// A virer
 
     // Load the smartphone menu manager
-    $result=@include_once(DOL_DOCUMENT_ROOT ."/core/menus/smartphone/".$conf->smart_menu);
+    $result=@include_once DOL_DOCUMENT_ROOT ."/core/menus/smartphone/".$conf->smart_menu;
     if (! $result)	// If failed to include, we try with standard
     {
         $conf->smart_menu='smartphone_backoffice.php';
-        include_once(DOL_DOCUMENT_ROOT ."/core/menus/smartphone/".$conf->smart_menu);
+        include_once DOL_DOCUMENT_ROOT ."/core/menus/smartphone/".$conf->smart_menu;
     }
 
     $menusmart = new MenuSmart($db);
 
-    include_once(DOL_DOCUMENT_ROOT.'/theme/phones/smartphone/tpl/menu.tpl.php');
+    include_once DOL_DOCUMENT_ROOT.'/theme/phones/smartphone/tpl/menu.tpl.php';
     exit;
 }
 
@@ -234,7 +234,7 @@ if ($user->societe_id == 0)
             // Search in cache if load_state_board is already realized
             if (! isset($boardloaded[$classe]) || ! is_object($boardloaded[$classe]))
             {
-                include_once($includes[$key]);
+                include_once $includes[$key];
 
                 $board=new $classe($db);
                 $board->load_state_board($user);
@@ -289,7 +289,7 @@ print '</tr>';
 // Number of actions to do (late)
 if ($conf->agenda->enabled && $user->rights->agenda->myactions->read)
 {
-    include_once(DOL_DOCUMENT_ROOT."/comm/action/class/actioncomm.class.php");
+    include_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php';
     $board=new ActionComm($db);
     $board->load_board($user);
     $board->warning_delay=$conf->actions->warning_delay/60/60/24;
@@ -303,7 +303,7 @@ if ($conf->agenda->enabled && $user->rights->agenda->myactions->read)
 // Number of customer orders a deal
 if ($conf->commande->enabled && $user->rights->commande->lire)
 {
-    include_once(DOL_DOCUMENT_ROOT."/commande/class/commande.class.php");
+    include_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
     $board=new Commande($db);
     $board->load_board($user);
     $board->warning_delay=$conf->commande->client->warning_delay/60/60/24;
@@ -317,7 +317,7 @@ if ($conf->commande->enabled && $user->rights->commande->lire)
 // Number of suppliers orders a deal
 if ($conf->fournisseur->enabled && $user->rights->fournisseur->commande->lire)
 {
-    include_once(DOL_DOCUMENT_ROOT."/fourn/class/fournisseur.commande.class.php");
+    include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
     $board=new CommandeFournisseur($db);
     $board->load_board($user);
     $board->warning_delay=$conf->commande->fournisseur->warning_delay/60/60/24;
@@ -333,7 +333,7 @@ if ($conf->propal->enabled && $user->rights->propale->lire)
 {
     $langs->load("propal");
 
-    include_once(DOL_DOCUMENT_ROOT."/comm/propal/class/propal.class.php");
+    include_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
     $board=new Propal($db);
     $board->load_board($user,"opened");
     $board->warning_delay=$conf->propal->cloture->warning_delay/60/60/24;
@@ -349,7 +349,7 @@ if ($conf->propal->enabled && $user->rights->propale->lire)
 {
     $langs->load("propal");
 
-    include_once(DOL_DOCUMENT_ROOT."/comm/propal/class/propal.class.php");
+    include_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
     $board=new Propal($db);
     $board->load_board($user,"signed");
     $board->warning_delay=$conf->propal->facturation->warning_delay/60/60/24;
@@ -365,7 +365,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire)
 {
     $langs->load("contracts");
 
-    include_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
+    include_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
     $board=new Contrat($db);
     $board->load_board($user,"inactives");
     $board->warning_delay=$conf->contrat->services->inactifs->warning_delay/60/60/24;
@@ -381,7 +381,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire)
 {
     $langs->load("contracts");
 
-    include_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
+    include_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
     $board=new Contrat($db);
     $board->load_board($user,"expired");
     $board->warning_delay=$conf->contrat->services->expires->warning_delay/60/60/24;
@@ -396,7 +396,7 @@ if ($conf->facture->enabled && $user->rights->facture->lire)
 {
     $langs->load("bills");
 
-    include_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
+    include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
     $board=new Facture($db);
     $board->load_board($user);
     $board->warning_delay=$conf->facture->client->warning_delay/60/60/24;
@@ -412,7 +412,7 @@ if ($conf->fournisseur->enabled && $conf->facture->enabled && $user->rights->fac
 {
     $langs->load("bills");
 
-    include_once(DOL_DOCUMENT_ROOT."/fourn/class/fournisseur.facture.class.php");
+    include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
     $board=new FactureFournisseur($db);
     $board->load_board($user);
     $board->warning_delay=$conf->facture->fournisseur->warning_delay/60/60/24;
@@ -428,7 +428,7 @@ if ($conf->banque->enabled && $user->rights->banque->lire && ! $user->societe_id
 {
     $langs->load("banks");
 
-    include_once(DOL_DOCUMENT_ROOT."/compta/bank/class/account.class.php");
+    include_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
     $board=new Account($db);
     $found=$board->load_board($user);
     if ($found > 0)
@@ -447,7 +447,7 @@ if ($conf->banque->enabled && $user->rights->banque->lire && ! $user->societe_id
 {
     $langs->load("banks");
 
-    include_once(DOL_DOCUMENT_ROOT."/compta/paiement/cheque/class/remisecheque.class.php");
+    include_once DOL_DOCUMENT_ROOT.'/compta/paiement/cheque/class/remisecheque.class.php';
     $board=new RemiseCheque($db);
     $board->load_board($user);
     $board->warning_delay=$conf->bank->cheque->warning_delay/60/60/24;
@@ -463,7 +463,7 @@ if ($conf->adherent->enabled && $user->rights->adherent->lire && ! $user->societ
 {
     $langs->load("members");
 
-    include_once(DOL_DOCUMENT_ROOT."/adherents/class/adherent.class.php");
+    include_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
     $board=new Adherent($db);
     $board->load_board($user);
     $board->warning_delay=$conf->adherent->cotisation->warning_delay/60/60/24;
diff --git a/htdocs/install/check.php b/htdocs/install/check.php
index 77b5750e78d..38ab53a8aa9 100644
--- a/htdocs/install/check.php
+++ b/htdocs/install/check.php
@@ -23,7 +23,7 @@
  *	\ingroup    install
  *	\brief      Test if file conf can be modified and if does not exists, test if install process can create it
  */
-include_once("./inc.php");
+include_once './inc.php';
 
 $err = 0;
 $allowinstall = 0;
@@ -39,7 +39,7 @@ $langs->load("install");
 $useforcedwizard=false;
 $forcedfile="./install.forced.php";
 if ($conffile == "/etc/dolibarr/conf.php") $forcedfile="/etc/dolibarr/install.forced.php";
-if (@file_exists($forcedfile)) { $useforcedwizard=true; include_once($forcedfile); }
+if (@file_exists($forcedfile)) { $useforcedwizard=true; include_once $forcedfile; }
 
 dolibarr_install_syslog("Dolibarr install/upgrade process started");
 
@@ -187,7 +187,7 @@ if (is_readable($conffile) && filesize($conffile) > 8)
 {
 	dolibarr_install_syslog("conf file '$conffile' already defined");
 	$confexists=1;
-	include_once($conffile);
+	include_once $conffile;
 
 	$databaseok=1;
 	if ($databaseok)
@@ -291,7 +291,7 @@ else
 		// Try to create db connexion
 		if (file_exists($conffile))
 		{
-			include_once($conffile);
+			include_once $conffile;
 			if (! empty($dolibarr_main_db_type) && ! empty($dolibarr_main_document_root))
 			{
 				if (! file_exists($dolibarr_main_document_root."/core/lib/admin.lib.php"))
diff --git a/htdocs/install/etape1.php b/htdocs/install/etape1.php
index 4aa97569c7e..331f8185371 100644
--- a/htdocs/install/etape1.php
+++ b/htdocs/install/etape1.php
@@ -27,7 +27,7 @@
 
 define('DONOTLOADCONF',1);	// To avoid loading conf by file inc.php
 
-include("./inc.php");
+include './inc.php';
 
 $action=GETPOST('action');
 $setuplang=isset($_POST["selectlang"])?$_POST["selectlang"]:(isset($_GET["selectlang"])?$_GET["selectlang"]:'auto');
@@ -47,7 +47,7 @@ $main_dir=isset($_POST["main_dir"])?trim($_POST["main_dir"]):'';
 $useforcedwizard=false;
 $forcedfile="./install.forced.php";
 if ($conffile == "/etc/dolibarr/conf.php") $forcedfile="/etc/dolibarr/install.forced.php";
-if (@file_exists($forcedfile)) { $useforcedwizard=true; include_once($forcedfile); }
+if (@file_exists($forcedfile)) { $useforcedwizard=true; include_once $forcedfile; }
 
 dolibarr_install_syslog("--- etape1: Entering etape1.php page");
 
@@ -123,7 +123,7 @@ if (! $main_data_dir) { $main_data_dir="$main_dir/documents"; }
 // Test database connexion
 if (! $error)
 {
-    $result=@include_once($main_dir."/core/db/".$_POST["db_type"].".class.php");
+    $result=@include_once $main_dir."/core/db/".$_POST["db_type"].'.class.php';
     if ($result)
     {
         // If we ask database or user creation we need to connect as root, so we need root login
@@ -724,7 +724,7 @@ function write_main_file($mainfile,$main_dir)
         clearstatcache();
         fputs($fp, '<?php'."\n");
         fputs($fp, "// Wrapper to include main into htdocs\n");
-        fputs($fp, "include_once('".$main_dir."/main.inc.php');\n");
+        fputs($fp, "include_once '".$main_dir.'/main.inc.php');\n';
         fputs($fp, '?>');
         fclose($fp);
     }
@@ -746,7 +746,7 @@ function write_master_file($masterfile,$main_dir)
         clearstatcache();
         fputs($fp, '<?php'."\n");
         fputs($fp, "// Wrapper to include master into htdocs\n");
-        fputs($fp, "include_once('".$main_dir."/master.inc.php');\n");
+        fputs($fp, "include_once '".$main_dir.'/master.inc.php');\n';
         fputs($fp, '?>');
         fclose($fp);
     }
@@ -907,7 +907,7 @@ function write_conf_file($conffile)
 
 		if (file_exists("$conffile"))
 		{
-			include("$conffile");	// On force rechargement. Ne pas mettre include_once !
+			include $conffile;	// On force rechargement. Ne pas mettre include_once !
 			conf($dolibarr_main_document_root);
 
 			print "<tr><td>";
diff --git a/htdocs/install/etape2.php b/htdocs/install/etape2.php
index ae276798781..d5d2be5bf92 100644
--- a/htdocs/install/etape2.php
+++ b/htdocs/install/etape2.php
@@ -22,7 +22,7 @@
  *      \brief      Create tables, primary keys, foreign keys, indexes and functions into database and then load reference data
  */
 
-include("./inc.php");
+include './inc.php';
 require_once $dolibarr_main_document_root.'/core/class/conf.class.php';
 require_once $dolibarr_main_document_root.'/core/lib/admin.lib.php';
 
@@ -56,7 +56,7 @@ if ($dolibarr_main_db_type == "mssql")  $choix=3;
 $useforcedwizard=false;
 $forcedfile="./install.forced.php";
 if ($conffile == "/etc/dolibarr/conf.php") $forcedfile="/etc/dolibarr/install.forced.php";
-if (@file_exists($forcedfile)) { $useforcedwizard=true; include_once($forcedfile); }
+if (@file_exists($forcedfile)) { $useforcedwizard=true; include_once $forcedfile; }
 
 dolibarr_install_syslog("--- etape2: Entering etape2.php page");
 
diff --git a/htdocs/install/etape4.php b/htdocs/install/etape4.php
index 29deeda71c5..458f42c8370 100644
--- a/htdocs/install/etape4.php
+++ b/htdocs/install/etape4.php
@@ -25,7 +25,7 @@
  */
 
 
-include_once("./inc.php");
+include_once './inc.php';
 require_once $dolibarr_main_document_root.'/core/class/conf.class.php';
 require_once $dolibarr_main_document_root.'/core/lib/admin.lib.php';
 
@@ -40,7 +40,7 @@ $langs->load("install");
 $useforcedwizard=false;
 $forcedfile="./install.forced.php";
 if ($conffile == "/etc/dolibarr/conf.php") $forcedfile="/etc/dolibarr/install.forced.php";
-if (@file_exists($forcedfile)) { $useforcedwizard=true; include_once($forcedfile); }
+if (@file_exists($forcedfile)) { $useforcedwizard=true; include_once $forcedfile; }
 
 dolibarr_install_syslog("--- etape4: Entering etape4.php page");
 
diff --git a/htdocs/install/etape5.php b/htdocs/install/etape5.php
index 50cd59f7cdb..43acb1ee768 100644
--- a/htdocs/install/etape5.php
+++ b/htdocs/install/etape5.php
@@ -25,8 +25,8 @@
  *       \brief     Last page of upgrade or install process
  */
 
-include_once("./inc.php");
-if (file_exists($conffile)) include_once($conffile);
+include_once './inc.php';
+if (file_exists($conffile)) include_once $conffile;
 require_once $dolibarr_main_document_root . '/core/lib/admin.lib.php';
 require_once $dolibarr_main_document_root . '/core/lib/security.lib.php'; // for dol_hash
 
@@ -65,7 +65,7 @@ if (! isset($force_install_lockinstall))       $force_install_lockinstall='';
 $useforcedwizard=false;
 $forcedfile="./install.forced.php";
 if ($conffile == "/etc/dolibarr/conf.php") $forcedfile="/etc/dolibarr/install.forced.php";
-if (@file_exists($forcedfile)) { $useforcedwizard=true; include_once($forcedfile); }
+if (@file_exists($forcedfile)) { $useforcedwizard=true; include_once $forcedfile; }
 
 dolibarr_install_syslog("--- etape5: Entering etape5.php page", LOG_INFO);
 
@@ -150,7 +150,7 @@ if ($action == "set" || preg_match('/upgrade/i',$action))
         $modName='modUser';
         $file = $modName . ".class.php";
         dolibarr_install_syslog('install/etape5.php Load module user '.DOL_DOCUMENT_ROOT ."/core/modules/".$file, LOG_INFO);
-        include_once(DOL_DOCUMENT_ROOT ."/core/modules/".$file);
+        include_once DOL_DOCUMENT_ROOT ."/core/modules/".$file;
         $objMod = new $modName($db);
         $result=$objMod->init();
         if (! $result) print 'ERROR in activating module file='.$file;
@@ -160,7 +160,7 @@ if ($action == "set" || preg_match('/upgrade/i',$action))
             $conf->setValues($db);
 
             // Create user
-            include_once(DOL_DOCUMENT_ROOT ."/user/class/user.class.php");
+            include_once DOL_DOCUMENT_ROOT .'/user/class/user.class.php';
 
             $createuser=new User($db);
             $createuser->id=0;
diff --git a/htdocs/install/fileconf.php b/htdocs/install/fileconf.php
index 1d691e9b21e..ebf7bf7879b 100644
--- a/htdocs/install/fileconf.php
+++ b/htdocs/install/fileconf.php
@@ -25,7 +25,7 @@
  *       \ingroup    install
  *       \brief      Ask all informations required to build Dolibarr htdocs/conf/conf.php file (will be wrote on disk on next page)
  */
-include_once("./inc.php");
+include_once './inc.php';
 
 
 $err=0;
@@ -55,7 +55,7 @@ if (! isset($force_install_databaserootpass))	$force_install_databaserootpass=''
 $useforcedwizard=false;
 $forcedfile="./install.forced.php";
 if ($conffile == "/etc/dolibarr/conf.php") $forcedfile="/etc/dolibarr/install.forced.php";
-if (@file_exists($forcedfile)) { $useforcedwizard=true; include_once($forcedfile); }
+if (@file_exists($forcedfile)) { $useforcedwizard=true; include_once $forcedfile; }
 
 dolibarr_install_syslog("Fileconf: Entering fileconf.php page");
 
@@ -281,7 +281,7 @@ if (! empty($force_install_message))
 		        {
 		            $type=$reg[1];
                     $class='DoliDB'.ucfirst($type);
-                    include_once($dir."/".$file);
+                    include_once $dir."/".$file;
 
                     if ($type == 'sqlite') continue;    // We hide sqlite because support can't be complete unti sqlit does not manage foreign key creation after table creation
 
diff --git a/htdocs/install/inc.php b/htdocs/install/inc.php
index e51a6b34eb5..780b159d2f8 100644
--- a/htdocs/install/inc.php
+++ b/htdocs/install/inc.php
@@ -76,7 +76,7 @@ $conffiletoshow = "htdocs/conf/conf.php";
 
 if (! defined('DONOTLOADCONF') && file_exists($conffile))
 {
-    $result=include_once($conffile);	// Load conf file
+    $result=include_once $conffile;	// Load conf file
     if ($result)
     {
 		if (empty($dolibarr_main_db_type)) $dolibarr_main_db_type='mysql';	// For backward compatibility
@@ -105,7 +105,7 @@ if (! defined('DONOTLOADCONF') && file_exists($conffile))
         {
             if (! empty($dolibarr_main_document_root) && ! empty($dolibarr_main_db_type))
             {
-                $result=include_once($dolibarr_main_document_root . "/core/db/".$dolibarr_main_db_type.".class.php");
+                $result=include_once $dolibarr_main_document_root . "/core/db/".$dolibarr_main_db_type.'.class.php';
                 if (! $result)
                 {
                     $includeconferror='ErrorBadValueForDolibarrMainDBType';
@@ -256,7 +256,7 @@ function conf($dolibarr_main_document_root)
     global $dolibarr_main_db_pass;
     global $character_set_client;
 
-    $return=include_once($dolibarr_main_document_root."/core/class/conf.class.php");
+    $return=include_once $dolibarr_main_document_root.'/core/class/conf.class.php';
     if (! $return) return -1;
 
     $conf=new Conf();
diff --git a/htdocs/install/index.php b/htdocs/install/index.php
index 8acab820eae..efa0eb438b4 100644
--- a/htdocs/install/index.php
+++ b/htdocs/install/index.php
@@ -22,9 +22,9 @@
  *       \brief      Show page to select language. This is done only for a first installation.
  *					 For a reinstall this page redirect to page check.php
  */
-include_once("./inc.php");
-include_once("../core/class/html.form.class.php");
-include_once("../core/class/html.formadmin.class.php");
+include_once './inc.php';
+include_once '../core/class/html.form.class.php';
+include_once '../core/class/html.formadmin.class.php';
 
 $err = 0;
 
diff --git a/htdocs/install/phpinfo.php b/htdocs/install/phpinfo.php
index 98872238d04..f91d61395a4 100644
--- a/htdocs/install/phpinfo.php
+++ b/htdocs/install/phpinfo.php
@@ -21,7 +21,7 @@
  *     \brief      Show page phpinfo
  */
 
-include_once("./inc.php");
+include_once './inc.php';
 
 phpinfo();
 
diff --git a/htdocs/install/repair.php b/htdocs/install/repair.php
index 9136a2a9187..a18dce9921d 100644
--- a/htdocs/install/repair.php
+++ b/htdocs/install/repair.php
@@ -22,8 +22,8 @@
  *      \brief      Run repair script
  */
 
-include_once("./inc.php");
-if (file_exists($conffile)) include_once($conffile);
+include_once './inc.php';
+if (file_exists($conffile)) include_once $conffile;
 require_once $dolibarr_main_document_root.'/core/lib/admin.lib.php';
 require_once $dolibarr_main_document_root.'/core/class/extrafields.class.php';
 require_once 'lib/repair.lib.php';
@@ -315,37 +315,37 @@ if (GETPOST('purge'))
         // To show ref or specific information according to view to show (defined by $module)
         if ($modulepart == 'invoice')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
             $object_instance=new Facture($db);
         }
         else if ($modulepart == 'invoice_supplier')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
             $object_instance=new FactureFournisseur($db);
         }
         else if ($modulepart == 'propal')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
             $object_instance=new Propal($db);
         }
         else if ($modulepart == 'order')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
             $object_instance=new Commande($db);
         }
         else if ($modulepart == 'order_supplier')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
             $object_instance=new CommandeFournisseur($db);
         }
         else if ($modulepart == 'contract')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
             $object_instance=new Contrat($db);
         }
         else if ($modulepart == 'tax')
         {
-            include_once(DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php');
+            include_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
             $object_instance=new ChargeSociales($db);
         }
 
diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php
index fb1f3631376..31063479e20 100644
--- a/htdocs/install/upgrade.php
+++ b/htdocs/install/upgrade.php
@@ -22,7 +22,7 @@
  *      \brief      Run migration script
  */
 
-include_once("./inc.php");
+include_once './inc.php';
 if (! file_exists($conffile))
 {
     print 'Error: Dolibarr config file was not found. This may means that Dolibarr is not installed yet. Please call the page "/install/index.php" instead of "/install/upgrade.php").';
diff --git a/htdocs/install/upgrade2.php b/htdocs/install/upgrade2.php
index a477e9f4192..9387a32957a 100644
--- a/htdocs/install/upgrade2.php
+++ b/htdocs/install/upgrade2.php
@@ -23,7 +23,7 @@
  *	\brief      Upgrade some data
  */
 
-include_once('./inc.php');
+include_once './inc.php';
 if (! file_exists($conffile))
 {
     print 'Error: Dolibarr config file was not found. This may means that Dolibarr is not installed yet. Please call the page "/install/index.php" instead of "/install/upgrade.php").';
@@ -1754,7 +1754,7 @@ function migrate_modeles($db,$langs,$conf)
 
     if (! empty($conf->facture->enabled))
     {
-        include_once(DOL_DOCUMENT_ROOT.'/core/modules/facture/modules_facture.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/modules/facture/modules_facture.php';
         $modellist=ModelePDFFactures::liste_modeles($db);
         if (count($modellist)==0)
         {
@@ -1767,7 +1767,7 @@ function migrate_modeles($db,$langs,$conf)
 
     if (! empty($conf->commande->enabled))
     {
-        include_once(DOL_DOCUMENT_ROOT.'/core/modules/commande/modules_commande.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/modules/commande/modules_commande.php';
         $modellist=ModelePDFCommandes::liste_modeles($db);
         if (count($modellist)==0)
         {
@@ -1780,7 +1780,7 @@ function migrate_modeles($db,$langs,$conf)
 
     if (! empty($conf->expedition->enabled))
     {
-        include_once(DOL_DOCUMENT_ROOT.'/core/modules/expedition/modules_expedition.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/modules/expedition/modules_expedition.php';
         $modellist=ModelePDFExpedition::liste_modeles($db);
         if (count($modellist)==0)
         {
@@ -3490,7 +3490,7 @@ function migrate_reload_modules($db,$langs,$conf)
     if (! empty($conf->global->MAIN_MODULE_AGENDA))
     {
         dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Agenda");
-        $res=@include_once(DOL_DOCUMENT_ROOT.'/core/modules/modAgenda.class.php');
+        $res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modAgenda.class.php';
         if ($res) {
             $mod=new modAgenda($db);
             $mod->remove('noboxes');
@@ -3500,7 +3500,7 @@ function migrate_reload_modules($db,$langs,$conf)
     if (! empty($conf->global->MAIN_MODULE_SOCIETE))
     {
         dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Societe");
-        $res=@include_once(DOL_DOCUMENT_ROOT.'/core/modules/modSociete.class.php');
+        $res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modSociete.class.php';
         if ($res) {
             $mod=new modSociete($db);
             $mod->remove('noboxes');
@@ -3510,7 +3510,7 @@ function migrate_reload_modules($db,$langs,$conf)
     if (! empty($conf->global->MAIN_MODULE_PRODUIT))    // Permission has changed into 2.7
     {
         dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Produit");
-        $res=@include_once(DOL_DOCUMENT_ROOT.'/core/modules/modProduct.class.php');
+        $res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modProduct.class.php';
         if ($res) {
             $mod=new modProduct($db);
             //$mod->remove('noboxes');
@@ -3521,7 +3521,7 @@ function migrate_reload_modules($db,$langs,$conf)
     {
         dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Service");
         if ($res) {
-            $res=@include_once(DOL_DOCUMENT_ROOT.'/core/modules/modService.class.php');
+            $res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modService.class.php';
             $mod=new modService($db);
             //$mod->remove('noboxes');
             $mod->init('noboxes');
@@ -3531,7 +3531,7 @@ function migrate_reload_modules($db,$langs,$conf)
     {
         dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Commande");
         if ($res) {
-            $res=@include_once(DOL_DOCUMENT_ROOT.'/core/modules/modCommande.class.php');
+            $res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modCommande.class.php';
             $mod=new modCommande($db);
             //$mod->remove('noboxes');
             $mod->init('noboxes');
@@ -3541,7 +3541,7 @@ function migrate_reload_modules($db,$langs,$conf)
     {
         dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Facture");
         if ($res) {
-            $res=@include_once(DOL_DOCUMENT_ROOT.'/core/modules/modFacture.class.php');
+            $res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modFacture.class.php';
             $mod=new modFacture($db);
             //$mod->remove('noboxes');
             $mod->init('noboxes');
@@ -3550,7 +3550,7 @@ function migrate_reload_modules($db,$langs,$conf)
     if (! empty($conf->global->MAIN_MODULE_FOURNISSEUR))    // Permission has changed into 2.9
     {
         dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Fournisseur");
-        $res=@include_once(DOL_DOCUMENT_ROOT.'/core/modules/modFournisseur.class.php');
+        $res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modFournisseur.class.php';
         if ($res) {
             $mod=new modFournisseur($db);
             //$mod->remove('noboxes');
@@ -3561,7 +3561,7 @@ function migrate_reload_modules($db,$langs,$conf)
     if (! empty($conf->global->MAIN_MODULE_USER))    // Permission has changed into 3.0
     {
         dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module User");
-        $res=@include_once(DOL_DOCUMENT_ROOT.'/core/modules/modUser.class.php');
+        $res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modUser.class.php';
         if ($res) {
             $mod=new modUser($db);
             //$mod->remove('noboxes');  // We need to remove because id of module has changed
@@ -3571,7 +3571,7 @@ function migrate_reload_modules($db,$langs,$conf)
     if (! empty($conf->global->MAIN_MODULE_DEPLACEMENT))    // Permission has changed into 3.0
     {
         dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Deplacement");
-        $res=@include_once(DOL_DOCUMENT_ROOT.'/core/modules/modDeplacement.class.php');
+        $res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modDeplacement.class.php';
         if ($res) {
             $mod=new modDeplacement($db);
             //$mod->remove('noboxes');	// We need to remove because a permission id has been removed
@@ -3581,7 +3581,7 @@ function migrate_reload_modules($db,$langs,$conf)
     if (! empty($conf->global->MAIN_MODULE_DON))    // Permission has changed into 3.0
     {
         dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Don");
-        $res=@include_once(DOL_DOCUMENT_ROOT.'/core/modules/modDon.class.php');
+        $res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modDon.class.php';
         if ($res) {
             $mod=new modDon($db);
             //$mod->remove('noboxes');	// We need to remove because a permission id has been removed
@@ -3592,7 +3592,7 @@ function migrate_reload_modules($db,$langs,$conf)
     {
         dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module ECM");
         if ($res) {
-            $res=@include_once(DOL_DOCUMENT_ROOT.'/core/modules/modECM.class.php');
+            $res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modECM.class.php';
             $mod=new modECM($db);
             $mod->remove('noboxes');	// We need to remove because a permission id has been removed
             $mod->init('noboxes');
@@ -3601,7 +3601,7 @@ function migrate_reload_modules($db,$langs,$conf)
     if (! empty($conf->global->MAIN_MODULE_PAYBOX))    // Permission has changed into 3.0
     {
         dolibarr_install_syslog("upgrade2::migrate_reload_modules Reactivate module Paybox");
-        $res=@include_once(DOL_DOCUMENT_ROOT.'/core/modules/modPaybox.class.php');
+        $res=@include_once DOL_DOCUMENT_ROOT.'/core/modules/modPaybox.class.php';
         if ($res) {
             $mod=new modPaybox($db);
             $mod->remove('noboxes');  // We need to remove because id of module has changed
diff --git a/htdocs/livraison/class/livraison.class.php b/htdocs/livraison/class/livraison.class.php
index 09c0190e140..085ea745d0a 100644
--- a/htdocs/livraison/class/livraison.class.php
+++ b/htdocs/livraison/class/livraison.class.php
@@ -440,7 +440,7 @@ class Livraison extends CommonObject
 		}
 
 		// Appel des triggers
-		include_once(DOL_DOCUMENT_ROOT.'/core/class/interfaces.class.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/class/interfaces.class.php';
 		$interface = new Interfaces($this->db);
 		$result = $interface->run_triggers('DELIVERY_VALIDATE', $this, $user, $langs, $conf);
 		// Fin appel triggers
@@ -597,7 +597,7 @@ class Livraison extends CommonObject
 					}
 
 					// Call triggers
-					include_once(DOL_DOCUMENT_ROOT."/core/class/interfaces.class.php");
+					include_once DOL_DOCUMENT_ROOT.'/core/class/interfaces.class.php';
 					$interface=new Interfaces($this->db);
 					$result=$interface->run_triggers('DELIVERY_DELETE',$this,$user,$langs,$conf);
 					if ($result < 0) {
diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index 98a82d2511a..a60133ba526 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -325,7 +325,7 @@ if (! defined('NOLOGIN'))
     if (! isset($_SESSION["dol_login"]))
     {
         // It is not already authenticated and it requests the login / password
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
 
         // If in demo mode, we check we go to home page through the public/demo/index.php page
         if (! empty($dolibarr_main_demo) && $_SERVER['PHP_SELF'] == DOL_URL_ROOT.'/index.php')  // We ask index page
@@ -356,7 +356,7 @@ if (! defined('NOLOGIN'))
                 $test=false;
 
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($db);
                 $result=$interface->run_triggers('USER_LOGIN_FAILED',$user,$user,$langs,$conf,GETPOST('entity','int'));
                 if ($result < 0) {
@@ -388,7 +388,7 @@ if (! defined('NOLOGIN'))
                 $dol_dst=0;
                 if (isset($_POST["dst_first"]) && isset($_POST["dst_second"]))
                 {
-                    include_once(DOL_DOCUMENT_ROOT."/core/lib/date.lib.php");
+                    include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
                     $datenow=dol_now();
                     $datefirst=dol_stringtotime($_POST["dst_first"]);
                     $datesecond=dol_stringtotime($_POST["dst_second"]);
@@ -413,7 +413,7 @@ if (! defined('NOLOGIN'))
                 $_SESSION["dol_loginmesg"]=$langs->trans("ErrorBadLoginPassword");
 
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT."/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT.'/core/class/interfaces.class.php';
                 $interface=new Interfaces($db);
                 $result=$interface->run_triggers('USER_LOGIN_FAILED',$user,$user,$langs,$conf,GETPOST("username","alpha",2));
                 if ($result < 0) {
@@ -429,7 +429,7 @@ if (! defined('NOLOGIN'))
             // We show login page
             if (! is_object($langs)) // This can occurs when calling page with NOREQUIRETRAN defined
             {
-                include_once(DOL_DOCUMENT_ROOT."/core/class/translate.class.php");
+                include_once DOL_DOCUMENT_ROOT.'/core/class/translate.class.php';
                 $langs=new Translate("",$conf);
             }
             dol_loginfunction($langs,$conf,$mysoc);
@@ -459,7 +459,7 @@ if (! defined('NOLOGIN'))
             }
 
             // Call triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($db);
             $result=$interface->run_triggers('USER_LOGIN_FAILED',$user,$user,$langs,$conf,$_POST["entity"]);
             if ($result < 0) {
@@ -501,7 +501,7 @@ if (! defined('NOLOGIN'))
             }
 
             // Call triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($db);
             $result=$interface->run_triggers('USER_LOGIN_FAILED',$user,$user,$langs,$conf,(isset($_POST["entity"])?$_POST["entity"]:0));
             if ($result < 0) {
@@ -517,7 +517,7 @@ if (! defined('NOLOGIN'))
             if (! empty($conf->global->MAIN_ACTIVATE_UPDATESESSIONTRIGGER))	// We do not execute such trigger at each page load by default
             {
                 // Call triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($db);
                 $result=$interface->run_triggers('USER_UPDATE_SESSION',$user,$user,$langs,$conf,$conf->entity);
                 if ($result < 0) {
@@ -556,7 +556,7 @@ if (! defined('NOLOGIN'))
         $user->update_last_login_date();
 
         // Call triggers
-        include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+        include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
         $interface=new Interfaces($db);
         $result=$interface->run_triggers('USER_LOGIN',$user,$user,$langs,$conf,GETPOST('entity','int'));
         if ($result < 0) {
@@ -579,7 +579,7 @@ if (! defined('NOLOGIN'))
         // Create entity cookie, just used for login page
         if (! empty($conf->multicompany->enabled) && ! empty($conf->global->MULTICOMPANY_COOKIE_ENABLED) && isset($_POST["entity"]))
         {
-            include_once(DOL_DOCUMENT_ROOT."/core/class/cookie.class.php");
+            include_once DOL_DOCUMENT_ROOT.'/core/class/cookie.class.php';
 
             $entity = $_SESSION["dol_login"].'|'.$_POST["entity"];
 
@@ -596,7 +596,7 @@ if (! defined('NOLOGIN'))
 
         // Hooks on successfull login
         $action='';
-        include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
         $hookmanager=new HookManager($db);
         $hookmanager->initHooks(array('login'));
         $parameters=array('dol_authmode'=>$dol_authmode);
@@ -1111,7 +1111,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a
     // Instantiate hooks of thirdparty module only if not already define
     if (! is_object($hookmanager))
     {
-    	include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+    	include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
     	$hookmanager=new HookManager($db);
     }
     $hookmanager->initHooks(array('toprightmenu'));
@@ -1225,7 +1225,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a
         if (! $menufound)	// If failed to include, we try with standard
         {
             $top_menu='eldy_backoffice.php';
-            include_once(DOL_DOCUMENT_ROOT."/core/menus/standard/".$top_menu);
+            include_once DOL_DOCUMENT_ROOT."/core/menus/standard/".$top_menu;
         }
     }
 
@@ -1364,7 +1364,7 @@ function left_menu($menu_array_before, $helppagename='', $moresearchform='', $me
     // Instantiate hooks of thirdparty module
     if (! is_object($hookmanager))
     {
-    	include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+    	include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
     	$hookmanager=new HookManager($db);
 	}
     $hookmanager->initHooks(array('searchform','leftblock'));
@@ -1431,7 +1431,7 @@ function left_menu($menu_array_before, $helppagename='', $moresearchform='', $me
 	        if (! $menufound)	// If failed to include, we try with standard
 	        {
 	            $top_menu='eldy_backoffice.php';
-	            include_once(DOL_DOCUMENT_ROOT."/core/menus/standard/".$top_menu);
+	            include_once DOL_DOCUMENT_ROOT."/core/menus/standard/".$top_menu;
 	        }
 	    }
 
diff --git a/htdocs/margin/admin/margin.php b/htdocs/margin/admin/margin.php
index fcdba42f253..4736957c830 100644
--- a/htdocs/margin/admin/margin.php
+++ b/htdocs/margin/admin/margin.php
@@ -21,7 +21,7 @@
  *		\brief      Page to setup margin module
  */
 
-include("../../main.inc.php");
+include '../../main.inc.php';
 
 require_once DOL_DOCUMENT_ROOT.'/margin/lib/margins.lib.php';
 require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
diff --git a/htdocs/master.inc.php b/htdocs/master.inc.php
index 9357408d145..3815b33e02d 100644
--- a/htdocs/master.inc.php
+++ b/htdocs/master.inc.php
@@ -214,7 +214,7 @@ if (! defined('NOREQUIREDB') && ! defined('NOREQUIRESOC'))
         else                    // For backward compatibility
         {
             dol_syslog("Your country setup use an old syntax. Reedit it using setup area.", LOG_WARNING);
-            include_once(DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php');
+            include_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
             $country_code=getCountry($country_id,2,$db);  // This need a SQL request, but it's the old feature
             $country_label=getCountry($country_id,0,$db);  // This need a SQL request, but it's the old feature
         }
diff --git a/htdocs/product/admin/product.php b/htdocs/product/admin/product.php
index 4c6282709a7..664866030dd 100644
--- a/htdocs/product/admin/product.php
+++ b/htdocs/product/admin/product.php
@@ -210,7 +210,7 @@ foreach ($dirproduct as $dirroot)
     			$file = substr($file, 0, dol_strlen($file)-4);
 
     			try {
-        			dol_include_once($dirroot.$file.".php");
+        			dol_include_once($dirroot.$file.'.php');
     			}
     			catch(Exception $e)
     			{
diff --git a/htdocs/product/canvas/product/actions_card_product.class.php b/htdocs/product/canvas/product/actions_card_product.class.php
index 37b48c7be00..c9a55a6ee23 100755
--- a/htdocs/product/canvas/product/actions_card_product.class.php
+++ b/htdocs/product/canvas/product/actions_card_product.class.php
@@ -20,7 +20,7 @@
  *	\ingroup    produit
  *	\brief      File with class of actions for canvas product
  */
-include_once(DOL_DOCUMENT_ROOT.'/product/class/product.class.php');
+include_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
 
 
 /**
diff --git a/htdocs/product/canvas/service/actions_card_service.class.php b/htdocs/product/canvas/service/actions_card_service.class.php
index 3e27cd968dc..113e77ebe1d 100755
--- a/htdocs/product/canvas/service/actions_card_service.class.php
+++ b/htdocs/product/canvas/service/actions_card_service.class.php
@@ -20,7 +20,7 @@
  *	\ingroup    service
  *	\brief      File with class of actions for canvas service
  */
-include_once(DOL_DOCUMENT_ROOT.'/product/class/product.class.php');
+include_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
 
 
 /**
diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php
index 8ab14b0afe6..9129c111248 100644
--- a/htdocs/product/class/product.class.php
+++ b/htdocs/product/class/product.class.php
@@ -375,7 +375,7 @@ class Product extends CommonObject
 		if (! $error && ! $notrigger)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('PRODUCT_CREATE',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -486,7 +486,7 @@ class Product extends CommonObject
 			}
 
 			// Actions on extra fields (by external module or standard code)
-			include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+			include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 			$hookmanager=new HookManager($this->db);
 			$hookmanager->initHooks(array('productdao'));
 			$parameters=array('id'=>$this->id);
@@ -504,7 +504,7 @@ class Product extends CommonObject
 			if (! $error && ! $notrigger)
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('PRODUCT_MODIFY',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -578,7 +578,7 @@ class Product extends CommonObject
 			    if (! $error)
 			    {
 			        // Appel des triggers
-			        include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			        include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			        $interface=new Interfaces($this->db);
 			        $result=$interface->run_triggers('PRODUCT_DELETE',$this,$user,$langs,$conf);
 			        if ($result < 0) {
@@ -1035,7 +1035,7 @@ class Product extends CommonObject
 	 */
 	function fetch($id='',$ref='',$ref_ext='')
 	{
-	    include_once(DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php');
+	    include_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
 
 		global $langs, $conf;
 
@@ -2542,7 +2542,7 @@ class Product extends CommonObject
 	 */
 	function is_photo_available($sdir)
 	{
-		include_once(DOL_DOCUMENT_ROOT ."/core/lib/files.lib.php");
+		include_once DOL_DOCUMENT_ROOT .'/core/lib/files.lib.php';
 
 		$pdir = get_exdir($this->id,2) . $this->id ."/photos/";
 		$dir = $sdir . '/'. $pdir;
@@ -2584,8 +2584,8 @@ class Product extends CommonObject
 	{
 		global $conf,$user,$langs;
 
-		include_once(DOL_DOCUMENT_ROOT ."/core/lib/files.lib.php");
-		include_once(DOL_DOCUMENT_ROOT ."/core/lib/images.lib.php");
+		include_once DOL_DOCUMENT_ROOT .'/core/lib/files.lib.php';
+		include_once DOL_DOCUMENT_ROOT .'/core/lib/images.lib.php';
 
 		$pdir = get_exdir($this->id,2) . $this->id ."/photos/";
 		$dir = $sdir . '/'. $pdir;
@@ -2727,7 +2727,7 @@ class Product extends CommonObject
 	 */
 	function liste_photos($dir,$nbmax=0)
 	{
-		include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
+		include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
 
 		$nbphoto=0;
 		$tabobj=array();
diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php
index 212d10c5c70..20ef3342e98 100644
--- a/htdocs/product/fiche.php
+++ b/htdocs/product/fiche.php
@@ -73,7 +73,7 @@ $fieldtype = (! empty($ref) ? 'ref' : 'rowid');
 $result=restrictedArea($user,'produit|service',$fieldvalue,'product&product','','',$fieldtype,$objcanvas);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('productcard'));
 
@@ -703,7 +703,7 @@ else
         {
             $module = substr($module, 0, dol_strlen($module)-4);
         }
-        dol_include_once('/core/modules/product/'.$module.".php");
+        dol_include_once('/core/modules/product/'.$module.'.php');
         $modCodeProduct = new $module;
 
         print '<form action="fiche.php" method="post">';
diff --git a/htdocs/product/fournisseurs.php b/htdocs/product/fournisseurs.php
index b97d43dba10..259d25c901c 100644
--- a/htdocs/product/fournisseurs.php
+++ b/htdocs/product/fournisseurs.php
@@ -57,7 +57,7 @@ if ($user->societe_id) $socid=$user->societe_id;
 $result=restrictedArea($user,'produit|service&fournisseur',$fieldvalue,'product&product','','',$fieldtype);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('pricesuppliercard'));
 
diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php
index 1f0c7ebaf97..cc3540f4895 100644
--- a/htdocs/product/liste.php
+++ b/htdocs/product/liste.php
@@ -218,7 +218,7 @@ else
     			$template_dir = DOL_DOCUMENT_ROOT . '/theme/'.$conf->theme.'/tpl/product/'.$canvas.'/';
     		}
 
-    		include($template_dir.'list.tpl.php');	// Include native PHP templates
+    		include $template_dir.'list.tpl.php';	// Include native PHP templates
     	}
     	else
     	{
diff --git a/htdocs/product/stock/class/entrepot.class.php b/htdocs/product/stock/class/entrepot.class.php
index 4a181fab2ff..cb3e891ff9d 100644
--- a/htdocs/product/stock/class/entrepot.class.php
+++ b/htdocs/product/stock/class/entrepot.class.php
@@ -261,7 +261,7 @@ class Entrepot extends CommonObject
 			$this->town           = $obj->town;
 			$this->country_id     = $obj->country_id;
 
-			include_once(DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php');
+			include_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
             $tmp=getCountry($this->country_id,'all');
 			$this->pays=$tmp['label'];                // deprecated
 			$this->pays_code=$tmp['code'];            // deprecated
diff --git a/htdocs/product/stock/class/mouvementstock.class.php b/htdocs/product/stock/class/mouvementstock.class.php
index 6321813fdb9..85662fd1a30 100644
--- a/htdocs/product/stock/class/mouvementstock.class.php
+++ b/htdocs/product/stock/class/mouvementstock.class.php
@@ -223,7 +223,7 @@ class MouvementStock
 		if ($movestock && ! $error)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 
 			$this->product_id = $fk_product;
diff --git a/htdocs/projet/class/project.class.php b/htdocs/projet/class/project.class.php
index 613a0721490..55c30ec4220 100644
--- a/htdocs/projet/class/project.class.php
+++ b/htdocs/projet/class/project.class.php
@@ -124,7 +124,7 @@ class Project extends CommonObject
             if (!$notrigger)
             {
                 // Call triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface = new Interfaces($this->db);
                 $result = $interface->run_triggers('PROJECT_CREATE', $this, $user, $langs, $conf);
                 if ($result < 0)
@@ -198,7 +198,7 @@ class Project extends CommonObject
                 if (!$notrigger)
                 {
                     // Call triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface = new Interfaces($this->db);
                     $result = $interface->run_triggers('PROJECT_MODIFY', $this, $user, $langs, $conf);
                     if ($result < 0)
@@ -479,7 +479,7 @@ class Project extends CommonObject
             if (!$notrigger)
             {
                 // Call triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface = new Interfaces($this->db);
                 $result = $interface->run_triggers('PROJECT_DELETE', $this, $user, $langs, $conf);
                 if ($result < 0)
@@ -529,7 +529,7 @@ class Project extends CommonObject
             if ($resql)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface = new Interfaces($this->db);
                 $result = $interface->run_triggers('PROJECT_VALIDATE', $this, $user, $langs, $conf);
                 if ($result < 0)
@@ -590,7 +590,7 @@ class Project extends CommonObject
             if ($resql)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface = new Interfaces($this->db);
                 $result = $interface->run_triggers('PROJECT_CLOSE', $this, $user, $langs, $conf);
                 if ($result < 0)
diff --git a/htdocs/projet/class/task.class.php b/htdocs/projet/class/task.class.php
index 9a49d8d55b9..40601aeef08 100644
--- a/htdocs/projet/class/task.class.php
+++ b/htdocs/projet/class/task.class.php
@@ -128,7 +128,7 @@ class Task extends CommonObject
             if (! $notrigger)
             {
                 // Call triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('TASK_CREATE',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -269,7 +269,7 @@ class Task extends CommonObject
             if (! $notrigger)
             {
                 // Call triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('TASK_MODIFY',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -348,7 +348,7 @@ class Task extends CommonObject
             if (! $notrigger)
             {
                 // Call triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('TASK_DELETE',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -720,7 +720,7 @@ class Task extends CommonObject
             if (! $notrigger)
             {
                 // Call triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('TASK_TIMESPENT_CREATE',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -830,7 +830,7 @@ class Task extends CommonObject
             if (! $notrigger)
             {
                 // Call triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('TASK_TIMESPENT_MODIFY',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -892,7 +892,7 @@ class Task extends CommonObject
             if (! $notrigger)
             {
                 // Call triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('TASK_TIMESPENT_DELETE',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/projet/fiche.php b/htdocs/projet/fiche.php
index 4c183a409c5..34c736a09d4 100644
--- a/htdocs/projet/fiche.php
+++ b/htdocs/projet/fiche.php
@@ -50,7 +50,7 @@ if ($user->societe_id > 0) $socid=$user->societe_id;
 $result = restrictedArea($user, 'projet', $id);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('projectcard'));
 
@@ -718,7 +718,7 @@ else
         print '</td><td valign="top" width="50%">';
 
         // List of actions on element
-        include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
         $formactions=new FormActions($db);
         $somethingshown=$formactions->showactions($object,'project',$socid);
 
diff --git a/htdocs/projet/ganttview.php b/htdocs/projet/ganttview.php
index 687c1a1aaf7..7619bc732eb 100644
--- a/htdocs/projet/ganttview.php
+++ b/htdocs/projet/ganttview.php
@@ -239,7 +239,7 @@ if (count($tasksarray)>0)
 	{
 	    //var_dump($_SESSION);
 		print '<div id="tabs" class="ganttcontainer" style="border: 1px solid #ACACAC;">'."\n";
-		include_once(DOL_DOCUMENT_ROOT.'/projet/ganttchart.php');
+		include_once DOL_DOCUMENT_ROOT.'/projet/ganttchart.php';
 		print '</div>'."\n";
 	}
 	else
diff --git a/htdocs/projet/tasks.php b/htdocs/projet/tasks.php
index 526b5789810..523afef0750 100644
--- a/htdocs/projet/tasks.php
+++ b/htdocs/projet/tasks.php
@@ -55,7 +55,7 @@ if ($user->societe_id > 0) $socid = $user->societe_id;
 $result = restrictedArea($user, 'projet', $id);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('projecttaskcard'));
 
diff --git a/htdocs/projet/tasks/note.php b/htdocs/projet/tasks/note.php
index bd1706f2725..fdac534b81b 100644
--- a/htdocs/projet/tasks/note.php
+++ b/htdocs/projet/tasks/note.php
@@ -206,7 +206,7 @@ if ($object->id > 0)
 
 	$colwidth=30;
     $moreparam=$param;
-	include(DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php');
+	include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php';
 
 	dol_fiche_end();
 }
diff --git a/htdocs/projet/tasks/task.php b/htdocs/projet/tasks/task.php
index bd73f8d3b77..66ddbc09da2 100644
--- a/htdocs/projet/tasks/task.php
+++ b/htdocs/projet/tasks/task.php
@@ -42,7 +42,7 @@ if ($user->societe_id > 0) $socid = $user->societe_id;
 if (! $user->rights->projet->lire) accessforbidden();
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('projecttaskcard'));
 
diff --git a/htdocs/public/demo/index.php b/htdocs/public/demo/index.php
index 485d2d03291..d244baa0ba9 100644
--- a/htdocs/public/demo/index.php
+++ b/htdocs/public/demo/index.php
@@ -38,7 +38,7 @@ global $dolibarr_main_demo;
 if (empty($dolibarr_main_demo)) accessforbidden('Parameter dolibarr_main_demo must be defined in conf file with value "default login,default pass" to enable the demo entry page',1,1,1);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('demo'));
 
@@ -140,7 +140,7 @@ foreach ($modulesdir as $dir)
                 {
 		            try
 		            {
-                        include_once($dir.$file);
+                        include_once $dir.$file;
                         $objMod = new $modName($db);
 
                         if ($objMod->numero > 0)
diff --git a/htdocs/public/paypal/paymentok.php b/htdocs/public/paypal/paymentok.php
index 768bc4f2578..5c24d29041d 100755
--- a/htdocs/public/paypal/paymentok.php
+++ b/htdocs/public/paypal/paymentok.php
@@ -154,7 +154,7 @@ if ($PAYPALTOKEN)
             if (! empty($conf->global->PAYPAL_MESSAGE_OK)) print $conf->global->PAYPAL_MESSAGE_OK;
 
             // Appel des triggers
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
             $interface=new Interfaces($db);
             $result=$interface->run_triggers('PAYPAL_PAYMENT_OK',$object,$user,$langs,$conf);
             if ($result < 0) { $error++; $errors=$interface->errors; }
diff --git a/htdocs/societe/admin/societe.php b/htdocs/societe/admin/societe.php
index 6b7b4fdb09d..97e33167d22 100644
--- a/htdocs/societe/admin/societe.php
+++ b/htdocs/societe/admin/societe.php
@@ -250,7 +250,7 @@ foreach ($dirsociete as $dirroot)
     			$file = substr($file, 0, dol_strlen($file)-4);
 
     			try {
-        			dol_include_once($dirroot.$file.".php");
+        			dol_include_once($dirroot.$file.'.php');
     			}
     			catch(Exception $e)
     			{
@@ -330,7 +330,7 @@ foreach ($dirsociete as $dirroot)
     			$file = substr($file, 0, dol_strlen($file)-4);
 
     		    try {
-        			dol_include_once($dirroot.$file.".php");
+        			dol_include_once($dirroot.$file.'.php');
     			}
     			catch(Exception $e)
     			{
diff --git a/htdocs/societe/canvas/actions_card_common.class.php b/htdocs/societe/canvas/actions_card_common.class.php
index 67cedc62350..870ec8b67cc 100644
--- a/htdocs/societe/canvas/actions_card_common.class.php
+++ b/htdocs/societe/canvas/actions_card_common.class.php
@@ -433,7 +433,7 @@ abstract class ActionsCardCommon
             $dirsociete=array_merge(array('/core/modules/societe/'),$conf->societe_modules);
             foreach ($dirsociete as $dirroot)
             {
-                $res=dol_include_once($dirroot.$module.".php");
+                $res=dol_include_once($dirroot.$module.'.php');
                 if ($res) break;
             }
             $modCodeClient = new $module;
@@ -470,7 +470,7 @@ abstract class ActionsCardCommon
                 $dirsociete=array_merge(array('/core/modules/societe/'),$conf->societe_modules);
                 foreach ($dirsociete as $dirroot)
                 {
-                    $res=dol_include_once($dirroot.$module.".php");
+                    $res=dol_include_once($dirroot.$module.'.php');
                     if ($res) break;
                 }
             	$modCodeFournisseur = new $module;
diff --git a/htdocs/societe/canvas/company/actions_card_company.class.php b/htdocs/societe/canvas/company/actions_card_company.class.php
index b4e55b9e657..409230d6fba 100644
--- a/htdocs/societe/canvas/company/actions_card_company.class.php
+++ b/htdocs/societe/canvas/company/actions_card_company.class.php
@@ -21,7 +21,7 @@
  *	\ingroup    thirdparty
  *	\brief      File of Thirdparty card controller (default canvas)
  */
-include_once(DOL_DOCUMENT_ROOT.'/societe/canvas/actions_card_common.class.php');
+include_once DOL_DOCUMENT_ROOT.'/societe/canvas/actions_card_common.class.php';
 
 /**
  *	\class      ActionsCardCompany
diff --git a/htdocs/societe/canvas/individual/actions_card_individual.class.php b/htdocs/societe/canvas/individual/actions_card_individual.class.php
index 74f64e07a1e..7d10a2a52cf 100644
--- a/htdocs/societe/canvas/individual/actions_card_individual.class.php
+++ b/htdocs/societe/canvas/individual/actions_card_individual.class.php
@@ -20,7 +20,7 @@
  *	\ingroup    thirdparty
  *	\brief      Fichier de la classe Thirdparty card controller (individual canvas)
  */
-include_once(DOL_DOCUMENT_ROOT.'/societe/canvas/actions_card_common.class.php');
+include_once DOL_DOCUMENT_ROOT.'/societe/canvas/actions_card_common.class.php';
 
 /**
  *	\class      ActionsCardIndividual
diff --git a/htdocs/societe/class/client.class.php b/htdocs/societe/class/client.class.php
index f88eefcfd4a..5bedda46099 100644
--- a/htdocs/societe/class/client.class.php
+++ b/htdocs/societe/class/client.class.php
@@ -21,7 +21,7 @@
  *		\ingroup    societe
  *		\brief      File for class of customers
  */
-include_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
+include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
 
 
 /**
diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php
index 9365c8b5fa3..6ad2bde8468 100644
--- a/htdocs/societe/class/societe.class.php
+++ b/htdocs/societe/class/societe.class.php
@@ -244,7 +244,7 @@ class Societe extends CommonObject
                 if ($ret >= 0)
                 {
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('COMPANY_CREATE',$this,$user,$langs,$conf);
                     if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -571,7 +571,7 @@ class Societe extends CommonObject
                 $this->AddFournisseurInCategory($this->fournisseur_categorie);
 
                 // Actions on extra fields (by external module or standard code)
-                include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
                 $hookmanager=new HookManager($this->db);
                 $hookmanager->initHooks(array('thirdpartydao'));
                 $parameters=array('socid'=>$this->id);
@@ -589,7 +589,7 @@ class Societe extends CommonObject
                 if (! $error && $call_trigger)
                 {
                     // Appel des triggers
-                    include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                    include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                     $interface=new Interfaces($this->db);
                     $result=$interface->run_triggers('COMPANY_MODIFY',$this,$user,$langs,$conf);
                     if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -925,7 +925,7 @@ class Societe extends CommonObject
             if (! $error)
             {
             	// Additionnal action by hooks
-                include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+                include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
                 $hookmanager=new HookManager($this->db);
                 $hookmanager->initHooks(array('thirdpartydao'));
                 $parameters=array(); $action='delete';
@@ -954,7 +954,7 @@ class Societe extends CommonObject
             if (! $error)
             {
                 // Appel des triggers
-                include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+                include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
                 $interface=new Interfaces($this->db);
                 $result=$interface->run_triggers('COMPANY_DELETE',$this,$user,$langs,$conf);
                 if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1629,7 +1629,7 @@ class Societe extends CommonObject
             $dirsociete=array_merge(array('/core/modules/societe/'),$conf->societe_modules);
             foreach ($dirsociete as $dirroot)
             {
-                $res=dol_include_once($dirroot.$conf->global->SOCIETE_CODECLIENT_ADDON.".php");
+                $res=dol_include_once($dirroot.$conf->global->SOCIETE_CODECLIENT_ADDON.'.php');
                 if ($res) break;
             }
             $var = $conf->global->SOCIETE_CODECLIENT_ADDON;
@@ -1658,7 +1658,7 @@ class Societe extends CommonObject
             $dirsociete=array_merge(array('/core/modules/societe/'),$conf->societe_modules);
             foreach ($dirsociete as $dirroot)
             {
-                $res=dol_include_once($dirroot.$conf->global->SOCIETE_FOURNISSEUR_ADDON.".php");
+                $res=dol_include_once($dirroot.$conf->global->SOCIETE_FOURNISSEUR_ADDON.'.php');
                 if ($res) break;
             }
             $var = $conf->global->SOCIETE_CODEFOURNISSEUR_ADDON;
@@ -1684,7 +1684,7 @@ class Societe extends CommonObject
             $dirsociete=array_merge(array('/core/modules/societe/'),$conf->societe_modules);
             foreach ($dirsociete as $dirroot)
             {
-                $res=dol_include_once($dirroot.$conf->global->SOCIETE_CODECLIENT_ADDON.".php");
+                $res=dol_include_once($dirroot.$conf->global->SOCIETE_CODECLIENT_ADDON.'.php');
                 if ($res) break;
             }
 
@@ -1718,7 +1718,7 @@ class Societe extends CommonObject
             $dirsociete=array_merge(array('/core/modules/societe/'),$conf->societe_modules);
             foreach ($dirsociete as $dirroot)
             {
-                $res=dol_include_once($dirroot.$conf->global->SOCIETE_CODEFOURNISSEUR_ADDON.".php");
+                $res=dol_include_once($dirroot.$conf->global->SOCIETE_CODEFOURNISSEUR_ADDON.'.php');
                 if ($res) break;
             }
 
@@ -1756,7 +1756,7 @@ class Societe extends CommonObject
             $dirsociete=array_merge(array('/core/modules/societe/'),$conf->societe_modules);
             foreach ($dirsociete as $dirroot)
             {
-                $res=dol_include_once($dirroot.$conf->global->SOCIETE_CODECLIENT_ADDON.".php");
+                $res=dol_include_once($dirroot.$conf->global->SOCIETE_CODECLIENT_ADDON.'.php');
                 if ($res) break;
             }
 
@@ -1791,7 +1791,7 @@ class Societe extends CommonObject
             $dirsociete=array_merge(array('/core/modules/societe/'),$conf->societe_modules);
             foreach ($dirsociete as $dirroot)
             {
-                $res=dol_include_once($dirroot.$conf->global->SOCIETE_CODEFOURNISSEUR_ADDON.".php");
+                $res=dol_include_once($dirroot.$conf->global->SOCIETE_CODEFOURNISSEUR_ADDON.'.php');
                 if ($res) break;
             }
 
diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php
index d9dc12faf5a..513e5c5554d 100644
--- a/htdocs/societe/soc.php
+++ b/htdocs/societe/soc.php
@@ -70,7 +70,7 @@ if (! empty($canvas))
 $result = restrictedArea($user, 'societe', $socid, '&societe', '', 'fk_soc', 'rowid', $objcanvas);
 
 // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
-include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
+include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('thirdpartycard'));
 
@@ -522,7 +522,7 @@ else
         $dirsociete=array_merge(array('/core/modules/societe/'),$conf->societe_modules);
         foreach ($dirsociete as $dirroot)
         {
-            $res=dol_include_once($dirroot.$module.".php");
+            $res=dol_include_once($dirroot.$module.'.php');
             if ($res) break;
         }
         $modCodeClient = new $module;
@@ -535,7 +535,7 @@ else
         $dirsociete=array_merge(array('/core/modules/societe/'),$conf->societe_modules);
         foreach ($dirsociete as $dirroot)
         {
-            $res=dol_include_once($dirroot.$module.".php");
+            $res=dol_include_once($dirroot.$module.'.php');
             if ($res) break;
         }
         $modCodeFournisseur = new $module;
@@ -1010,7 +1010,7 @@ else
             $dirsociete=array_merge(array('/core/modules/societe/'),$conf->societe_modules);
             foreach ($dirsociete as $dirroot)
             {
-                $res=dol_include_once($dirroot.$module.".php");
+                $res=dol_include_once($dirroot.$module.'.php');
                 if ($res) break;
             }
             $modCodeClient = new $module;
@@ -1028,7 +1028,7 @@ else
             $dirsociete=array_merge(array('/core/modules/societe/'),$conf->societe_modules);
             foreach ($dirsociete as $dirroot)
             {
-                $res=dol_include_once($dirroot.$module.".php");
+                $res=dol_include_once($dirroot.$module.'.php');
                 if ($res) break;
             }
             $modCodeFournisseur = new $module;
@@ -1749,7 +1749,7 @@ else
         }
 
         // Sales representative
-        include(DOL_DOCUMENT_ROOT.'/societe/tpl/linesalesrepresentative.tpl.php');
+        include DOL_DOCUMENT_ROOT.'/societe/tpl/linesalesrepresentative.tpl.php';
 
         // Module Adherent
         if ($conf->adherent->enabled)
diff --git a/htdocs/societe/societe.php b/htdocs/societe/societe.php
index c97a9291a76..06c5ad9793d 100644
--- a/htdocs/societe/societe.php
+++ b/htdocs/societe/societe.php
@@ -24,7 +24,7 @@
  */
 
 require_once '../main.inc.php';
-include_once(DOL_DOCUMENT_ROOT."/contact/class/contact.class.php");
+include_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
 require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
 
 $langs->load("companies");
diff --git a/htdocs/support/inc.php b/htdocs/support/inc.php
index 2e009b3fd18..f27546d2528 100644
--- a/htdocs/support/inc.php
+++ b/htdocs/support/inc.php
@@ -74,7 +74,7 @@ $conffiletoshow = "htdocs/conf/conf.php";
 
 if (! defined('DONOTLOADCONF') && file_exists($conffile))
 {
-	$result=include_once($conffile);	// Load conf file
+	$result=include_once $conffile;	// Load conf file
 	if ($result)
 	{
 
@@ -104,7 +104,7 @@ if (! defined('DONOTLOADCONF') && file_exists($conffile))
 		{
 			if (! empty($dolibarr_main_document_root) && ! empty($dolibarr_main_db_type))
 			{
-				$result=include_once($dolibarr_main_document_root . "/core/db/".$dolibarr_main_db_type.".class.php");
+				$result=include_once $dolibarr_main_document_root . "/core/db/".$dolibarr_main_db_type.'.class.php';
 				if (! $result)
 				{
 					$includeconferror='ErrorBadValueForDolibarrMainDBType';
@@ -179,7 +179,7 @@ function conf($dolibarr_main_document_root)
 	global $dolibarr_main_db_pass;
 	global $character_set_client;
 
-	$return=include_once($dolibarr_main_document_root."/core/class/conf.class.php");
+	$return=include_once $dolibarr_main_document_root.'/core/class/conf.class.php';
 	if (! $return) return -1;
 
 	$conf=new Conf();
diff --git a/htdocs/support/index.php b/htdocs/support/index.php
index 8fb68eaf672..c5b214eb9a1 100644
--- a/htdocs/support/index.php
+++ b/htdocs/support/index.php
@@ -26,7 +26,7 @@
 // Use its own include to not share the include of Dolibarr
 // This is a standalone feature with no information from Dolibarr to show
 // and no database access to do.
-include_once("./inc.php");
+include_once './inc.php';
 $uri=preg_replace('/^http(s?):\/\//i','',$dolibarr_main_url_root);
 $pos = strstr($uri, '/');      // $pos contient alors url sans nom domaine
 if ($pos == '/') $pos = '';     // si $pos vaut /, on le met a ''
diff --git a/htdocs/support/online.php b/htdocs/support/online.php
index 07cffbc7d26..d7095181acd 100644
--- a/htdocs/support/online.php
+++ b/htdocs/support/online.php
@@ -23,7 +23,7 @@
 
 error_reporting(0);
 
-include_once("./inc.php");
+include_once './inc.php';
 $uri=preg_replace('/^http(s?):\/\//i','',$dolibarr_main_url_root);
 $pos = strstr($uri, '/');      // $pos contient alors url sans nom domaine
 if ($pos == '/') $pos = '';     // si $pos vaut /, on le met a ''
diff --git a/htdocs/theme/eldy/graph-color.php b/htdocs/theme/eldy/graph-color.php
index fb6a0075f83..0071dd17edb 100644
--- a/htdocs/theme/eldy/graph-color.php
+++ b/htdocs/theme/eldy/graph-color.php
@@ -23,7 +23,7 @@
  *
  *  To include file, do this:
  *              $color_file = DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/graph-color.php';
- *              if (is_readable($color_file)) include_once($color_file);
+ *              if (is_readable($color_file)) include_once $color_file;
  */
 
 global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
diff --git a/htdocs/theme/phones/smartphone/tpl/login.tpl.php b/htdocs/theme/phones/smartphone/tpl/login.tpl.php
index 5ab6bc66634..de239e3d050 100644
--- a/htdocs/theme/phones/smartphone/tpl/login.tpl.php
+++ b/htdocs/theme/phones/smartphone/tpl/login.tpl.php
@@ -20,7 +20,7 @@ top_httphead();
 <!DOCTYPE html>
 <html>
 <?php
-include('header.tpl.php');
+include 'header.tpl.php';
 ?>
 <body>
 <script type="text/javascript">
diff --git a/htdocs/theme/phones/smartphone/tpl/passwordforgotten.tpl.php b/htdocs/theme/phones/smartphone/tpl/passwordforgotten.tpl.php
index d815521bd67..1151aee7243 100644
--- a/htdocs/theme/phones/smartphone/tpl/passwordforgotten.tpl.php
+++ b/htdocs/theme/phones/smartphone/tpl/passwordforgotten.tpl.php
@@ -20,7 +20,7 @@ top_httphead();
 <!DOCTYPE html>
 <html>
 <?php
-include('header.tpl.php');
+include 'header.tpl.php';
 ?>
 <body>
 <!-- BEGIN SMARTPHONE TEMPLATE -->
diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php
index aa731277302..087b9fbc1b4 100644
--- a/htdocs/user/class/user.class.php
+++ b/htdocs/user/class/user.class.php
@@ -643,7 +643,7 @@ class User extends CommonObject
 		if ($result)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('USER_ENABLEDISABLE',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -709,7 +709,7 @@ class User extends CommonObject
 		if ($result)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('USER_DELETE',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -816,7 +816,7 @@ class User extends CommonObject
 					if (! $notrigger)
 					{
 						// Appel des triggers
-						include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+						include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 						$interface = new Interfaces($this->db);
 						$result = $interface->run_triggers('USER_CREATE',$this,$user,$langs,$conf);
 						if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -899,7 +899,7 @@ class User extends CommonObject
 			if ($resql)
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface = new Interfaces($this->db);
 				$result = $interface->run_triggers('USER_CREATE_FROM_CONTACT',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1181,7 +1181,7 @@ class User extends CommonObject
 			if (! $error && ! $notrigger)
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('USER_MODIFY',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1330,7 +1330,7 @@ class User extends CommonObject
 					if (! $error && ! $notrigger)
 					{
 						// Appel des triggers
-						include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+						include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 						$interface=new Interfaces($this->db);
 						$result=$interface->run_triggers('USER_NEW_PASSWORD',$this,$user,$langs,$conf);
 						if ($result < 0) $this->errors=$interface->errors;
@@ -1585,7 +1585,7 @@ class User extends CommonObject
 			    $this->newgroupid=$group;
 
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('USER_SETINGROUP',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -1643,7 +1643,7 @@ class User extends CommonObject
 			    $this->oldgroupid=$group;
 
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('USER_REMOVEFROMGROUP',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/user/class/usergroup.class.php b/htdocs/user/class/usergroup.class.php
index 573575652a0..487557b939d 100644
--- a/htdocs/user/class/usergroup.class.php
+++ b/htdocs/user/class/usergroup.class.php
@@ -530,7 +530,7 @@ class UserGroup extends CommonObject
 		if ($result)
 		{
 			// Appel des triggers
-			include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 			$interface=new Interfaces($this->db);
 			$result=$interface->run_triggers('USER_DELETE',$this,$user,$langs,$conf);
 			if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -587,7 +587,7 @@ class UserGroup extends CommonObject
 			if (! $notrigger)
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('GROUP_CREATE',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -635,7 +635,7 @@ class UserGroup extends CommonObject
 			if (! $notrigger)
 			{
 				// Appel des triggers
-				include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+				include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 				$interface=new Interfaces($this->db);
 				$result=$interface->run_triggers('GROUP_MODIFY',$this,$user,$langs,$conf);
 				if ($result < 0) { $error++; $this->errors=$interface->errors; }
diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php
index 150c37b1975..059136e1757 100644
--- a/htdocs/user/fiche.php
+++ b/htdocs/user/fiche.php
@@ -34,7 +34,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
 require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php';
 if (! empty($conf->ldap->enabled)) require_once DOL_DOCUMENT_ROOT.'/core/class/ldap.class.php';
 if (! empty($conf->adherent->enabled)) require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
-if (! empty($conf->multicompany->enabled)) dol_include_once("/multicompany/class/actions_multicompany.class.php");
+if (! empty($conf->multicompany->enabled)) dol_include_once('/multicompany/class/actions_multicompany.class.php');
 
 $id			= GETPOST('id','int');
 $action		= GETPOST('action','alpha');
diff --git a/htdocs/user/group/fiche.php b/htdocs/user/group/fiche.php
index 48466bc6649..7d29918ae10 100644
--- a/htdocs/user/group/fiche.php
+++ b/htdocs/user/group/fiche.php
@@ -26,7 +26,7 @@
 require '../../main.inc.php';
 require_once DOL_DOCUMENT_ROOT.'/user/class/usergroup.class.php';
 require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php';
-if(! empty($conf->multicompany->enabled)) dol_include_once("/multicompany/class/actions_multicompany.class.php");
+if(! empty($conf->multicompany->enabled)) dol_include_once('/multicompany/class/actions_multicompany.class.php');
 
 // Defini si peux lire/modifier utilisateurs et permisssions
 $canreadperms=($user->admin || $user->rights->user->user->lire);
diff --git a/htdocs/user/group/perms.php b/htdocs/user/group/perms.php
index dd52a6b517a..6caf070d675 100644
--- a/htdocs/user/group/perms.php
+++ b/htdocs/user/group/perms.php
@@ -113,7 +113,7 @@ if ($id)
 
                     if ($modName)
                     {
-                        include_once($dir."/".$file);
+                        include_once $dir."/".$file;
                         $objMod = new $modName($db);
                         // Load all lang files of module
                         if (isset($objMod->langfiles) && is_array($objMod->langfiles))
diff --git a/htdocs/user/index.php b/htdocs/user/index.php
index 5aae43c145c..4d85ff977b1 100644
--- a/htdocs/user/index.php
+++ b/htdocs/user/index.php
@@ -24,7 +24,7 @@
  */
 
 require '../main.inc.php';
-if(! empty($conf->multicompany->enabled)) dol_include_once("/multicompany/class/actions_multicompany.class.php");
+if(! empty($conf->multicompany->enabled)) dol_include_once('/multicompany/class/actions_multicompany.class.php');
 
 
 if (! $user->rights->user->user->lire && ! $user->admin) accessforbidden();
diff --git a/htdocs/user/logout.php b/htdocs/user/logout.php
index 00721d20f5d..4ec89e0bad0 100644
--- a/htdocs/user/logout.php
+++ b/htdocs/user/logout.php
@@ -40,7 +40,7 @@ if (!empty($_SESSION["dol_authmode"]) && ($_SESSION["dol_authmode"] == 'forceuse
 }
 
 // Appel des triggers
-include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
+include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
 $interface=new Interfaces($db);
 $result=$interface->run_triggers('USER_LOGOUT',$user,$user,$langs,$conf,$conf->entity);
 if ($result < 0) { $error++; }
diff --git a/htdocs/user/passwordforgotten.php b/htdocs/user/passwordforgotten.php
index 630e89febe5..2b7cc2c66b1 100644
--- a/htdocs/user/passwordforgotten.php
+++ b/htdocs/user/passwordforgotten.php
@@ -218,7 +218,7 @@ if (! empty($conf->multicompany->enabled)  && empty($conf->global->MULTICOMPANY_
         $entityCookieName = 'DOLENTITYID_'.$prefix;
         if (isset($_COOKIE[$entityCookieName]))
         {
-            include_once(DOL_DOCUMENT_ROOT . "/core/class/cookie.class.php");
+            include_once DOL_DOCUMENT_ROOT . '/core/class/cookie.class.php';
             $lastuser = '';	$lastentity = '';
             $entityCookie = new DolCookie($conf->file->cookie_cryptkey);
             $cookieValue = $entityCookie->_getCookie($entityCookieName);
@@ -236,6 +236,6 @@ if (function_exists("imagecreatefrompng") && ! $disabled)
     $captcha_refresh = img_picto($langs->trans("Refresh"),'refresh','id="captcha_refresh_img"');
 }
 
-include($template_dir.'passwordforgotten.tpl.php');	// To use native PHP
+include $template_dir.'passwordforgotten.tpl.php';	// To use native PHP
 
 ?>
\ No newline at end of file
diff --git a/htdocs/user/perms.php b/htdocs/user/perms.php
index af407a4f555..e32bfa59620 100644
--- a/htdocs/user/perms.php
+++ b/htdocs/user/perms.php
@@ -134,7 +134,7 @@ foreach($modulesdir as $dir)
 
     	        if ($modName)
     	        {
-    	            include_once($dir.$file);
+    	            include_once $dir.$file;
     	            $objMod = new $modName($db);
 
     	            // Load all lang files of module
diff --git a/htdocs/viewimage.php b/htdocs/viewimage.php
index 5c5ec93bc85..c8957633290 100644
--- a/htdocs/viewimage.php
+++ b/htdocs/viewimage.php
@@ -366,7 +366,7 @@ if ($modulepart == 'barcode')
         // Check if directory exists (we do not use dol_is_dir to avoid loading files.lib.php)
         if (! is_dir($newdir)) continue;
 
-        $result=@include_once($newdir.$generator.".modules.php");
+        $result=@include_once $newdir.$generator.'.modules.php';
         if ($result) break;
     }
 
diff --git a/htdocs/webservices/server_productorservice.php b/htdocs/webservices/server_productorservice.php
index 084ccba9c3d..d1fb254c46b 100755
--- a/htdocs/webservices/server_productorservice.php
+++ b/htdocs/webservices/server_productorservice.php
@@ -342,7 +342,7 @@ function createProductOrService($authentication,$product)
 
     if (! $error)
     {
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
 
         $newobject=new Product($db);
         $newobject->ref=$product['ref'];
diff --git a/htdocs/webservices/server_thirdparty.php b/htdocs/webservices/server_thirdparty.php
index 1755b6ae0c6..f23bee5f631 100755
--- a/htdocs/webservices/server_thirdparty.php
+++ b/htdocs/webservices/server_thirdparty.php
@@ -345,7 +345,7 @@ function createThirdParty($authentication,$thirdparty)
 
     if (! $error)
     {
-        include_once(DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php');
+        include_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
 
         $newobject=new Societe($db);
         $newobject->ref=$thirdparty['ref'];
-- 
GitLab