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

sonata-project / SonataAdminBundle / 9524 / 2
76%
3.x: 76%

Build:
DEFAULT BRANCH: 3.x
Ran 28 Aug 2018 05:29AM UTC
Files 166
Run time 9s
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

28 Aug 2018 04:55AM UTC coverage: 75.152% (+0.05%) from 75.105%
9524.2

push

travis-ci

OskarStark
fixing negative result getNbResults, if there are not results (#5133)

Using SimplePager, if there are no items getNbResults is returning negative number because init was setting setLastPage to 0 (which is not right, because there can't be 0-page, it's always first page) and when getNbResults was called following code is executed $n = ceil(($this->getLastPage() - 1) * $this->getMaxPerPage()); and we are getting -32 (if 32 is per page)

4821 of 6415 relevant lines covered (75.15%)

9.73 hits per line

Source Files on job 9524.2
  • Tree
  • List 0
  • Changed 102
  • Source Changed 23
  • Coverage Changed 102
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9075
  • Travis Job 9524.2
  • da170a35 on github
  • Prev Job for on 3.x (#9521.2)
  • Next Job for on 3.x (#9526.2)
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