• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

abdennour / udacity-reactnd-myreads / 25627
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: v0.20151011
DEFAULT BRANCH: master
Ran 29 Jul 2017 11:41PM UTC
Jobs 1
Files 11
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
25627

push

travis-ci

Fabien Potencier
bug #16196 [Console] Fix progress bar formatting when max is set on start() and some other edge cases (vsychov, fabpot)

This PR was merged into the 2.7 branch.

Discussion
----------

[Console] Fix progress bar formatting when max is set on start() and some other edge cases

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

Besides what #16149 fixed, it also fixes the case where `setFormat()` is called before `start()`.

From #16149

When I set max count, by call "ProgressBar::start()", I got invalid progress bar format.

Example code:
```php
$bar = new ProgressBar($output, 100);
$bar->start();
$bar->advance(100);
$bar->finish();
```
Output:
 100/100 [============================] 100%

Example code:
```php
$bar = new ProgressBar($output);
$bar->start(100);
$bar->advance(100);
$bar->finish();
```
Output:
 100 [============================]

Commits
-------

e651da4 [Console] fixed progress bar format on edge cases
3cbfa63 fix bug with set max count, by start method in progress bar

38 of 53 branches covered (71.7%)

Branch coverage included in aggregate %.

71 of 82 relevant lines covered (86.59%)

7.0 hits per line

Jobs
ID Job ID Ran Files Coverage
4 25627.4 29 Jul 2017 11:41PM UTC 0
80.74
Travis Job 25627.4
Source Files on build 25627
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #25627
  • cd97d418 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc