First batch of changes committed to the trunk.
Introduced sonar.phpDepend.reportType option to control which parser to run. Default value phpunit-xml preserves original functionality.
summary-xml which is not implemented yet will throw an exception as of now.
Implemented PhpDependParserSelector which is responsible for deciding which parser to use.
Transformed PhpDependResultsParser into an abstract class, and created 2 parsers extending it:
- PhpDependPhpUnitReportParser (preserving existing functionality)
- PhpDependSummaryReportParser (a stub at the moment to be extended into a fully functional parser)
- implement summary-xml parsing
- split phpdepend.xml into 2 packages - phpunitxml and summaryxml (this way it will be much easier to completely remove obsolete parser later on)
- leave summary-xml parser as a new feature, deprecating phpunit-xml parsing in 1.1 version
- wait for feedback, and plan for removal of phpunit-xml in 1.2 version superseding it with summary-xml