8000 Replace snake case with camel case. · symfony/symfony@c890f31 · GitHub
[go: up one dir, main page]

Skip to content

Commit c890f31

Browse files
committed
Replace snake case with camel case.
1 parent 2b1eb29 commit c890f31

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Symfony/Component/Console/Helper/ProgressBar.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -441,15 +441,15 @@ private function overwrite(string $message): void
441441
if ($this->overwrite) {
442442
if (null !== $this->previousMessage) {
443443
if ($this->output instanceof ConsoleSectionOutput) {
444-
$message_lines = explode("\n", $message);
445-
$line_count = \count($message_lines);
446-
foreach ($message_lines as $message_line) {
447-
$message_line_length = Helper::strlenWithoutDecoration($this->output->getFormatter(), $message_line);
448-
if ($message_line_length > $this->terminal->getWidth()) {
449-
$line_count += floor($message_line_length / $this->terminal->getWidth());
444+
$messageLines = explode("\n", $message);
445+
$lineCount = \count($messageLines);
446+
foreach ($messageLines as $messageLine) {
447+
$messageLineLength = Helper::strlenWithoutDecoration($this->output->getFormatter(), $messageLine);
448+
if ($messageLineLength > $this->terminal->getWidth()) {
449+
$lineCount += floor($messageLineLength / $this->terminal->getWidth());
450450
}
451451
}
452-
$this->output->clear($line_count);
452+
$this->output->clear($lineCount);
453453
} else {
454454
// Erase previous lines
455455
if ($this->formatLineCount > 0) {

0 commit comments

Comments
 (0)
0