Skip to content

Cover namespace constant edge cases#32

Merged
jbuncle merged 1 commit intomasterfrom
feature/namespace-constant-edge-cases
Apr 1, 2026
Merged

Cover namespace constant edge cases#32
jbuncle merged 1 commit intomasterfrom
feature/namespace-constant-edge-cases

Conversation

@jbuncle
Copy link
Copy Markdown
Owner

@jbuncle jbuncle commented Apr 1, 2026

Summary

  • characterize richer namespace constant value cases including imported class constant fetches, imported constants, arrays, and magic constants
  • add diff coverage for imported alias target changes inside namespace constants
  • tighten the PHP 7 namespace-constant surface without broadening implementation scope

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.92% (910/990)

@jbuncle jbuncle merged commit f3212ee 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