Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: phpDocumentor/Reflection
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7.x
Choose a base ref
...
head repository: phpDocumentor/Reflection
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6.x
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Apr 12, 2026

  1. Configuration menu
    Copy the full SHA
    60b6499 View commit details
    Browse the repository at this point in the history
  2. Include file path and line number in parse error messages

    When NodesFactory encounters a PhpParser\Error, catch it and re-throw
    a phpDocumentor\Reflection\Exception that includes the source file path
    and line number. This gives consumers actionable error context instead
    of raw php-parser internals.
    
    The create() method now accepts an optional $filePath parameter, and
    Factory\File passes the source path automatically.
    lacatoire authored and jaapio committed Apr 12, 2026
    Configuration menu
    Copy the full SHA
    c8d3644 View commit details
    Browse the repository at this point in the history
Loading