Skip to content

#43 - Remove the deprecated "depends" executionOrder from phpunit.xml.dist - #44

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

njoubert-cleverage merged 1 commit into
mainfrom
43

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fix #43: 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 (35 tests, 87 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 c112785 into main Oct 12, 2026
17 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