Skip to content

deps: doctrine/dbal:3#41450

Open
DeepDiver1975 wants to merge 23 commits intomasterfrom
deps/dbal-3
Open

deps: doctrine/dbal:3#41450
DeepDiver1975 wants to merge 23 commits intomasterfrom
deps/dbal-3

Conversation

@DeepDiver1975
Copy link
Member

Description

dbal 2.x is unmainted

Related Issue

  • Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@update-docs
Copy link

update-docs bot commented Feb 18, 2026

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@DeepDiver1975 DeepDiver1975 force-pushed the deps/dbal-3 branch 2 times, most recently from fc60cd1 to d6a4468 Compare February 25, 2026 11:47
Copy link
Member

@jvillafanez jvillafanez left a comment

Choose a reason for hiding this comment

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

Some minor comments that can be tackled later.
I assume the double free() call doesn't cause problems. The rest are "translations" without any meaningful change, so they shouldn't cause problems neither.

$data['value']=$row['value'];
$xml[] = $data;
}
while ($row = $result->fetchAssociative()) {
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this will cause problems, but the recommended way is to explicitly compare against false:
while (($row = $result->fetchAssociative()) !== false) {....}

Copy link
Member Author

Choose a reason for hiding this comment

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

We have this in many places - valid as a follow up

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