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 SqlitePlatform::getTinyIntTypeDeclarationSQL() and ::getMediumIntTypeDeclarationSQL() #5511

Merged
merged 1 commit into from
Jul 16, 2022

Conversation

morozov
Copy link
Member

@morozov morozov commented Jul 16, 2022

The methods are implemented only by the SQLite platform, and the column types they implement are not portable across the rest of the supported platforms. The methods are used only in unit tests.

@morozov morozov added this to the 3.4.0 milestone Jul 16, 2022
@morozov morozov marked this pull request as ready for review July 16, 2022 17:19
@morozov morozov requested a review from greg0ire July 16, 2022 17:19
* @param array<string, mixed> $column
*
* @return string
*/
public function getTinyIntTypeDeclarationSQL(array $column)
{
Deprecation::trigger(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/TODO',
Copy link
Member

@greg0ire greg0ire Jul 16, 2022

Choose a reason for hiding this comment

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

                                                                                                                                                                  :point_up: :slightly_smiling_face:

@morozov morozov force-pushed the deprecate-sqlite-tiny-medium-int branch from 0ad82c3 to 3bee5e1 Compare July 16, 2022 20:00
@morozov morozov merged commit 3a7f7c5 into doctrine:3.4.x Jul 16, 2022
@morozov morozov deleted the deprecate-sqlite-tiny-medium-int branch July 16, 2022 20:13
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 17, 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