--migrate-configuration
does not remove beStrictAboutTodoAnnotatedTests
attribute from XML configuration file
#6087
Labels
feature/configuration/xml
feature/test-runner
CLI test runner
type/bug
Something is broken
version/10
Something affects PHPUnit 10
version/11
Something affects PHPUnit 11
Summary
Given following
phpunit.xml
:And running
vendor/bin/phpunit -c phpunit.xml
, I get:But when I run the migration via
vendor/bin/phpunit -c phpunit.xml --migrate-configuration
, the error persists and config is still invalid:So I used some XSD validator to determine that the
beStrictAboutTodoAnnotatedTests
must not be present (the real config XML was huge).Current behavior
As above
How to reproduce
As above
Expected behavior
--migrate-configuration
should fix XSD issues. Any decent XSD validator gives me better insight what is wrong, but PHPUnit just guides me to autofix which does not work.The text was updated successfully, but these errors were encountered: