Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc890f31

Browse files
committed
Replace snake case with camel case.
1 parent2b1eb29 commitc890f31

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->outputinstanceof ConsoleSectionOutput) {
444-
$message_lines =explode("\n",$message);
445-
$line_count =\count($message_lines);
446-
foreach ($message_linesas$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 ($messageLinesas$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)

[8]ページ先頭

©2009-2025 Movatter.jp