Skip to content

Fix deprecated usage of execute method in doctrine query builder and statement #7893

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

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

stollr
Copy link
Contributor

@stollr stollr commented Apr 16, 2025

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
License MIT

What's in this PR?

I have changed the call of execute() on Doctrine DBAL's QueryBuilder and Statement in favor of executeStatement() in all places that I could find. BC for DBAL v2 is kept.

Why?

The usage of the execute method in Doctrine DBAL's QueryBuilder and Statement classes was deprecated in v3.

@alexander-schranz alexander-schranz changed the title Fixed deprecated usage of execute method in doctrine query builder and statement Fix deprecated usage of execute method in doctrine query builder and statement Apr 16, 2025
@alexander-schranz alexander-schranz merged commit c7f5015 into sulu:2.5 Apr 16, 2025
8 of 9 checks passed
@stollr stollr deleted the fix_doctrine_execute_depr branch April 17, 2025 06:31
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