Skip to content

Comments

QA_5_2: backport of phpmyadmin/phpmyadmin#12345 GD2 detection (use GD_MAJOR_VERSION)#19821

Merged
MauricioFauth merged 1 commit intophpmyadmin:QA_5_2from
LuckyFellow:backport/QA_5_2-gd2-detection
Aug 25, 2025
Merged

QA_5_2: backport of phpmyadmin/phpmyadmin#12345 GD2 detection (use GD_MAJOR_VERSION)#19821
MauricioFauth merged 1 commit intophpmyadmin:QA_5_2from
LuckyFellow:backport/QA_5_2-gd2-detection

Conversation

@LuckyFellow
Copy link
Contributor

Description

Switch GD2 detection to GD_MAJOR_VERSION (>=2); remove legacy
imagecreatetruecolor/gd_info/phpinfo checks and update tests.
Behavior unchanged, detection is just more precise.

Before submitting pull request, please review the following checklist:

  • Make sure you have read our CONTRIBUTING.md document.
  • Make sure you are making a pull request against the correct branch. For example, for bug fixes in a released version use the corresponding QA branch and for new features use the master branch. If you have a doubt, you can ask as a comment in the bug report or on the mailing list.
  • Every commit has proper Signed-off-by line as described in our DCO. This ensures that the work you're submitting is your own creation.
  • Every commit has a descriptive commit message.
  • Every commit is needed on its own, if you have just minor fixes to previous commits, you can squash them.
  • Any new functionality is covered by tests.

Adapted from phpmyadmin#19820; replaces legacy checks,
updates test, no functional change beyond precise version detection.

Signed-off-by: Hendrik Becker <[email protected]>
@LuckyFellow
Copy link
Contributor Author

CI failures look unrelated to these changes

@MauricioFauth MauricioFauth merged commit 37dc7ab into phpmyadmin:QA_5_2 Aug 25, 2025
20 of 31 checks passed
@MauricioFauth MauricioFauth self-assigned this Aug 25, 2025
@MauricioFauth MauricioFauth added this to the 5.2.3 milestone Aug 25, 2025
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