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 #117

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Conversation

ErHaWeb
Copy link
Contributor

@ErHaWeb ErHaWeb commented Mar 20, 2024

New Pull Request checklist

PR Type

What kind of change does this PR introduce?

  • [FEATURE] - A new feature
  • [BUGFIX] - A bug fix
  • [TASK] - Any task, which is not a new feature or bugfix
  • [TEST] - Adding missing tests
  • [DOC] - Documentation only changes
  • [WIP] - Work in progress tag, should not be present when creating pull requests

Breaking change

Does this PR introduce a breaking change?

  • Yes
  • No

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.
@mabolek mabolek merged commit 7b939d1 into pixelant:master Mar 20, 2024
46 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.

None yet

2 participants