Michelangelo van Dam has published on his blog an article about the usage of PHP Lint, the build-in syntax checker of PHP. This article is the first of a series on Quality Assurance for PHP projects.

“PHP Lint is probably the easiest way to validate your code on syntax errors, but it’s also the most overlooked feature of PHP on command line.”

In this article Michelangelo explains the usage of PHP Lint (php -l) and how you can easily set it up to validate code before you send it to your revision control system. He also includes an example of the pre-commit hook for Git and Subversion.

Michelangelo van Dam

Michelangelo van Dam is a professional PHP consultant and Zend Framework expert working mainly for governments and larger enterprises. Michelangelo is also president of PHPBenelux, a PHP user group operating in Belgium, Netherlands and Luxembourg, and speaks at several PHP conferences around the world.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle Plus

One Thought on “Quality Assurance on PHP projects – PHPLint

  1. Pingback: in2it vof blog » Quality Assurance on PHP projects – PHPLint | Internet blog

Post Navigation