Skip to content

Cover trait use edge cases#31

Merged
jbuncle merged 1 commit intomasterfrom
feature/trait-use-edge-cases
Apr 1, 2026
Merged

Cover trait use edge cases#31
jbuncle merged 1 commit intomasterfrom
feature/trait-use-edge-cases

Conversation

@jbuncle
Copy link
Copy Markdown
Owner

@jbuncle jbuncle commented Apr 1, 2026

Summary

  • characterize unqualified trait aliases like boot as private so they stay part of the semantic surface
  • characterize trait precedence rules with multiple insteadof targets
  • add diff coverage for trait alias visibility changes

Validation

  • udocker run -v /data/data/com.termux/files/home/projects/jbuncle/php-autosemver:/app -w /app composer2 sh -lc "find src bin tests -type f -name '*.php' -print0 | xargs -0 -n1 php -l && COVERAGE_MIN=90 COVERAGE_JSON=/tmp/coverage.json COVERAGE_SUMMARY=/tmp/coverage-summary.md phpdbg -qrr tests/coverage.php"
  • coverage: 91.82% (909/990)

@jbuncle jbuncle merged commit b1233e7 into master Apr 1, 2026
1 check 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.

1 participant