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

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

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

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 986.1 07 Apr 2019 01:58PM UTC 0
50.45
Travis Job 986.1
2 986.2 07 Apr 2019 01:58PM UTC 0
50.45
Travis Job 986.2
3 986.3 07 Apr 2019 01:59PM UTC 0
50.45
Travis Job 986.3
6 986.6 (COMPOSER_FLAGS="--prefer-lowest") 07 Apr 2019 02:01PM UTC 0
50.45
Travis Job 986.6
7 986.7 (SYMFONY=3.4.*) 07 Apr 2019 02:01PM UTC 0
50.45
Travis Job 986.7
8 986.8 (SONATA_CORE=3.*) 07 Apr 2019 02:02PM UTC 0
50.45
Travis Job 986.8
9 986.9 (SONATA_ADMIN=3.*) 07 Apr 2019 02:02PM UTC 0
50.45
Travis Job 986.9
12 986.12 (SONATA_CORE='dev-master as 3.x-dev') 07 Apr 2019 02:04PM UTC 0
50.45
Travis Job 986.12
14 986.14 (SYMFONY_DEPRECATIONS_HELPER=0) 07 Apr 2019 02:04PM UTC 0
50.45
Travis Job 986.14
Source Files on build 986
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #986
  • 1be65fa3 on github
  • Prev Build on 2.x (#984)
  • Next Build on 2.x (#988)
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