diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 547410f41ca..cc32224ff2b 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -8421,10 +8421,10 @@ function setEventMessage($mesgs, $style = 'mesgs') * Set event messages in dol_events session object. Will be output by calling dol_htmloutput_events. * Note: Calling dol_htmloutput_events is done into pages by standard llxFooter() function. * - * @param string $mesg Message string - * @param array $mesgs Message array - * @param string $style Which style to use ('mesgs' by default, 'warnings', 'errors') - * @param string $messagekey A key to be used to allow the feature "Never show this message again" + * @param string $mesg Message string + * @param array|null $mesgs Message array + * @param string $style Which style to use ('mesgs' by default, 'warnings', 'errors') + * @param string $messagekey A key to be used to allow the feature "Never show this message again" * @return void * @see dol_htmloutput_events() */ diff --git a/qodana.yaml b/qodana.yaml index 65070733359..a241f233570 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -15,4 +15,10 @@ exclude: - htdocs/custom - htdocs/includes - htdocs/install/doctemplates - + - name: PhpIssetCanBeReplacedWithCoalesceInspection + - name: PhpRedundantOptionalArgumentInspection + - name: PhpLanguageLevelInspection + - name: PhpIncludeInspection + - name: HtmlWrongAttributeValue + - name: PhpUndefinedClassConstantInspection + - name: RegExpRedundantEscape