forked from Wavyzz/dolibarr
Enhance qodana rules
This commit is contained in:
@@ -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.
|
* 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.
|
* Note: Calling dol_htmloutput_events is done into pages by standard llxFooter() function.
|
||||||
*
|
*
|
||||||
* @param string $mesg Message string
|
* @param string $mesg Message string
|
||||||
* @param array $mesgs Message array
|
* @param array|null $mesgs Message array
|
||||||
* @param string $style Which style to use ('mesgs' by default, 'warnings', 'errors')
|
* @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 $messagekey A key to be used to allow the feature "Never show this message again"
|
||||||
* @return void
|
* @return void
|
||||||
* @see dol_htmloutput_events()
|
* @see dol_htmloutput_events()
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -15,4 +15,10 @@ exclude:
|
|||||||
- htdocs/custom
|
- htdocs/custom
|
||||||
- htdocs/includes
|
- htdocs/includes
|
||||||
- htdocs/install/doctemplates
|
- htdocs/install/doctemplates
|
||||||
|
- name: PhpIssetCanBeReplacedWithCoalesceInspection
|
||||||
|
- name: PhpRedundantOptionalArgumentInspection
|
||||||
|
- name: PhpLanguageLevelInspection
|
||||||
|
- name: PhpIncludeInspection
|
||||||
|
- name: HtmlWrongAttributeValue
|
||||||
|
- name: PhpUndefinedClassConstantInspection
|
||||||
|
- name: RegExpRedundantEscape
|
||||||
|
|||||||
Reference in New Issue
Block a user