mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
[ci skip] Fix names of the constants
`GD_CROP_DEFAULT` and `GD_CROP_SIDES` are names of libgd constants, and as such they are not relevant for userland developers. Therefore, we replace them by the constant names of our wrapper, i.e. `IMG_CROP_DEFAULT` and `IMG_CROP_SIDES`, respectively.
This commit is contained in:
parent
72087c8921
commit
f0f4ab4b02
2 changed files with 3 additions and 3 deletions
4
NEWS
4
NEWS
|
@ -14,8 +14,8 @@ PHP NEWS
|
|||
(cmb)
|
||||
. Fixed bug #76324 (cannot detect recent versions of freetype with
|
||||
pkg-config). (Eli Schwartz)
|
||||
. The bundled libgd behaves now like system libgd wrt. GD_CROP_DEFAULT never
|
||||
falling back to GD_CROP_SIDES.
|
||||
. The bundled libgd behaves now like system libgd wrt. IMG_CROP_DEFAULT never
|
||||
falling back to IMG_CROP_SIDES.
|
||||
|
||||
- Hash:
|
||||
. The hash extension is now an integral part of PHP and cannot be disabled
|
||||
|
|
|
@ -118,7 +118,7 @@ PHP 7.4 UPGRADE NOTES
|
|||
see either ./configure --help or follow the instructions in error messages.
|
||||
. The behavior of imagecropauto() in the bundled libgd has been synced with
|
||||
that of system libgd:
|
||||
* GD_CROP_DEFAULT is no longer falling back to GD_CROP_SIDES
|
||||
* IMG_CROP_DEFAULT is no longer falling back to IMG_CROP_SIDES
|
||||
* Threshold-cropping now uses the algorithm of system libgd
|
||||
|
||||
- Hash:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue