Can you file an issue in the issue tracker and document you use case? I
will address it before 1.9 drops.
Thanks!
-ralph
Nomolos Sharpe wrote:
Hi All,
I am using the Zend_CodeGenerator to (ofcourse) generate code, when the
class I am generating doesn't exist everything works as expected.
However when I do a Zend_CodeGenerator_Php_File::fromReflectedFileName()
and then add a new method, it appears that the whitespaces
(newlines+tabs) are being doubled up in the previously existing code,
but the new method goes in as expected. and any successive additions to
the said file results in doubling up on the whitespaces of the previous
code even more.
Is there anything special that needs to be done to preserve the
formatting of the original code?
Regards,
Nomolos