Skip to content

Migration from <coverage> to <source> does not work #5324

@sebastianbergmann

Description

@sebastianbergmann

Hi, I'm currently on 07c279b and my suite is warning me with:

There was 1 PHPUnit test runner warning: 1) Test results may not be as expected because the XML configuration file did not pass validation: Line 14: - Element 'include': This element is not expected. 

But I can't find the proper way to adapt the XML to the new required XSD.
The migration tool doesn't seem to be helpful either:

$ vendor/bin/phpunit --migrate-configuration PHPUnit 10.1-dev by Sebastian Bergmann and contributors. Created backup: ./phpunit.xml.bak Migration failed: "./phpunit.xml" is not a valid PHPUnit XML configuration file that can be migrated 

Could be the changelog for 10.1 updated with some more details please?

Originally posted by @Slamdunk in #5294 (comment)

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions