> -----Original Message-----
> From: ken.gu...@gmail.com [mailto:ken.gu...@gmail.com] On 
> Behalf Of Ken Guest
> Sent: Monday, January 31, 2011 3:26 PM
> To: Hansen, Mike
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Code formatter
> 
> 
> 
> On Mon, Jan 31, 2011 at 8:27 PM, Hansen, Mike 
> <mike.han...@atmel.com> wrote:
> 
> 
>       I've got an application that I'm fixing up and I'd like 
> to run it through a code formatter. Is there something like 
> Perl Tidy for PHP? If so, what are you experiences with it. 
> No prob running it on the command line. It'd be great if it 
> followed the PEAR coding standards.
>       
>       
> 
> 
> Have you found http://pear.php.net/package/PHP_Beautifier  
> yet? ;) <http://www.php.net/unsub.php> 
> 
> 
> Ken
> 

It mostly works ok. Unfortunately, there's a bug in it that removes blank 
lines. 

I found this one that seems to work: http://beta.phpformatter.com/

I'd rather have one I can run on the command line, but this will have to do.

Mike

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to