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

Dependency issue with phpDocumentor #91

Open
ruben-vb opened this issue Mar 21, 2023 · 0 comments
Open

Dependency issue with phpDocumentor #91

ruben-vb opened this issue Mar 21, 2023 · 0 comments

Comments

@ruben-vb
Copy link

ruben-vb commented Mar 21, 2023

Hello,

I've ran into a problem today. While trying to generate the openapi file I had the following error:

trace

TypeResolver is a dependency of ReflectionDocBlock, which is required by this package, I'm not sure if this is an issue related to this package or more on the side of ReflectionDocBlock but I decided to leave it here, maybe this saves other people some time aswell.

This exception only occurs on version 1.7 of TypeResolver, it works just fine on version 1.6.2. Since the update happened just 3 days ago I assume it has to be from the changes related to that.
These changes include a complete refactor of the TypeResolver.php which seems to cause this exception for me.

A quick fix is to add "phpdocumentor/type-resolver": "1.6.2" to your own composer.json.

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

No branches or pull requests

1 participant