Dev: PHP 8.5 support
PHP 8.5 requires CodeIgniter 4.7.0 or later.
References:
- https://wiki.php.net/todo/php85
- https://wiki.php.net/rfc/deprecations_php_8_5
- https://php.watch/versions/8.5
- codeigniter4/CodeIgniter4#9116
TODO :
- [ ] Update Docs
- [x] Set minimum required PHP 8.2
- [x] #9701
- [x] add PHP 8.5 to GitHub Action
- phpunit/phpunit #9686
- #9667
- [ ] Dependencies Packages
- [ ] vimeo/psalm
- [x] kint-php/kint #9802
- [x] laminas-escaper #9760
- [x] Deprecate
FILTER_DEFAULTconstant- https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_filter_default_constant
- [x] #9699
- [x] Deprecate
Reflection::setAccessible()- https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionsetaccessible
- [x] kint-php/kint by kint-php/kint#439
- [x] Deprecate no-op functions from the resource to object conversion
- https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_no-op_functions_from_the_resource_to_object_conversion
- [x]
finfo_close()by #9684 - [x]
curl_close()by #9683 - [x]
imagedestroy()by #9688
- [x] Deprecate
DATE_RFC7231andDateTimeInterface::RFC7231- https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_date_rfc7231_and_datetimeinterfacerfc7231
- See #9657
Sorry, we will have to figure out something about this 😅
Sorry from the noise from the bot. 😅 It only recognises maintainers opening these dev plans.
@ddevsr can you make this an actionable list of smaller checkbox items so we can easily tick completed items one-by-one?
Also, please add your name to the mergeable config file so this won't happen again in the future. 😅
Since we have passed the feature freeze, I have updated the list based on the PHP 8.5 deprecations from https://wiki.php.net/rfc/deprecations_php_8_5, focusing on items that are applicable to us. If someone has time, please recheck to ensure nothing important was missed.