Update phpunit.xml.dist schema used

Created on 4 June 2025, 7 days ago

Problem/Motivation

The schema used in phpunit.xml.dist is deprecated.
We can update this now that we don't support Drupal 9.

See #3222004: phpunit.xml is using a deprecated schema

Furthermore, cspell in CI is now objecting to the word whitelist in this file, which is part of the deprecated schema. Fixing the schema would remove the cspell objection.

Steps to reproduce

Look at the PHPUnit tests in any recent gitlab pipeline for the following output:

PHPUnit 9.6.23 by Sebastian Bergmann and contributors.
Warning:       No code coverage driver available
Warning:       Your XML configuration validates against a deprecated schema.
Suggestion:    Migrate your XML configuration using "--migrate-configuration"!

Also observe cpsell failures in CI pipelines.

Proposed resolution

Fix schema

Remaining tasks

All the things.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom Eli-T Manchester

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024