Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add namespaced classes for the PHP Parser #211

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

keesiemeijer
Copy link
Contributor

In e482b28 the phpdocumentor/reflection requirement was updated to version 3. This change also updated the nikic/php-parser requirement (from phpdocumentor/reflection) to version 1.

In that version of the PHP Parser all classes changed by using namespaced names with the PhpParser vendor prefix.

The old non namespaced classes are still supported, but are not recommended. They are pointed to the name spaced versions with a class alias.

This PR updates all uses of PHP Parser classes to their namespaced versions.

@kkmuffme
Copy link

kkmuffme commented Feb 6, 2023

It's currently already at v5 already

@iandunn are you able to merge PRs/create releases? If yes, could @keesiemeijer perhaps update this PR for reflector v5 and we finally release an update with updated dependencies.

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.

2 participants