PHPStan level 9 (apstats config) reports at line 544:
"Variable $maxlength might not be defined."
$maxlength was never defined in this standalone page and was passed as
the 4th argument (max label length) of FormProjets::select_projects().
An undefined variable evaluates to null, and dol_trunc() returns the
string unchanged when its size argument is empty (null or 0). Passing 0
explicitly keeps the exact same behaviour (no truncation) and removes
the undefined-variable warning.
Co-authored-by: Muvikx <kilyan.cotten@epitech.eu>