CodeIgniter4 icon indicating copy to clipboard operation
CodeIgniter4 copied to clipboard

Dev: PHP 8.5 support

Open ddevsr opened this issue 5 months ago • 4 comments

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_DEFAULT constant
    • 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_RFC7231 and DateTimeInterface::RFC7231
    • https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_date_rfc7231_and_datetimeinterfacerfc7231
    • See #9657

ddevsr avatar Aug 07 '25 10:08 ddevsr

Sorry, we will have to figure out something about this 😅

michalsn avatar Aug 07 '25 10:08 michalsn

Sorry from the noise from the bot. 😅 It only recognises maintainers opening these dev plans.

paulbalandan avatar Aug 07 '25 11:08 paulbalandan

@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. 😅

paulbalandan avatar Aug 07 '25 11:08 paulbalandan

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.

michalsn avatar Aug 14 '25 06:08 michalsn