-
Notifications
You must be signed in to change notification settings - Fork 17
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 support for phpstan/phpdoc-parser 2 #205
Conversation
Is it not possible to have something compatible like Symfony did with TypeInfo with symfony/symfony#58804 ? |
It's definitely possible, I just did quick fix, this issue probably gonna show up then someone does |
cc5d4ac
to
f3b7f44
Compare
@Korbeil I changed PR to add support to v2 instead of locking to v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks perfect, thanks for the update! I'll try to get a look today to do a release!
hi @Korbeil , please do a release when you have time |
To clarify, I have a Laravel project with jolicode/automapper in it. I recently did some But automapper now gives:
So it seems something is incompatible with phpdoc-parser 2.0. Now, do I read this issue correctly in that support for 2.x is added but has yet to be released? |
Yes. |
I just released AutoMapper |
I noticed locally that random test started to fail, turns out it's because phpdocumentor/type-resolver added support for phpstan/phpdoc-parser v2, but this library not ready for phpdoc-parser v2.
I chose minimal version of 1.13 because minimal version of phpdocumentor/type-resolver required it so there should be no changes to
composer update --prefer-lowest