User tests: Successful: Unsuccessful:
Some people read a book in bed, I review code, don't @ me :)
Code review
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |
I have tested this item
I can confirm that the textfunction of the SymfonyStyle class has only 1 parameter. I hope that was the right place to check.
| Labels |
Added:
?
|
||
RTC
| Status | Pending | ⇒ | Ready to Commit |
RTC
| 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:
?
|
||
@richard67 I hope so too :).
Thanky you all
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);
}
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.