Skip to content

[4.2] PHP8.2 Define the threshold in cache#39604

Merged
HLeithner merged 4 commits intojoomla:4.2-devfrom
Digital-Peak:php82/cache
Jan 12, 2023
Merged

[4.2] PHP8.2 Define the threshold in cache#39604
HLeithner merged 4 commits intojoomla:4.2-devfrom
Digital-Peak:php82/cache

Conversation

@laoneo
Copy link
Copy Markdown
Member

@laoneo laoneo commented Jan 11, 2023

Summary of Changes

Define the threshold property in the CacheStorage class to prevent deprecation notice on PHP 8.2.
This must be tested by code review as it only happens when I want to install the DPCalendar sample data. But it is pretty obvious.

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

@laoneo laoneo changed the title Define the threshold in cache [4.2] PHP8.2 Define the threshold in cache Jan 11, 2023
@laoneo laoneo added the PHP 8.x PHP 8.x deprecated issues label Jan 11, 2023
@joomdonation
Copy link
Copy Markdown
Contributor

OK now but there is no Test this button in issue tracker to report test result for some reasons.

@carlitorweb
Copy link
Copy Markdown
Member

carlitorweb commented Jan 12, 2023

@laoneo this deprecation notice also show in the articles view
articlesview

@laoneo
Copy link
Copy Markdown
Member Author

laoneo commented Jan 12, 2023

I know, it is almost on every page where the cache is used. @carlitorweb did you test it successfully? Then I would set it to RTC as well as @joomdonation couldn't mark his result in the tracker.

@carlitorweb
Copy link
Copy Markdown
Member

Me either @laoneo , the button not was there.
But yes, test successfully ✅

@laoneo
Copy link
Copy Markdown
Member Author

laoneo commented Jan 12, 2023

Setting RTC as we have two tests.


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jan 12, 2023
@HLeithner HLeithner merged commit 8e7c43e into joomla:4.2-dev Jan 12, 2023
@HLeithner
Copy link
Copy Markdown
Member

thanks

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Jan 12, 2023
@laoneo laoneo deleted the php82/cache branch January 12, 2023 16:18
@Quy Quy added this to the Joomla! 4.2.7 milestone Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PHP 8.x PHP 8.x deprecated issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants