RE: Code formatter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> -----Original Message-----
> From: ken.guest@xxxxxxxxx [mailto:ken.guest@xxxxxxxxx] On 
> Behalf Of Ken Guest
> Sent: Monday, January 31, 2011 3:26 PM
> To: Hansen, Mike
> Cc: php-general@xxxxxxxxxxxxx
> Subject: Re:  Code formatter
> 
> 
> 
> On Mon, Jan 31, 2011 at 8:27 PM, Hansen, Mike 
> <Mike.Hansen@xxxxxxxxx> 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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux