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 senior PHP architect, PHP community leader and international conference speaker with many contributions to PHP projects and community events.

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