You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, wonderfull library, but after several hours, i realize that i cant use it.
I would like to use this library to scaffolding my code. With help of AutoIt I want to replace the whole code in text window with scaffolded dependency injection of use statements etc.
But the problem is, that it is not possible to preserve the new lines and whitespaces in the body of methods, is it true? Am I right?
As i searched in code, it seems that builder knows that originally the row was on line 31 and next row was on line 33, so there should be new line string.
Activity
gossi commentedon Apr 24, 2019
For my understanding:
Is that the problem you are describing? Can you provide your code generator config?
romanmatena commentedon Apr 24, 2019
Yes exactly!
this is the most simple sample of my use case, the return is as i desribed in previous post
gossi commentedon Apr 25, 2019
Ok, thanks. Could be a bug. Isn't even covered by tests, I'll try to tackle it on the weekend.
Update PrettyPrinter.php
romanmatena commentedon Apr 25, 2019
Maybe my pull request is not the best solution, maybe you could inject different PHP PrettyPrinter?
gossi commentedon May 30, 2019
I merged your PR - thanks for that, it's on master. I'll keep this open, since tests for this are missing.