Reply to Re: Tool for cleaning up PHP code - HTML Tidy like

Your name:

Reply:


Posted by Colin McKinnon on 04/25/07 22:06

xio wrote:

>
> I have a bunch of files with PHP code. These files were written by
> multiple developers with different coding styles and is just so
> painful to read them.
>
> Could you recommend any tool I could use to clean up PHP code -
> something like "HTML Tidy for PHP"
>

vim does a pretty good job of sorting out whitespace layout but can't help
with deprecated syntax, bad naming, comment density etc.

There is a PHP style checker (apart from PHPlint which is all about
enforcing strict typing) in the PEAR repository called php_codesniffer.

HTH

C.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация