Skip to content

#40 - Remove the deprecated "depends" executionOrder from phpunit.xml.dist - #41

Merged
njoubert-cleverage merged 1 commit into
mainfrom
40
Oct 12, 2026
Merged

njoubert-cleverage merged 1 commit into
mainfrom
40

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fix #40: executionOrder="depends,defects" → executionOrder="defects" in phpunit.xml.dist.

The depends value is deprecated in PHPUnit 13.4 (removed in PHPUnit 14) and makes the configuration validate only against a deprecated schema, hence the 2 PHPUnit test runner deprecations. Dependency resolution stays enabled: resolveDependencies defaults to true and exists in every supported PHPUnit version (^10.5|^11|^12|^13).

Result with PHPUnit 13.4.1: OK (78 tests, 231 assertions), no more deprecations.

Same fix as cleverage/process-bundle#264.

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

None: test configuration only.

…phpunit.xml.dist (PHPUnit 13.4 deprecations), resolveDependencies defaults to true
@njoubert-cleverage
njoubert-cleverage merged commit d16adc2 into main Oct 12, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PHPUnit 13.4 deprecations: executionOrder "depends" in phpunit.xml.dist

1 participant