I am having problems with phpdoc working properly. Documents are mostly generated successfully, but I get the following warning many times:
Warning: date (): it is unsafe to rely on the system’s time zone Settings. You must use the date.timezone or date_default_timezone_set() settings . If you used any of these methods and you still get this warning, you are most likely mistaken for the time zone identifier. We chose ' America/Los_Angeles' for 'PST / -8.0 / no DST' instead of /Users/ben/bin/PhpDocumentor/phpDocumentor/Converter.inc on line 5064
and
Warning: strftime (): It is unsafe to rely on the system’s Settings time zone. You must use the date.timezone or date_default_timezone_set() settings . If you used any of these methods and you still get this warning, you are most likely mistaken for the time zone identifier. We chose ' America/Los_Angeles' for 'PST / -8.0 / no DST' instead of PhpDocumentor / PhpDocumentor / Smarty-2.6.0 / LIES / Smarty_Compiler.class.php on line 370
A Smarty warning, which I can easily remove from the code, as it just generates a time stamp at the top of the template in the rendered document. No, biggie. The first error in phpDocumentor, which I'm not sure about. It seems to just assign a Smarty date to the template:
$templ->assign("date",date("r",time()));
Perhaps I could just delete all the "date" variables in the Smarty templates and this line.
, . , ? 1.4.3, /:
#!/usr/bin/env bash
phpdoc \
--title 'Asra Documentation' \
--directory library/Asra \
--target docs \
--defaultcategoryname Asra \
--defaultpackagename Asra \
--quiet on \
--output HTML:frames:phpedit