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

Remove the APIs deprecated in DBAL 3.x #5423

Merged
merged 5 commits into from
Jun 2, 2022

Conversation

morozov
Copy link
Member

@morozov morozov commented Jun 2, 2022

See the following pull requests for reference:

  1. Deprecate AbstractPlatform methods exposing quote characters #5388
  2. Deprecate ignoring foreign keys DDL on non-InnoDB MySQL #5414
  3. Replace schema SQL collectors with SQL builders #5416

Notes:

  1. The AbstractPlatform::CREATE_* constants cannot be deprecated in 3.x and removed in 4.0 since they are part of the upgrade path.
  2. The scenarios removed from testQuoteIdentifier() and testQuoteSingleIdentifier() are covered by the integration QuoteTest.

@morozov morozov force-pushed the remove-deprecations branch from f9f592c to 56d383e Compare June 2, 2022 01:31
@@ -169,6 +169,8 @@ public function testReturnQuotedAssets(): void
[
'CREATE TABLE dbal91_something (id INT NOT NULL, "table" INT DEFAULT NULL, PRIMARY KEY(id))',
'CREATE INDEX IDX_A9401304ECA7352B ON dbal91_something ("table")',
'ALTER TABLE dbal91_something ADD CONSTRAINT something_input FOREIGN KEY ("table")'
. ' REFERENCES dbal91_something (id) ON UPDATE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE',
Copy link
Member Author

Choose a reason for hiding this comment

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

This change should have been made in #5416 if we wanted to be absolutely deprecation-free but we don't.

@morozov morozov marked this pull request as ready for review June 2, 2022 01:45
@morozov morozov added this to the 4.0.0 milestone Jun 2, 2022
@morozov morozov requested review from greg0ire and derrabus June 2, 2022 01:46
@morozov morozov merged commit 169b882 into doctrine:4.0.x Jun 2, 2022
@morozov morozov deleted the remove-deprecations branch June 2, 2022 14:13
morozov added a commit to morozov/dbal that referenced this pull request Oct 7, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 3, 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.

2 participants