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.

1 Comment

in2it vof blog » Quality Assurance on PHP projects – PHPLint | Internet blog · 15/07/2011 at 09:59

[…] post: in2it vof blog » Quality Assurance on PHP projects – PHPLint Bookmark to: This entry was posted in Uncategorized and tagged article, Build, php, quality, […]

Comments are closed.

Related Posts

Buzz

PHPBenelux Conference 2017

Now the buzz of PHPBenelux Conference 2017 is wearing out, it’s time to note down my experiences at this amazing event. This community driven conference has grown into an iconic event that balances knowledge, sharing, Read more…

Announcements

PHPBenelux Conference 2017 Scholarship

In2it offers tickets to two students to attend PHPBenelux Conference 2017 and is taking a first step in making technical conferences more accessible to students. Related

Buzz

Sad day for Belgium and Europe

Today is a sad day for Belgium and for Europe with the explosions at Brussels Airport.

%d bloggers like this: