Skip to content

Commit

Permalink
Convert enchant resources to opaque objects
Browse files Browse the repository at this point in the history
Additionally, deprecate ENCHANT_MYSPELL and ENCHANT_ISPELL constants.
Closes GH-5577

Co-authored-by: Remi Collet <remi@php.net>
  • Loading branch information
kocsismate and remicollet committed May 29, 2020
1 parent f068442 commit cd3e04d
Show file tree
Hide file tree
Showing 31 changed files with 341 additions and 289 deletions.
6 changes: 6 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,12 @@ PHP 8.0 UPGRADE NOTES
- Enchant:
. enchant_broker_list_dicts(), enchant_broker_describe() and
enchant_dict_suggest() will now return an empty array instead of null.
. enchant_broker_init() will now return an EnchantBroker object rather than
a resource. Return value checks using is_resource() should be replaced with
checks for `false`.
. enchant_broker_request_dict() and enchant_broker_request_pwl_dict() will now
return an EnchantDictionary object rather than a resource. Return value checks
using is_resource() should be replaced with checks for `false`.

- Exif:
. Removed read_exif_data(). exif_read_data() should be used instead.
Expand Down
Loading

0 comments on commit cd3e04d

Please sign in to comment.