This pull request adds the XML report type and the -i (to show the list of installed coding standards) to mimic these features provided by phpcs. This is useful for users who want to use phpcs-changed with an IDE like PHPStorm which requires use of the XML report type.
In order to test the XML report, specify the option --report=xml when using phpcs-changed. Ex:
This pull request adds the XML report type and the
-i
(to show the list of installed coding standards) to mimic these features provided byphpcs
. This is useful for users who want to usephpcs-changed
with an IDE like PHPStorm which requires use of the XML report type.In order to test the XML report, specify the option
--report=xml
when usingphpcs-changed
. Ex:To view the installed coding standards:
This PR also includes unit tests for the new
XmlReporter
class.