[core] CPD: no problems found results in blank file instead of empty xml
A source code analyzer
Brought to you by:
adangel,
juansotuyo
In case that CPD does not find any problems, a blank file (filesize 0) is created instead of an empty xml file with the following content:
<?xml version="1.0" encoding="UTF-8"?> <pmd-cpd> </pmd-cpd>
This will be fixed with PMD 5.3.8, 5.4.2 and 5.5.0 and later.
Commit: https://github.com/pmd/pmd/commit/13f7675b67401ade55f7be87741c8173632e5c04