joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

[5.2] [PHP8.4] Update for nullable type declaration

Open heelc29 opened this issue 1 year ago • 1 comments

Summary of Changes

updates for https://wiki.php.net/rfc/deprecate-implicitly-nullable-types

Testing Instructions

at the moment no QA release of PHP8.4 ... so only code review (and phpcs by drone)

Actual result BEFORE applying this Pull Request

Warning: Deprecated: Implicitly marking parameter $var as nullable is deprecated, the explicit nullable type must be used instead

Expected result AFTER applying this Pull Request

No new deprecated warnings if update to PHP8.4 is available

Link to documentations

Please select:

  • [x] No documentation changes for docs.joomla.org needed
  • [x] No documentation changes for manual.joomla.org needed

heelc29 avatar Apr 20 '24 18:04 heelc29

This pull request has been automatically rebased to 5.2-dev.

HLeithner avatar Apr 24 '24 09:04 HLeithner

Thanks!

laoneo avatar Aug 06 '24 07:08 laoneo