|Info||View files (2)||Download .zip||Reputation||Support forum||Blog|
|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2012-12-09 (1 year ago)||Not enough user ratings||Total: 413 This week: 1||All time: 5,754 This week: 1,459|
|syntax-check 1.0||MIT/X Consortium License||5||PHP 5, Testing|
It can traverse a given directory recursively to find files with the .php syntax.
The class can execute the PHP command line program version to check if the syntax of each of the PHP scripts that were found.
Prize: One downloadable e-book of choice by O'Reilly
|Sometimes it is necessary to make changes in PHP applications, eventually to fix bugs and other issues.
Ideally the changed code should go through a series of tests to make sure the changes do not break any aspect of the applications functionality.
However, sometimes there is not much time to go through extensive tests. Often the changes are too small to expect major functionality breaking.
Still it is prudent to make sure that you are not breaking your code due to small syntax mistakes.
In that case the changed code should go at least through minimal testing that assures that the syntax of the code is not broken.
The PHP command line version program supports a lint mode that can do basic syntax checking without executing the code.
This class acts as a wrapper to perform such test using this feature of the PHP command line version command.
|Version Control||Unique User Downloads||Download Rankings|
|This week:||1||This week:||1,459|