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

[Improvement]: Add support for Doctrine v4 #17003

Draft
wants to merge 41 commits into
base: 11.x
Choose a base branch
from
Draft

[Improvement]: Add support for Doctrine v4 #17003

wants to merge 41 commits into from

Conversation

kingjia90
Copy link
Contributor

@kingjia90 kingjia90 commented Apr 30, 2024

Changes in this pull request

Resolves #13015

Still unsure if we can support without major refactoring, likely would be more replacing the deprecations
Draft: i am collecting the blocking problems under #13015 (comment)

Copy link

Review Checklist

  • Target branch (11.2 for bug fixes, others 11.x)
  • Tests (if it's testable code, there should be a test for it - get help)
  • Docs (every functionality needs to be documented, see here)
  • Migration incl. install.sql (e.g. if the database schema changes, ...)
  • Upgrade notes (deprecations, important information, migration hints, ...)
  • Label
  • Milestone

@kingjia90 kingjia90 changed the title [Improvement]: Prepare pfor Doctrine v4 [Improvement]: Prepare for Doctrine v4 Apr 30, 2024
it's a private method in dbal v3
it's a private method in dbal v3
# Conflicts:
#	bundles/InstallBundle/src/Installer.php
#	lib/Tool/MaintenanceModeHelper.php
@@ -951,7 +958,7 @@ public static function addTreeFilterJoins(array $cv, Asset\Listing|DataObject\Li

$condition = $joinConfig['condition'];
$columns = $joinConfig['columns'];
$select->add('select', $columns, true);
$select->addSelect($columns);
Copy link
Contributor Author

@kingjia90 kingjia90 May 7, 2024

Choose a reason for hiding this comment

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

TODO: need to make sure $columns is a string, because addSelect accept only variantic string

@kingjia90 kingjia90 changed the title [Improvement]: Prepare for Doctrine v4 [Improvement]: Add support for Doctrine v4 May 21, 2024
@kingjia90 kingjia90 changed the base branch from 11.x to prepare4doctrine4 May 21, 2024 08:33
@kingjia90 kingjia90 changed the base branch from prepare4doctrine4 to 11.x May 21, 2024 08:34
Copy link

sonarcloud bot commented May 22, 2024

Quality Gate Passed Quality Gate passed

Issues
24 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
45.7% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prepare for Doctrine v4
2 participants