Fix phpcs
This commit is contained in:
parent
64b1a31e45
commit
5905d3be64
@ -763,7 +763,7 @@ class FormOther
|
||||
},
|
||||
function(color, context) { console.log("close"); },
|
||||
function(color, context) { var hex = color.val(\'hex\'); console.log("new color selected in jpicker "+hex);';
|
||||
if ($setpropertyonselect) { $out .= ' if (hex != null) document.documentElement.style.setProperty(\'--'.$setpropertyonselect.'\', \'#\'+hex);'; }
|
||||
if ($setpropertyonselect) { $out .= ' if (hex != null) document.documentElement.style.setProperty(\'--'.$setpropertyonselect.'\', \'#\'+hex);'; }
|
||||
$out .= '},
|
||||
function(color, context) { console.log("cancel"); }
|
||||
);
|
||||
|
||||
@ -5653,8 +5653,9 @@ function dol_string_nohtmltag($stringtoclean, $removelinefeed = 1, $pagecodeto =
|
||||
* Clean a string to keep only desirable HTML tags.
|
||||
*
|
||||
* @param string $stringtoclean String to clean
|
||||
* @param boolean $cleanalsosomestyles Remove absolute/fixed positioning from inline styles
|
||||
* @param boolean $removeclassattribute Remove the class attribute from tags
|
||||
* @param int $cleanalsosomestyles Remove absolute/fixed positioning from inline styles
|
||||
* @param int $removeclassattribute Remove the class attribute from tags
|
||||
* @param int $cleanalsojavascript Remove also occurence of (javascript:'
|
||||
* @return string String cleaned
|
||||
*
|
||||
* @see dol_escape_htmltag() strip_tags() dol_string_nohtmltag() dol_string_neverthesehtmltags()
|
||||
|
||||
@ -428,6 +428,7 @@ class PaymentLoan extends CommonObject
|
||||
return $this->LibStatut($this->statut, $mode);
|
||||
}
|
||||
|
||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
||||
/**
|
||||
* Renvoi le libelle d'un statut donne
|
||||
*
|
||||
@ -437,7 +438,7 @@ class PaymentLoan extends CommonObject
|
||||
*/
|
||||
public function LibStatut($status, $mode = 0)
|
||||
{
|
||||
//
|
||||
// phpcs:enable
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user