Are there any free cmd-line scripts which can re-format PHP source-code?

Posted by digitala on Stack Overflow See other posts from Stack Overflow or by digitala
Published on 2009-04-24T10:15:30Z Indexed on 2010/04/04 8:53 UTC
Read the original article Hit count: 299

Filed under:
|
|
|

I'm using a pre-commit hook to lint-check PHP source submitted by our staff, and everyone's really happy with the results. The staff have agreed it would be useful to have the code re-formatted to follow (customizable) style rules on commit. Are there any FOSS scripts which can do this from the command-line?

© Stack Overflow or respective owner

Related posts about php

Related posts about svn