Ran
|
Jobs
9
|
Files
30
|
Run time
9min
|
Badge
Embed ▾
README BADGES
|
cron
travis-ci
<a href="https://github.com/sonata-project/SonataTranslationBundle/commit/<a class=hub.com/sonata-project/SonataTranslationBundle/commit/1be65fa3d39ed779d0a6f711b5f80fc00209234b">1be65fa3d<a href="https://github.com/sonata-project/SonataTranslationBundle/commit/1be65fa3d39ed779d0a6f711b5f80fc00209234b">">Make it possible to create an admin without entity Currently when creating an admin with no entity (`~` as argument), the [get_class](https://github.com/storefront-bvba/SonataTranslationBundle/blob/</a><a class="double-link" href="https://github.com/sonata-project/SonataTranslationBundle/commit/<a class="double-link" href="https://github.com/sonata-project/SonataTranslationBundle/commit/af09eb0f51162ae05c5365835869f4ddfeed9a98">af09eb0f5</a>">af09eb0f5</a><a href="https://github.com/sonata-project/SonataTranslationBundle/commit/1be65fa3d39ed779d0a6f711b5f80fc00209234b">/src/DependencyInjection/Compiler/AdminExtensionCompilerPass.php#L36) throws `class_exists() expects parameter 1 to be string`. To overcome this I would first check if there's a model class and after that check if it exists.
226 of 446 relevant lines covered (50.67%)
9.61 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 983.1 | 30 |
50.45 |
Travis Job 983.1 | |
2 | 983.2 | 30 |
50.45 |
Travis Job 983.2 | |
3 | 983.3 | 30 |
50.45 |
Travis Job 983.3 | |
6 | 983.6 (COMPOSER_FLAGS="--prefer-lowest") | 30 |
50.45 |
Travis Job 983.6 | |
7 | 983.7 (SYMFONY=3.4.*) | 30 |
50.45 |
Travis Job 983.7 | |
8 | 983.8 (SONATA_CORE=3.*) | 30 |
50.45 |
Travis Job 983.8 | |
9 | 983.9 (SONATA_ADMIN=3.*) | 30 |
50.45 |
Travis Job 983.9 | |
12 | 983.12 (SONATA_CORE='dev-master as 3.x-dev') | 30 |
50.45 |
Travis Job 983.12 | |
14 | 983.14 (SYMFONY_DEPRECATIONS_HELPER=0) | 30 |
50.45 |
Travis Job 983.14 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|