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

Document QueryComponent array shape #9527

Merged

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Feb 20, 2022

I'm currently improving the types on SqlWalkers/TreeWalkers for 3.0. One issue I found was that the knowledge over the structure of the parser's internal $queryComponents array was spread/copied over multiple classes.

With this PR, I'm introducing a reusalbe Psalm type to streamline the type declarations.

@derrabus derrabus added this to the 2.12.0 milestone Feb 20, 2022
@derrabus derrabus force-pushed the improvement/document-query-component branch from 2fe440a to 76f3ee1 Compare February 20, 2022 11:15
@derrabus derrabus force-pushed the improvement/document-query-component branch from 76f3ee1 to 69a2cf4 Compare February 24, 2022 10:18
@derrabus derrabus merged commit 7be96f6 into doctrine:2.12.x Feb 24, 2022
@derrabus derrabus deleted the improvement/document-query-component branch February 24, 2022 23:21
derrabus added a commit to derrabus/orm that referenced this pull request Feb 25, 2022
* 2.12.x:
  Document QueryComponent array shape (doctrine#9527)
  Improve templating
  Un-deprecate the current proxy mechanism (doctrine#9532)
  Remove unused methods
  Fix bug-doctrine#9536
derrabus added a commit to derrabus/orm that referenced this pull request Feb 25, 2022
* 2.12.x:
  Document QueryComponent array shape (doctrine#9527)
  Improve templating
  Un-deprecate the current proxy mechanism (doctrine#9532)
  Remove unused methods
  Fix bug-doctrine#9536
n-e-m-a-nj-a pushed a commit to n-e-m-a-nj-a/orm that referenced this pull request Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants