I am currently using PHP_Beautifier to format the code with the following command, e.g. with parameters
-t -l "ArrayNested() IndentStyles(style=bsd) NewLines(before=T_CLASS:function:T_COMMENT,after=T_COMMENT)"
It works fine except that it deletes all empty lines. After a short search, I found it in the form of a bug , which has been open since 2007.
I tried to learn codebase but could not find the specific code that does this. I appreciate any help I can get in the right direction.
source
share