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

sonata-project / SonataAdminBundle / 8487
76%

Build:
DEFAULT BRANCH: 3.x
Ran 12 Dec 2017 07:24AM UTC
Jobs 13
Files 153
Run time 24min
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
8487

push

travis-ci

OskarStark
improvments on fetching current class (#4824)

There are different ways to get the current class of an entity. It can
either be the class of the active subclass (request query parameter
'subclass'), or the class of the subject, which the modelmanager would
serve for the current id. At least if both does not match the class is
the class passed as constructor parameter.
This is the behavior the getClass() method is created for and this is
the behavior the doc block in the interface describes. So the
change takes care to do so and also fixes fetching and computing the
subclass from its hash map. Other improvements:
- let it fail, when subclass does not exist in mapping array.
- getObject should use injected class
- break the loop by not using getter for subject in getClass()
- remove some more direct property usages

5376 of 7167 relevant lines covered (75.01%)

94.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8487.1 12 Dec 2017 07:21AM UTC 0
73.13
Travis Job 8487.1
2 8487.2 12 Dec 2017 07:20AM UTC 0
72.24
Travis Job 8487.2
3 8487.3 12 Dec 2017 07:22AM UTC 0
71.59
Travis Job 8487.3
4 8487.4 12 Dec 2017 07:22AM UTC 0
71.56
Travis Job 8487.4
7 8487.7 (COMPOSER_FLAGS="--prefer-lowest") 12 Dec 2017 07:30AM UTC 0
75.14
Travis Job 8487.7
8 8487.8 (SYMFONY=2.8.*) 12 Dec 2017 07:29AM UTC 0
74.5
Travis Job 8487.8
9 8487.9 (SYMFONY=3.2.*) 12 Dec 2017 07:29AM UTC 0
72.56
Travis Job 8487.9
10 8487.10 (SYMFONY=3.3.*) 12 Dec 2017 07:31AM UTC 0
72.26
Travis Job 8487.10
11 8487.11 (SYMFONY=3.4.*) 12 Dec 2017 07:33AM UTC 0
72.21
Travis Job 8487.11
12 8487.12 (SONATA_CORE=3.*) 12 Dec 2017 07:35AM UTC 0
71.56
Travis Job 8487.12
13 8487.13 (SONATA_BLOCK=3.*) 12 Dec 2017 07:35AM UTC 0
71.56
Travis Job 8487.13
15 8487.15 (SYMFONY='dev-master as 3.4.x-dev') 12 Dec 2017 07:40AM UTC 0
71.56
Travis Job 8487.15
18 8487.18 (SYMFONY_DEPRECATIONS_HELPER=0) 12 Dec 2017 07:42AM UTC 0
71.56
Travis Job 8487.18
Source Files on build 8487
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8487
  • a479e11e on github
  • Prev Build on 3.x (#8475)
  • Next Build on 3.x (#8491)
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