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

Appearance settings

Commit f3ef9dc

Browse filesBrowse files
committed
The name of the placeholder must not be encapsulated in %
1 parent fb0e79c commit f3ef9dc
Copy full SHA for f3ef9dc

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎components/console/helpers/progressbar.rst‎

Copy file name to clipboardExpand all lines: components/console/helpers/progressbar.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ create your own. Let's see how you can create a ``remaining_steps`` placeholder
290290
that displays the number of remaining steps::
291291

292292
ProgressBar::setPlaceholderFormatterDefinition(
293-
'%remaining_steps%',
293+
'remaining_steps',
294294
function (ProgressBar $bar, OutputInterface $output) {
295295
return $bar->getMaxSteps() - $bar->getStep();
296296
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.