Skip to content

Conversation

@greg0ire
Copy link
Member

"collation" is what is expected now on the DBAL side.

if (isset($params['defaultTableOptions']['collate']) && defined('Doctrine\DBAL\Connection::PARAM_ASCII_STR_ARRAY')) {
Deprecation::trigger(
'doctrine/doctrine-bundle',
'https://github.com/doctrine/DoctrineBundle/pull/1478',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better if this was link to DBAL where they changed from collate to collation?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are right, since here defaultTableOptions is only validated as an array, and there is no validation of the keys. Let me change that.

"collation" is what is expected now on the DBAL side.
@greg0ire greg0ire added this to the 2.6.0 milestone Feb 14, 2022
@greg0ire greg0ire merged commit cd1f115 into doctrine:2.6.x Feb 14, 2022
@greg0ire greg0ire deleted the deprecate-collate branch February 14, 2022 09: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.

2 participants