Commit 02d1091
committed
bug #4209 Fix method for adding placholders in progressBar (danez)
This PR was merged into the 2.5 branch.
Discussion
----------
Fix method for adding placholders in progressBar
The method is called setPlaceholderFormatterDefinition and not setPlaceholderFormatter
see [here][1]
Edit:
I found another glitch: The name of the placeholder must not be packed in %-characters, like it is the case when using the placeholders in the format. As you can see [here][2] the defaults are also not like this and best indication: it does not work if doing like in the docs :)
[1]: https://github.com/symfony/symfony/blob/2.5/src/Symfony/Component/Console/Helper/ProgressBar.php#L82
[2]: https://github.com/symfony/symfony/blob/2.5/src/Symfony/Component/Console/Helper/ProgressBar.php#L486
Commits
-------
f3ef9dc The name of the placeholder must not be encapsulated in %
fb0e79c Fix method for adding placholders in progressBar1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
293 | | - | |
| 292 | + | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
0 commit comments