J3 Issue ?
avatar basd82
basd82
26 Sep 2018

Steps to reproduce the issue

On line 656 it states:

  • @deprecated 4.0 The (url, mime, media, attribs) method signature is deprecated, use (url, options, attributes) instead.

That's an incorrect usage of the tag: http://docs.phpdoc.org/references/phpdoc/tags/deprecated.html
You can't deprecate a certain signature, only the whole structural element (the method in this case).

Expected result

Not markt as deprecated

Actual result

The whole structural element (the method in this case) is marked as deprecate
https://stackoverflow.com/questions/27005219/is-it-possible-to-deprecate-method-parameters-in-php

System information (as much as possible)

Joomla 3.8.12

Additional comments

Solution remove invalid deprecate tag

avatar basd82 basd82 - open - 26 Sep 2018
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Sep 2018
avatar zero-24
zero-24 - comment - 26 Sep 2018

Solution remove invalid deprecate tag

hmm i would suggest to change it to a @note so the information is still there. Can you do a PR against the staging repo for that change?

avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Sep 2018
Status New Information Required
avatar laoneo
laoneo - comment - 27 Sep 2018

We have more places like that. The correct solution would be to introduce a new function with a new name and deprecate this one. The problem is that this doc block exists since a long time and changing to a different function would be overhead. Honestly I would leave it like it is and better look that it will never happen again.

avatar brianteeman brianteeman - change - 30 Oct 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 30 Oct 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Mar 2019
Status Information Required Discussion
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Apr 2019

@HLeithner can Release Lead please decide?

avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Apr 2019
Status Discussion Information Required
avatar laoneo
laoneo - comment - 2 Apr 2019

In J4 this code gets removed anyway. So I would close this issue and leave J3 as it is.

avatar joomla-cms-bot joomla-cms-bot - change - 2 Apr 2019
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2019-04-02 07:30:42
Closed_By joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 2 Apr 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Apr 2019
Closed_Date 2019-04-02 07:30:42 2019-04-02 07:30:44
Closed_By joomla-cms-bot franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 2 Apr 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Apr 2019

Closed as stated above, thanks @laoneo


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

Add a Comment

Login with GitHub to post a comment