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

sonata-project / SonataTranslationBundle / 1000
53%
master: 53%

Build:
Build:
LAST BUILD BRANCH: 2.x
DEFAULT BRANCH: master
Ran 21 Apr 2019 01:55PM UTC
Jobs 9
Files 30
Run time 4min
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
1000

cron

travis-ci

greg0ire
<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">&quot;&gt;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

Jobs
ID Job ID Ran Files Coverage
1 1000.1 21 Apr 2019 01:55PM UTC 0
50.45
Travis Job 1000.1
2 1000.2 21 Apr 2019 01:55PM UTC 0
50.45
Travis Job 1000.2
3 1000.3 21 Apr 2019 01:55PM UTC 0
50.45
Travis Job 1000.3
6 1000.6 (COMPOSER_FLAGS="--prefer-lowest") 21 Apr 2019 01:58PM UTC 0
50.45
Travis Job 1000.6
7 1000.7 (SYMFONY=3.4.*) 21 Apr 2019 01:57PM UTC 0
50.45
Travis Job 1000.7
8 1000.8 (SONATA_CORE=3.*) 21 Apr 2019 01:58PM UTC 0
50.45
Travis Job 1000.8
9 1000.9 (SONATA_ADMIN=3.*) 21 Apr 2019 01:57PM UTC 0
50.45
Travis Job 1000.9
12 1000.12 (SONATA_CORE='dev-master as 3.x-dev') 21 Apr 2019 01:59PM UTC 0
50.45
Travis Job 1000.12
14 1000.14 (SYMFONY_DEPRECATIONS_HELPER=0) 21 Apr 2019 02:00PM UTC 0
50.45
Travis Job 1000.14
Source Files on build 1000
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1000
  • 1be65fa3 on github
  • Prev Build on 2.x (#998)
  • Next Build on 2.x (#1002)
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