e107_handlers/date_handler.php
Avoid too many return
statements within this method. Open
Open
return gmmktime($timeVals[1], $timeVals[2], $timeVals[3], $month, $day, $year);
Argument #2 of this call to \str_pad
is typically a literal or constant but isn't, but argument #1 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order. Open
Open
echo ($mode =='list') ? "Unknown format : '{$format}' ". str_pad(' ', $maxValueLength). ($description ? " ( {$description} )" : ''). "<br />" : "";
- Exclude checks
Argument 1 (datestamp)
is string
but \e_date::convert_date()
takes int
defined at /code/e107_handlers/date_handler.php:145
Open
Open
return is_numeric($string) ? $this->convert_date($string, $mask) : $this->toTime($string, $mask);
- Exclude checks