Skip to content

phpunit configuration gives warnings #11546

@lekoala

Description

@lekoala

Module version(s) affected

5

Description

Running tests currently give warnings

Line 14:

  • Element 'exclude': Element content is not allowed, because the type definition is simple.

Line 25:

  • Element 'filter': This element is not expected.

I'm not sure there is a good reason to use the old syntax. Exclude is not allowed, so each directory needs to be added. Filter needs to be removed by coverage

How to reproduce

Run tests, see warnings

Possible Solution

No response

Additional Context

No response

Validations

  • Check that there isn't already an issue that reports the same bug
  • Double check that your reproduction steps work in a fresh installation of silverstripe/installer (with any code examples you've provided)

PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions