Closed KonstantinKuklin closed 8 years ago
@KonstantinKuklin since PHP-Parallel-Lint uses php -l
to validate source code you should execute lint check in exactly the same environment that is used to run your php application to receive relevant result .
You must have installed PHP 5.3 version on your computer and give path to this executable in '-p' argument.
On my computer, I have installed PHP 5.3 as 'php53', so if I need test code against PHP 5.3, I just run './parallel-lint -p php53 .'
Hi, thx for the interesting tool, but I have a project running on php 5.3, how I can check php syntax with rules for 5.3 version, I mean if somebody by chance commit code with "trait", "yield" must be an a errors, but if I set version 5.5 - must be ok. How I can configure such cases?