Skip to content

XML configuration is not validated against the schema #3048

@morozov

Description

@morozov
Q A
PHPUnit version 7.0.2
PHP version 7.1.14
Installation Method Composer

PHPUnit doesn't validate XML configuration against the schema. As a developer who periodically updates PHPUnit to the newest recommended version, I want to be notified if my schema is no longer compatible with PHPUnit (e.g. contains unsupported elements or attributes).

For instance, after beStrictAboutTestSize was renamed to enforceTimeLimit it's just ignored and therefore not taken into account anymore. Having it validated would help keep the configuration up to date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementA new idea that should be implemented

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions