I'm currently setting up Sonar with our PHP projects, using Ant.
Setup is somewhat classical. "sonar.sources" property is set (/data/www/app/mobile/).
Launching "ant sonar" starts correctly :
- pdepend... OK
- phpcs... OK
- phpunit : KO
command line for phpunit is :
phpunit --log-junit=/data/.sonar/target/logs/phpunit.xml --coverage-clover=/data/.sonar/target/logs/phpunit.coverage.xml
Working directory seems to be missing in the command line
I don't know if it is really a bug or a misconfiguration/misanderstanding but I can't find why it's happening
I'm using latest versions of Sonar/PHP Plugin, with designated versions of others tools like phpunit, phpmd... (as told in the installation manual)
Any advice ?
Thanks in advance and sorry for my english :/