Closed knallcharge closed 4 months ago
This is caused by a9b92ee2c2f3053589d80d8b3d7bd797af8a255e, which removed a leftover of #4600 from the XML configuration file schema. The <coverage>
element has a cacheDirectory
attribute, this is what makes the configuration file invalid.
I can confirm that this is an issue in the XML configuration file migrator. It will eventually be fixed, I am sure, but in the meantime I suggest that you manually migrate your XML configuration file. The cacheDirectory
attribute of the <coverage>
element does not have any effect since PHPUnit 11.0.0.
Great, thanks for the quick reply! I can confirm that the message goes away when removing cacheDirectory
from <coverage>
.
Summary
After updating from PHPUnit 11.1 to 11.2 I get the error "Your XML configuration validates against a deprecated schema. Migrate your XML configuration using "--migrate-configuration"!"
Using "--migrate-configuration" will change nothing in my phpunit.xml.dist (except some whitespace) and will not resolve the issue, the error stays.
Current behavior
I can't get rid of the message "Your XML configuration validates against a deprecated schema.".
How to reproduce
Use this phpunit.xml.dist and run PHPUnit:
This is the output of "composer info":
Expected behavior
"--migrate-configuration" should change the configuration to something it considers valid.