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

Check requirements for metadata drivers #9452

Merged

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Jan 31, 2022

Fixes #9449, replaces #9416.

Our metadata drivers require additional dependencies. If those are not met, the user receives a cryptic error message instead of a helpful one. Especially regarding Doctrine Annotations, I consider this to be a bug because doctrine/annotations used to be a mandatory dependency.

Please review thoroughly. Except for the attribute driver, our current CI setup does not allow me to test code that reacts to the missing dependencies.

@llaville
Copy link

LGTM

@derrabus derrabus force-pushed the improvement/check-md-driver-reqs branch from 15e4141 to d0d92c7 Compare January 31, 2022 18:56
@derrabus derrabus merged commit 103c42c into doctrine:2.11.x Feb 1, 2022
@derrabus derrabus deleted the improvement/check-md-driver-reqs branch February 1, 2022 12:48
derrabus added a commit to derrabus/orm that referenced this pull request Feb 1, 2022
* 2.11.x:
  Check requirements for metadata drivers (doctrine#9452)
  Remove trailing underscore (doctrine#9446)
derrabus added a commit to derrabus/orm that referenced this pull request Feb 1, 2022
* 2.11.x:
  PDO is not a required extension (doctrine#9457)
  Check requirements for metadata drivers (doctrine#9452)
  Remove trailing underscore (doctrine#9446)
derrabus added a commit to derrabus/orm that referenced this pull request Feb 1, 2022
* 2.12.x:
  Check requirements for metadata drivers (doctrine#9459)
  PDO is not a required extension (doctrine#9457)
  Check requirements for metadata drivers (doctrine#9452)
  Remove trailing underscore (doctrine#9446)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

doctrine/annotations required for Doctrine Console Tools
3 participants