facebookarchive / pfff

Tools for code analysis, visualizations, or style-preserving source transformation.

Home Page:http://github.com/facebook/pfff/wiki/Main

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support PSR conventions when prettifying PHP code

nox opened this issue · comments

If pfff aims to be a tool useful outside Facebook, it should support the main community conventions, which are PSR.

How do I do that? Can you give me an example of a small action that will lead pfff towards better support for PSR?

At the very least, opening braces for definitions should be on their own new line for it to support PSR. I will report other discrepancies as I stumble upon them.

Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.