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

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

Build:
DEFAULT BRANCH: 3.x
Ran 28 Aug 2018 05:48AM UTC
Files 166
Run time 10s
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.156% (+0.05%) from 75.109%
SONATA_CORE=3.*

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)

4822 of 6416 relevant lines covered (75.16%)

9.74 hits per line

Source Files on job 9524.11 (SONATA_CORE=3.*)
  • Tree
  • List 0
  • Changed 17
  • Source Changed 16
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9075
  • Travis Job 9524.11
  • da170a35 on github
  • Prev Job for SONATA_CORE=3.* on 3.x (#9521.11)
  • Next Job for SONATA_CORE=3.* on 3.x (#9526.11)
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