Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate phpunit configuration to new format #32306

Merged
merged 1 commit into from
May 16, 2022

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented May 9, 2022

Fixes:

Warning:       Your XML configuration validates against a deprecated schema.
Suggestion:    Migrate your XML configuration using "--migrate-configuration"!

Signed-off-by: Côme Chilliet come.chilliet@nextcloud.com

Fixes:
Warning:       Your XML configuration validates against a deprecated schema.
Suggestion:    Migrate your XML configuration using "--migrate-configuration"!

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc self-assigned this May 9, 2022
@come-nc
Copy link
Contributor Author

come-nc commented May 9, 2022

Note that it does not work for /tests/phpunit-autotest-external.xml:

$ phpunit --migrate-configuration --configuration ./tests/phpunit-autotest-external.xml 
PHPUnit 9.5.10 by Sebastian Bergmann and contributors.

Created backup:         /home/mcmic/dev/nextcloud/server/tests/phpunit-autotest-external.xml.bak
Migration failed: whitelist element has unexpected children

@come-nc
Copy link
Contributor Author

come-nc commented May 9, 2022

CI failure unrelated

@come-nc come-nc requested review from a team, PVince81, blizzz and juliusknorr and removed request for a team May 9, 2022 10:38
@come-nc come-nc added the 3. to review Waiting for reviews label May 9, 2022
@come-nc come-nc added this to the Nextcloud 25 milestone May 9, 2022
@juliusknorr juliusknorr merged commit 07f17d0 into master May 16, 2022
@juliusknorr juliusknorr deleted the fix/migrate-phpunit-configuration branch May 16, 2022 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants