? ? Pending

User tests: Successful: Unsuccessful:

avatar dryabov
dryabov
10 May 2021

Fix Joomla\CMS\Form\Rule\UrlRule's phpDoc (JString is not part of Joomla!4, Joomla\String\StringHelper is used instead)

The code is not affected.

avatar dryabov dryabov - open - 10 May 2021
avatar dryabov dryabov - change - 10 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 May 2021
Category Libraries
avatar ceford ceford - test_item - 10 May 2021 - Tested successfully
avatar ceford
ceford - comment - 10 May 2021

I have tested this item successfully on 2748eb5

I have not been in this code backwater before so was interested to see there are two StringHelper classes. One in src\HTML\Helpers\StringHelper.php and another in vendor\joomla\string\src\StringHelper.php. Should that be mentioned in the see. Or is the use statement enough for the curious?


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

avatar dryabov
dryabov - comment - 10 May 2021

I'm not sure. Maybe fully qualified name would reduce possible doubts, but this @see declaration is located quite close to use statements, so IMHO it should be clear.

avatar richard67
richard67 - comment - 20 May 2021

I'm not sure. Maybe fully qualified name would reduce possible doubts, but this @see declaration is located quite close to use statements, so IMHO it should be clear.

@dryabov I'd prefer to have the full qualified name here. That's not a rule, just my (and a few others') preference. In existing code you would find examples for both, short and full qualified. But as these "@" comments are for docs and IDE tools I think it is better to have it full qualified because you don't necessarily see the "use" statement there.

avatar dryabov dryabov - change - 20 May 2021
Labels Added: ?
avatar dryabov
dryabov - comment - 20 May 2021

Done

avatar richard67 richard67 - test_item - 20 May 2021 - Tested successfully
avatar richard67
richard67 - comment - 20 May 2021

I have tested this item successfully on 9182c32


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

avatar Quy Quy - test_item - 20 May 2021 - Tested successfully
avatar Quy
Quy - comment - 20 May 2021

I have tested this item successfully on 9182c32


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

avatar Quy Quy - change - 20 May 2021
Status Pending Ready to Commit
avatar Quy
Quy - comment - 20 May 2021

RTC


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

avatar richard67 richard67 - close - 23 May 2021
avatar richard67 richard67 - merge - 23 May 2021
avatar richard67 richard67 - change - 23 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-23 22:44:41
Closed_By richard67
Labels Added: ?
avatar richard67
richard67 - comment - 23 May 2021

Thanks.

Add a Comment

Login with GitHub to post a comment