Skip to content

Resolve imported class constant fetches#30

Merged
jbuncle merged 1 commit intomasterfrom
feature/class-const-fetch-resolution
Apr 1, 2026
Merged

Resolve imported class constant fetches#30
jbuncle merged 1 commit intomasterfrom
feature/class-const-fetch-resolution

Conversation

@jbuncle
Copy link
Copy Markdown
Owner

@jbuncle jbuncle commented Apr 1, 2026

Summary

  • resolve imported class aliases in class constant fetch values for class constants and namespace constants
  • keep self, parent, and already-fully-qualified class constant fetches intact while resolving imported aliases semantically
  • add characterization coverage showing alias-target changes affect semantic version diffing

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.72% (908/990)

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