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

Reply via email to