? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
24 May 2021

Code review

This class doesnt exist, and is not used in the file anyway as the only one that is, is \Joomla\CMS\Input\Cli which itself is deprecated with a note to use this non existing class \Joomla\Input\Cli /facepalm

Related to #34162

avatar PhilETaylor PhilETaylor - open - 24 May 2021
avatar PhilETaylor PhilETaylor - change - 24 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 May 2021
Category Libraries
avatar joomdonation joomdonation - test_item - 25 May 2021 - Tested successfully
avatar joomdonation
joomdonation - comment - 25 May 2021

I have tested this item successfully on 1abc627


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

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

I have tested this item successfully on 1abc627


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

avatar Quy Quy - change - 29 May 2021
Status Pending Ready to Commit
Labels Added: ?
avatar Quy
Quy - comment - 29 May 2021

RTC


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

avatar rdeutz
rdeutz - comment - 31 May 2021

Maybe better to remove the full class path here

$this->input = new \Joomla\CMS\Input\Cli;
instead of removeing the class import?

avatar PhilETaylor
PhilETaylor - comment - 31 May 2021

I think you need more coffee.

instead of removeing the class import?

use Joomla\Input\Cli; is being removed by this PR because that class doesn't exist at all. Doing anything "instead" would be wrong.

Maybe better to remove the full class path

If I just removed the full class path, and did not remove the class import then you would create a fatal error in the code, as the Joomla\Input\Cli class simply doesnt exist!

\Joomla\CMS\Input\Cli is being used on line 129 COULD be imported, but then so could all the Session classes above it and I get told off by "maintainers" for importing classes because "that causes too much work with merging up" - and that would be out of scope of this already RTC PR.

Removing a reference to a class that totally doesnt exist, is more important I would say then simplifying fully qualified class names.

However you are the maintainer, and you have "Allow edits by maintainers" rights.. .so do as you wish to this already RTC PR.

avatar rdeutz
rdeutz - comment - 31 May 2021

Good suggestion with the coffee

avatar rdeutz rdeutz - close - 31 May 2021
avatar rdeutz rdeutz - merge - 31 May 2021
avatar rdeutz rdeutz - change - 31 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-31 11:17:08
Closed_By rdeutz
Labels Added: ?

Add a Comment

Login with GitHub to post a comment