$errormsg is initialized to '' just above and nothing sets it before these checks in the mysql branch, so PHPStan correctly flags both negated conditions as always true (booleanNot.alwaysTrue). Unlike the postgresql branch below, this is the first $what branch evaluated, so there is no earlier code path that could have set $errormsg yet. Co-authored-by: Laurent Destailleur <eldy@destailleur.fr> |
||
|---|---|---|
| .. | ||
| ui | ||
| dolibarr_export.php | ||
| dolibarr_import.php | ||
| export.php | ||
| export_files.php | ||
| index.php | ||
| listevents.php | ||
| listsessions.php | ||
| purge.php | ||
| update.php | ||