ant - Passing Multiple files on PHP.exe -


i working on project using apache ant using php.exe validate php syntax in php file.

i validating php file using command below

php -l index-1.php 

and it’s working fine, showing me error when there php syntax error problem php.exe not supporting multiple files, accept 1 file

i need pass multiple files. have solutions problem?

the short answer php doesn't allow supply multiple source codes in 1 invocation.

reading between lines little, looking @ previous question, seems want single report showing lint messages php files.

the <apply> task output attribute can used specify output file command, default, if command run multiple times see output last run. if add append="true" apply task, output runs gathered output file. if set parallel="false" ant run each php file through lint separately.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -