Enhance qodana rules

This commit is contained in:
Laurent Destailleur 2022-12-28 03:27:20 +01:00
parent 547dee7b41
commit 5997b916d8
2 changed files with 11 additions and 5 deletions

View File

@ -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()
*/

View File

@ -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