Offline Inspections as html in commandline

Hello

Is ther a way to get the results of the offline inspections as html (also offline)?

I followed this instructions to run the inspections offline: https://www.jetbrains.com/help/phpstorm/2016.2/running-inspections-offline.html as a result I get xml.

If I run it in PhpStorm I have the Option to export it to HTML:
Inspection Result Window -> Export To -> HTML

Detail
My goal is to setup teamcity to run the php inspections and display the results in teamcity, the "Inspections (IntelliJ IDEA)" so far have ignored everything php so I want to use the offline inspections of phpStorm directly.

Thanks a lot for any sugesstions

 

0
5 comments

So, have you succeed in running the inspections via Command Line?
I've tried this under Windows, seems to work.

0
Avatar
Permanently deleted user

The command line works for generating XML output, but I'm trying to get the HTML output to display it as a report in teamcity

0

Sorry for not getting you right. No, currently it's not possible, and I could find no related existing requests, so please feel free to submit it as a new one:
https://youtrack.jetbrains.com/newIssue?project=IDEA&clearDraft=true&c=Type+Feature

0
Avatar
Permanently deleted user

Thank you, I created a request IDEA-163763 for this.

In the meantime I was able to convert the xml files to a html output using xsl and saxon.

0

Please sign in to leave a comment.