? PHP 8.x ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
11 Jan 2023

Summary of Changes

Define the plugin and namespace property in the CaptchaField class to prevent deprecation notice on PHP 8.2.

Testing Instructions

  • Setup a captcha plugin
  • Open the article form on the PHP 8.2 on the front end with debug enabled

Actual result BEFORE applying this Pull Request

The following warning is shown:
Creation of dynamic property Joomla\CMS\Form\Field\CaptchaField::$plugin is deprecated in

Expected result AFTER applying this Pull Request

No warning.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 11 Jan 2023
Category Libraries
avatar laoneo laoneo - open - 11 Jan 2023
avatar laoneo laoneo - change - 11 Jan 2023
Status New Pending
avatar joomdonation joomdonation - test_item - 11 Jan 2023 - Tested successfully
avatar joomdonation
joomdonation - comment - 11 Jan 2023

I have tested this item successfully on 946a15c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39603.

avatar alikon alikon - test_item - 12 Jan 2023 - Tested successfully
avatar alikon
alikon - comment - 12 Jan 2023

I have tested this item successfully on 946a15c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39603.

avatar Quy Quy - change - 12 Jan 2023
Status Pending Ready to Commit
Labels Added: ? PHP 8.x
avatar Quy
Quy - comment - 12 Jan 2023

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39603.

avatar laoneo laoneo - change - 12 Jan 2023
Labels Added: ?
avatar HLeithner HLeithner - close - 12 Jan 2023
avatar HLeithner HLeithner - merge - 12 Jan 2023
avatar HLeithner HLeithner - change - 12 Jan 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-01-12 17:14:42
Closed_By HLeithner
avatar HLeithner
HLeithner - comment - 12 Jan 2023

thanks

avatar HLeithner
HLeithner - comment - 12 Jan 2023

thanks

Add a Comment

Login with GitHub to post a comment