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

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

Build:
Build:
LAST BUILD BRANCH: v0.20151011
DEFAULT BRANCH: master
Repo Added 27 Jul 2017 06:09AM UTC
Files 15
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

LAST BUILD ON BRANCH 2.7
branch: 2.7
CHANGE BRANCH
x
Reset
  • 2.7
  • 2586-Replace-MapChange-Enum
  • asm
  • develop
  • escape-property-name
  • feature/b2
  • feature/refactor_xpcc_communication
  • gh-pages
  • jp-rsvp-app
  • master
  • one_less_lock
  • phplib-133
  • product_convergence
  • staging
  • travis-ci
  • v0.20151011

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

Relevant lines Covered
Build:
Build:
82 RELEVANT LINES 71 COVERED LINES
7.0 HITS PER LINE
Source Files on 2.7
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25627 2.7 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... push 29 Jul 2017 11:41PM UTC Fabien Potencier travis-ci pending completion  
See All Builds (45)
  • Repo 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

© 2025 Coveralls, Inc