phpcq/plugin-api

XmlReportAppenderTrait could swallow valuable output

discordier opened this issue · 0 comments

In


We ignore the whole tool output.

This could hide valuable input why the tool is failing.

In my case, I setup phpcq in a new project but forgot the psalm.xml and therefore psalm failed with:

Could not locate a config XML file in path /home/xtra/development/aptana/afm-werbestudio/mb-gtc-gmbh/image-downloader/. 
Have you run 'psalm --init' ?

This was entirely swallowed by our trait.
Maybe we should keep the tool output as log file and append it to the report, at least for failed runs.