News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Michelangelo van Dam's Blog:
Quality Assurance on PHP projects - PHP_CodeSniffer
July 18, 2011 @ 09:06:48

Michelangelo van Dam has posted the next part in his "QA in PHP development" series to his blog, a look at PHP_CodeSniffer, a tool that can be used to keep the coding standards of your application in line.

PHP_CodeSniffer is probably the most convenient tool out there to analyze your source code and to verify it complies to company policies. Although it's debatable why source code should follow strict guidelines, it's only a matter of time before you discover yourself that it pays off to have a code base that appears to be written by one developer.

He talks about how it works to keep every brace in the right place and format the same through out all of your files. He also mentions that its standards are flexible and can be modified as you might see fit. He looks at the installation process (both manual and through the PEAR installer) and how to use it to analyze your codebase. He's even included a short screencast in the post so you can see the results first-hand.

0 comments voice your opinion now!
quality assurance project code phpcodesniffer standards tutorial


blog comments powered by Disqus

Similar Posts

DevShed: Working with the Tidy Library in PHP 5

SitePoint PHP Blog: Creating a Subscription-Based Website with Laravel and Recurly, Part 1

Jakub Zalas' Blog: Managing object creation in PHP with the Symfony2 Dependency Injection component

Mike Willbanks' Blog: RPM Packaging - Building and Deploying your own PHP

Chris Jones' Blog: Oracle 11g Result Caching and PHP OCI8


Community Events





Don't see your event here?
Let us know!


interview deployment community install introduction laravel language framework voicesoftheelephpant bugfix library symfony podcast zendserver package series unittest release opinion api

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework