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

Deprecate using NULL as prepared statement parameter type #5550

Merged
merged 1 commit into from Jul 30, 2022

Conversation

morozov
Copy link
Member

@morozov morozov commented Jul 30, 2022

Q A
Type deprecation

Semantically, the NULL value of the parameter type is identical to ParameterType::STRING which is the default in most of the methods. Given that the parameter type is optional in all APIs, there's no point in supporting NULL. Dropping the support for NULL will make the PHP types representing prepared statement parameter types a bit simpler (see #5548).

@morozov morozov added this to the 3.4.0 milestone Jul 30, 2022
@morozov morozov marked this pull request as ready for review July 30, 2022 02:54
@morozov morozov merged commit c37d1fd into doctrine:3.4.x Jul 30, 2022
@morozov morozov deleted the deprecate-null-parameter-type branch July 30, 2022 16:50
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants