This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Fabien Potencier 2145f56920 bug #21958 [Console] Fix bar width with multilines ProgressBar's format (maidmaid)
This PR was squashed before being merged into the 3.2 branch (closes #21958).

Discussion
----------

[Console] Fix bar width with multilines ProgressBar's format

| Q             | A
| ------------- | ---
| Branch?       | 3.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

The bar width is badly recalculated when we use multilines (``\n``) and bar placeholer (``%bar%``) in ProgressBar's format. The bar width is reduced because multilines is considered as a big oneline. This PR fixes this.

Commits
-------

3d58ab5bad [Console] Fix bar width with multilines ProgressBar's format
2017-04-25 10:15:10 -04:00
..
Asset Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
BrowserKit Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Cache fail when detecting risky tests 2017-04-12 07:14:23 -07:00
ClassLoader Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Config Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Console bug #21958 [Console] Fix bar width with multilines ProgressBar's format (maidmaid) 2017-04-25 10:15:10 -04:00
CssSelector Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Debug Merge branch '2.8' into 3.2 2017-04-19 22:17:50 +02:00
DependencyInjection [3.2] Prevent double registrations related to tag priorities 2017-04-12 17:25:29 +02:00
DomCrawler Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
EventDispatcher Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
ExpressionLanguage Merge branch '2.8' into 3.2 2017-04-19 22:17:50 +02:00
Filesystem Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Finder Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Form Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
HttpFoundation Merge branch '2.8' into 3.2 2017-04-19 22:17:50 +02:00
HttpKernel Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Inflector Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Intl Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Ldap Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
OptionsResolver Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Process Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
PropertyAccess Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
PropertyInfo Merge branch '2.8' into 3.2 2017-04-19 22:17:50 +02:00
Routing Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Security Merge branch '2.8' into 3.2 2017-04-19 22:17:50 +02:00
Serializer Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Stopwatch Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Templating Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Translation Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
Validator Merge branch '2.8' into 3.2 2017-04-12 07:13:17 -07:00
VarDumper [VarDumper] Minor tweaks to html/css dumps 2017-04-18 12:10:25 +02:00
Workflow fail when detecting risky tests 2017-04-12 07:14:23 -07:00
Yaml add changelog for the DUMP_OBJECT_AS_MAP flag 2017-04-12 21:06:01 +02:00