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

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

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

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.

1 of 1 new or added line in 1 file covered. (100.0%)

226 of 446 relevant lines covered (50.67%)

9.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 984.1 05 Apr 2019 01:57PM UTC 0
50.45
Travis Job 984.1
2 984.2 05 Apr 2019 01:57PM UTC 0
50.45
Travis Job 984.2
3 984.3 05 Apr 2019 01:59PM UTC 0
50.45
Travis Job 984.3
6 984.6 (COMPOSER_FLAGS="--prefer-lowest") 05 Apr 2019 02:01PM UTC 0
50.45
Travis Job 984.6
7 984.7 (SYMFONY=3.4.*) 05 Apr 2019 02:01PM UTC 0
50.45
Travis Job 984.7
8 984.8 (SONATA_CORE=3.*) 05 Apr 2019 02:01PM UTC 0
50.45
Travis Job 984.8
9 984.9 (SONATA_ADMIN=3.*) 05 Apr 2019 02:03PM UTC 0
50.45
Travis Job 984.9
12 984.12 (SONATA_CORE='dev-master as 3.x-dev') 05 Apr 2019 02:04PM UTC 0
50.45
Travis Job 984.12
14 984.14 (SYMFONY_DEPRECATIONS_HELPER=0) 05 Apr 2019 02:05PM UTC 0
50.45
Travis Job 984.14
Source Files on build 984
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #984
  • 1be65fa3 on github
  • Prev Build on 2.x (#983)
  • Next Build on 2.x (#986)
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