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
Post a Comment