PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar nikosdion
nikosdion
16 Nov 2022

See #39134 (comment)

Summary of Changes

\Joomla\CMS\Log\DelegatingPsrLogger was marked @internal and a deprecation notice information developers it will be marked final has been added.

Testing Instructions

None. This PR only changes the DocBlock.

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org: PR 61

avatar nikosdion nikosdion - open - 16 Nov 2022
avatar nikosdion nikosdion - change - 16 Nov 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Nov 2022
Category Libraries
avatar wilsonge wilsonge - change - 16 Nov 2022
Title
Mark deprecation in DelegatingPsrLogger
[4.3] Mark deprecation in DelegatingPsrLogger
avatar wilsonge wilsonge - edited - 16 Nov 2022
avatar wilsonge
wilsonge - comment - 16 Nov 2022

I'm probably being overly pedantic here but isn't this better off as a note rather than deprecated. Because people will still be able to init the class and it's not deprecated (in the short term anyhow) for that purpose?

avatar nikosdion
nikosdion - comment - 16 Nov 2022

The idea is that if someone does Whatever extends \Joomla\CMS\Log\DelegatingPsrLogger we want them to get the big strikethrough and warning in their IDE, hinting them that something is changing. Hopefully they will look at the core class and figure out what the deprecation is.

In the PR for 5.0 the deprecation is removed. The class is made final and the @internal mark is kept.

avatar HLeithner HLeithner - close - 22 Nov 2022
avatar HLeithner HLeithner - merge - 22 Nov 2022
avatar HLeithner HLeithner - change - 22 Nov 2022
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-11-22 13:37:13
Closed_By HLeithner
Labels Added: PR-4.3-dev
avatar HLeithner
HLeithner - comment - 22 Nov 2022

Thanks

Add a Comment

Login with GitHub to post a comment