Skip to content

Instantly share code, notes, and snippets.

@macghriogair
macghriogair / patch-phpunit-report.py
Last active July 22, 2020 18:41
[patch PHPUnit XML report for sonarqube] #phpunit #sonarqube
#!/usr/bin/env python
# coding: utf-8
import sys
import xml.etree.ElementTree as ET
report_file_path = 'project/tests/_output/report.xml'
if (len(sys.argv) > 1):