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

sonata-project / SonataAdminBundle / 9524
76%

Build:
DEFAULT BRANCH: 3.x
Ran 28 Aug 2018 05:29AM UTC
Jobs 11
Files 166
Run time 38min
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
9524

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)

4867 of 6237 relevant lines covered (78.03%)

109.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9524.1 28 Aug 2018 05:21AM UTC 0
75.99
Travis Job 9524.1
2 9524.2 28 Aug 2018 05:20AM UTC 0
75.15
Travis Job 9524.2
3 9524.3 28 Aug 2018 05:21AM UTC 0
75.15
Travis Job 9524.3
4 9524.4 28 Aug 2018 05:22AM UTC 0
75.16
Travis Job 9524.4
7 9524.7 (COMPOSER_FLAGS="--prefer-lowest") 28 Aug 2018 05:32AM UTC 0
77.99
Travis Job 9524.7
8 9524.8 (SYMFONY=2.8.*) 28 Aug 2018 05:33AM UTC 0
77.43
Travis Job 9524.8
9 9524.9 (SYMFONY=3.3.*) 28 Aug 2018 05:38AM UTC 0
75.23
Travis Job 9524.9
10 9524.10 (SYMFONY=3.4.*) 28 Aug 2018 05:39AM UTC 0
75.16
Travis Job 9524.10
11 9524.11 (SONATA_CORE=3.*) 28 Aug 2018 05:41AM UTC 0
75.16
Travis Job 9524.11
12 9524.12 (SONATA_BLOCK=3.*) 28 Aug 2018 05:43AM UTC 0
75.16
Travis Job 9524.12
17 9524.17 (SYMFONY_DEPRECATIONS_HELPER=0) 28 Aug 2018 05:50AM UTC 0
75.16
Travis Job 9524.17
Source Files on build 9524
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9524
  • da170a35 on github
  • Prev Build on 3.x (#9521)
  • Next Build on 3.x (#9526)
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