Ran
|
Jobs
9
|
Files
30
|
Run time
5min
|
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 | 981.1 | 30 |
50.45 |
Travis Job 981.1 | |
2 | 981.2 | 30 |
50.45 |
Travis Job 981.2 | |
3 | 981.3 | 30 |
50.45 |
Travis Job 981.3 | |
6 | 981.6 (COMPOSER_FLAGS="--prefer-lowest") | 30 |
50.45 |
Travis Job 981.6 | |
7 | 981.7 (SYMFONY=3.4.*) | 30 |
50.45 |
Travis Job 981.7 | |
8 | 981.8 (SONATA_CORE=3.*) | 30 |
50.45 |
Travis Job 981.8 | |
9 | 981.9 (SONATA_ADMIN=3.*) | 30 |
50.45 |
Travis Job 981.9 | |
12 | 981.12 (SONATA_CORE='dev-master as 3.x-dev') | 30 |
50.45 |
Travis Job 981.12 | |
14 | 981.14 (SYMFONY_DEPRECATIONS_HELPER=0) | 30 |
50.45 |
Travis Job 981.14 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|