|
Ran
|
Jobs
9
|
Files
30
|
Run time
31min
|
Badge
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 | 1002.1 | 0 |
50.45 |
Travis Job 1002.1 | |
| 2 | 1002.2 | 0 |
50.45 |
Travis Job 1002.2 | |
| 3 | 1002.3 | 0 |
50.45 |
Travis Job 1002.3 | |
| 6 | 1002.6 (COMPOSER_FLAGS="--prefer-lowest") | 0 |
50.45 |
Travis Job 1002.6 | |
| 7 | 1002.7 (SYMFONY=3.4.*) | 0 |
50.45 |
Travis Job 1002.7 | |
| 8 | 1002.8 (SONATA_CORE=3.*) | 0 |
50.45 |
Travis Job 1002.8 | |
| 9 | 1002.9 (SONATA_ADMIN=3.*) | 0 |
50.45 |
Travis Job 1002.9 | |
| 12 | 1002.12 (SONATA_CORE='dev-master as 3.x-dev') | 0 |
50.45 |
Travis Job 1002.12 | |
| 14 | 1002.14 (SYMFONY_DEPRECATIONS_HELPER=0) | 0 |
50.45 |
Travis Job 1002.14 |