On line 656 it states:
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).
Not markt as deprecated
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
Joomla 3.8.12
Solution remove invalid deprecate tag
Status | New | ⇒ | Information Required |
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.
Labels |
Added:
J3 Issue
|
Status | Information Required | ⇒ | Discussion |
@HLeithner can Release Lead please decide?
Status | Discussion | ⇒ | Information Required |
In J4 this code gets removed anyway. So I would close this issue and leave J3 as it is.
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-04-02 07:30:42 |
Closed_By | ⇒ | joomla-cms-bot |
Closed_Date | 2019-04-02 07:30:42 | ⇒ | 2019-04-02 07:30:44 |
Closed_By | joomla-cms-bot | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/22390
Closed as stated above, thanks @laoneo
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?