fix phpstan

This commit is contained in:
Frédéric France 2024-12-14 21:07:07 +01:00
parent a1ef08158d
commit 0325ee6d6d
No known key found for this signature in database
GPG Key ID: CE25B0B7B53B9177
3 changed files with 2 additions and 12 deletions

View File

@ -1176,18 +1176,6 @@ parameters:
count: 2
path: ../../htdocs/admin/agenda.php
-
message: '#^Variable \$label might not be defined\.$#'
identifier: variable.undefined
count: 2
path: ../../htdocs/admin/agenda_other.php
-
message: '#^Variable \$label might not be defined\.$#'
identifier: variable.undefined
count: 2
path: ../../htdocs/admin/agenda_reminder.php
-
message: '#^Variable \$errorsaved in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable

View File

@ -53,6 +53,7 @@ $langs->loadLangs(array('admin', 'other', 'agenda', 'users'));
$action = GETPOST('action', 'aZ09');
$value = GETPOST('value', 'alpha');
$label = GETPOST('label', 'alpha');
$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php
$param = GETPOST('param', 'alpha');

View File

@ -48,6 +48,7 @@ $langs->loadLangs(array("admin", "other", "agenda"));
$action = GETPOST('action', 'aZ09');
$value = GETPOST('value', 'alpha');
$label = GETPOST('label', 'alpha');
$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php
$param = GETPOST('param', 'alpha');