#103711formatLogDetailsStatic can throw ValueError/ ArgumentCountError
Description
The following code can throw an ValueError/ ArgumentCountError if
if (str_contains($detailString, '%')) {
$detailString = vsprintf($detailString, $substitutes);
} elseif ($substitutes !== []) {
..
$substitutes is empty or number of arguments in the $substitutes doesn’t match
the number of %s’s