Fix CI code style checks

Not my fault but I am disciplined so, if the CI says it is an error ... I just fix it to get green again ;)
This commit is contained in:
Jean Traullé 2019-08-13 17:06:46 +02:00 committed by GitHub
parent b90815b972
commit e3bca063a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@
* @return boolean True if OK * @return boolean True if OK
* @see dolWebsiteOutput() for function used to replace content in a web server context * @see dolWebsiteOutput() for function used to replace content in a web server context
*/ */
function dolWebsiteReplacementOfLinks($website, $content, $removephppart = 0, $contenttype='html') function dolWebsiteReplacementOfLinks($website, $content, $removephppart = 0, $contenttype = 'html')
{ {
$nbrep = 0; $nbrep = 0;
@ -187,7 +187,7 @@ function dolKeepOnlyPhpCode($str)
* @return void * @return void
* @see dolWebsiteReplacementOfLinks() for function used to replace content in the backoffice context when USEDOLIBARREDITOR is not on * @see dolWebsiteReplacementOfLinks() for function used to replace content in the backoffice context when USEDOLIBARREDITOR is not on
*/ */
function dolWebsiteOutput($content, $contenttype='html', $containerid='') function dolWebsiteOutput($content, $contenttype = 'html', $containerid = '')
{ {
global $db, $langs, $conf, $user; global $db, $langs, $conf, $user;
global $dolibarr_main_url_root, $dolibarr_main_data_root; global $dolibarr_main_url_root, $dolibarr_main_data_root;