From b5868acf18f73ac3516acafa08293001be2a9ee8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 19 Apr 2021 15:30:30 +0200 Subject: [PATCH] Fix phpcs --- htdocs/salaries/card.php | 6 ++++-- htdocs/website/index.php | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/salaries/card.php b/htdocs/salaries/card.php index 5b6134d192d..8e2188123db 100755 --- a/htdocs/salaries/card.php +++ b/htdocs/salaries/card.php @@ -525,10 +525,12 @@ if ($action == 'create') { } // Bouton Save payment -/* print ''; + /* + print ''; print $langs->trans("ClosePaidSalaryAutomatically"); print ''; -*/ + */ + // Other attributes $parameters = array(); $reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook diff --git a/htdocs/website/index.php b/htdocs/website/index.php index f992a4ba0d0..547f6ac217a 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -2256,7 +2256,7 @@ if ($action == 'generatesitemaps' && $usercanedit) { $domtree = new DOMDocument('1.0', 'UTF-8'); $root = $domtree->createElementNS('http://www.sitemaps.org/schemas/sitemap/0.9', 'urlset'); - $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:xhtml', 'http://www.w3.org/1999/xhtml'); + $root->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:xhtml', 'http://www.w3.org/1999/xhtml'); $domtree->formatOutput = true;