Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

General questions

I have projects that do not use the required version of phpunit or pdepend or phpcd or whatelse, what can I do?

If you are able to have several versions of code analysis tool on the same machine, just be sure that the correct one will be used by maven when launching mvn sonar:sonar.
You also have to ensure that the output file log is compatible with the one specified by the version of the tool you want to use.

Analysis failures

When analyzing large PHP project php hangs or end with a unsual return code

Php executable may have reached its maximum allocated memory. Increase the memory_limit value in your php.ini file. For example the file is located in /etc/php5/cli/php.ini on Ubuntu.

When analyzing large PHP project maven hangs with a Java heap space message

Increase the maximum heap memory allocated for maven by setting the environnement variable MAVEN_OPTS

When analyzing large PHP project phpdepend hangs with an error code 255 and message saying "Maximum function nesting level of ‘100′ reached"

Increase the maximum number of nested level of xdebug by editing your php.ini files and setting a value greater than 100 (which is default)

Labels
  • None