? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
18 May 2021

Some people read a book in bed, I review code, don't @ me :)

Code review

avatar PhilETaylor PhilETaylor - open - 18 May 2021
avatar PhilETaylor PhilETaylor - change - 18 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 May 2021
Category Libraries
avatar alikon alikon - test_item - 19 May 2021 - Not tested
avatar alikon alikon - test_item - 19 May 2021 - Tested successfully
avatar alikon
alikon - comment - 19 May 2021

I have tested this item successfully on 6faef61

code review


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

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

I have tested this item successfully on 6faef61

I can confirm that the textfunction of the SymfonyStyle class has only 1 parameter. I hope that was the right place to check.


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

avatar richard67 richard67 - change - 19 May 2021
Labels Added: ?
avatar richard67
richard67 - comment - 19 May 2021

RTC


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

avatar richard67 richard67 - change - 19 May 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 19 May 2021

RTC


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

avatar chmst chmst - change - 19 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-19 20:52:19
Closed_By chmst
Labels Added: ?
avatar chmst chmst - close - 19 May 2021
avatar chmst chmst - merge - 19 May 2021
avatar chmst
chmst - comment - 19 May 2021

@richard67 I hope so too :).
Thanky you all

avatar PhilETaylor
PhilETaylor - comment - 19 May 2021

Rest assured this PR is right. The text and error methods both have one param.

    /**
     * {@inheritdoc}
     */
    public function text($message)
    {
        $this->autoPrependText();

        $messages = \is_array($message) ? array_values($message) : [$message];
        foreach ($messages as $message) {
            $this->writeln(sprintf(' %s', $message));
        }
    }

    public function error($message)
    {
        $this->block($message, 'ERROR', 'fg=white;bg=red', ' ', true);
    }

Add a Comment

Login with GitHub to post a comment