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

[TASK] Use Connection instead of PDO #412

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Conversation

ErHaWeb
Copy link
Contributor

@ErHaWeb ErHaWeb commented Mar 20, 2024

Short description

In Doctrine DBAL v4, as described in the documentation, support for using the \PDO::PARAM_* constants has been dropped in favor of the enum types. This should be migrated to Connection::PARAM_* in order to be compatible with TYPO3 v13 later on. Connection::PARAM_* can already be used now as it is compatible with TYPO3 11 and 12.

In Doctrine DBAL v4, as described in the [documentation](https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Database/QueryBuilder/Index.html#database-query-builder-create-named-parameter), support for using the `\PDO::PARAM_*` constants has been dropped in favor of the enum types. This should be migrated to `Connection::PARAM_*` in order to be compatible with TYPO3 v13 later on. `Connection::PARAM_*` can already be used now as it is compatible with TYPO3 11 and 12.
@lochmueller
Copy link
Owner

Hey @ErHaWeb ,
thanks for the cleanup. Merged.
Regards,
Tim

@lochmueller lochmueller merged commit d192b5c into lochmueller:master Mar 20, 2024
2 checks passed
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.

2 participants