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

Support simulation of date/dateime placeholders #244

Merged
merged 2 commits into from
Feb 4, 2022
Merged

Support simulation of date/dateime placeholders #244

merged 2 commits into from
Feb 4, 2022

Conversation

staabm
Copy link
Owner

@staabm staabm commented Feb 4, 2022

refs #225 (comment)

ugly hack to make phpstan-dba not error on query which use date/datetime types with a placeholder.

grafik

I think in case we would have a proper sql parser, we could feed schema-type-dependent default values in case of strings.

@staabm staabm mentioned this pull request Feb 4, 2022
13 tasks
@staabm staabm marked this pull request as ready for review February 4, 2022 13:37
@staabm staabm enabled auto-merge (squash) February 4, 2022 13:38
@staabm staabm merged commit 9c50b0f into main Feb 4, 2022
@staabm staabm deleted the datetime branch February 4, 2022 13:38
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.

None yet

2 participants