? PHP 8.x ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
11 Jan 2023

Summary of Changes

Define the folder property in the MediaField class to prevent deprecation notice on PHP 8.2.

Testing Instructions

Open the article form on the PHP 8.2 on the back end with debug enabled.

Actual result BEFORE applying this Pull Request

The following warning is shown:
Creation of dynamic property Joomla\CMS\Form\Field\MediaField::$folder 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 afeada2


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

avatar dgrammatiko dgrammatiko - test_item - 11 Jan 2023 - Tested successfully
avatar dgrammatiko
dgrammatiko - comment - 11 Jan 2023

I have tested this item successfully on afeada2


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

avatar Quy Quy - change - 11 Jan 2023
Status Pending Ready to Commit
Labels Added: ?
avatar Quy
Quy - comment - 11 Jan 2023

RTC


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

avatar fancyFranci fancyFranci - change - 11 Jan 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-01-11 18:56:37
Closed_By fancyFranci
Labels Added: ? PHP 8.x
avatar fancyFranci fancyFranci - close - 11 Jan 2023
avatar fancyFranci fancyFranci - merge - 11 Jan 2023
avatar fancyFranci
fancyFranci - comment - 11 Jan 2023

Great to "see" another vanishing warning. Thank you!

Add a Comment

Login with GitHub to post a comment