? Failure

User tests: Successful: Unsuccessful:

avatar jonasgonka
jonasgonka
23 Jul 2018

Summary of Changes

Fixed some PHPDoc based on #15702 by @demis-palma, updated because some files were moved.

Some PHPDoc comments lack parameters, or indicate wrong type or number of parameters.
Others doesn't contain all necessary @throws or @return tags.

@icampus

avatar jonasgonka jonasgonka - open - 23 Jul 2018
avatar jonasgonka jonasgonka - change - 23 Jul 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jul 2018
Category Administration com_cache com_installer com_joomlaupdate com_languages com_menus com_messages com_templates com_users Templates (admin) Front End com_config Libraries Plugins Templates (site)
avatar jonasgonka jonasgonka - change - 23 Jul 2018
Title
Php doc cleanup
PHPDoc cleanup
avatar jonasgonka jonasgonka - edited - 23 Jul 2018
avatar jonasgonka jonasgonka - change - 24 Jul 2018
Labels Added: ?
avatar Schmidie64 Schmidie64 - test_item - 24 Jul 2018 - Tested successfully
avatar Schmidie64
Schmidie64 - comment - 24 Jul 2018

I have tested this item successfully on 73783ed

I tested the Patch on my local Joomla instanz. Everthing work as always fine. The code looks well the comments are usefull and i think correct. So from my side the patch is OK!

@icampus


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

avatar bene-we bene-we - test_item - 24 Jul 2018 - Tested successfully
avatar bene-we
bene-we - comment - 24 Jul 2018

I have tested this item successfully on 73783ed

The comments cannot cause any errors and they seem fine, so everything's alright
@icampus


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Jul 2018
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 24 Jul 2018

Ready to Commit after two successful tests.

avatar roland-d
roland-d - comment - 24 Jul 2018

@Quy Looking through the code there is a lot of inconsistencies regarding the placement of the throws parameter. The codesniffer doesn't seem to care where it is as long as it is in the docblock. I would think we should standardize the location and make it look like this:

	 *
	 * @throws  \Exception
	 *
	 * @since   3.0
	 */

What do you think?

avatar Quy
Quy - comment - 24 Jul 2018

https://developer.joomla.org/coding-standards/docblocks.html

Please read the Joomla Coding Standards Manual for formatting.

avatar roland-d
roland-d - comment - 24 Jul 2018

@Quy Thank you for that link. That means this PR is not ready yet.

avatar jonasgonka jonasgonka - change - 24 Jul 2018
Labels Added: ?
avatar Quy
Quy - comment - 24 Jul 2018

Please address the following regarding spaces.

Note: Commonly a line after the tag @param consists of the following three parts in order of appearance:

variable type (There must be 3 spaces before variable type.)
variable name (There must be 2 spaces after the longest type.)
variable description (There must be 2 spaces after the longest variable name.)

avatar Quy Quy - change - 24 Jul 2018
Status Ready to Commit Pending
avatar Quy
Quy - comment - 24 Jul 2018

Removed RTC


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

avatar jonasgonka jonasgonka - change - 24 Jul 2018
Labels Removed: ?
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Apr 2019

@roland-d whats the State of this Pull Request?

avatar roland-d
roland-d - comment - 28 Apr 2019

Let's close this, I don't think TS will continue with this.

avatar roland-d roland-d - change - 28 Apr 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-04-28 10:42:49
Closed_By roland-d
Labels Removed: J3 Issue
avatar roland-d roland-d - close - 28 Apr 2019
avatar HLeithner
HLeithner - comment - 29 Apr 2019

@roland-d shouldn't we finish this pr and merge it? It seams that much work has already be done.

avatar roland-d
roland-d - comment - 10 May 2019

@HLeithner If someone wants to take over. Sure.

Add a Comment

Login with GitHub to post a comment