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

sonata-project / SonataAdminBundle / 9186
76%

Build:
DEFAULT BRANCH: 3.x
Ran 14 May 2018 09:26PM UTC
Jobs 12
Files 159
Run time 30min
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
9186

push

travis-ci

greg0ire
Removed new warning produced by PHP7.2


As mentioned in this Stack Overflow post (https://stackoverflow.com/a/49752124/2087724) this small PR fixes the new warning produced by the latest release of PHP7.2.

The warning looks like the following: `get_class() expects parameter 1 to be object, null given`

Official php documentation link: http://php.net/manual/en/function.get-class.php

Extract from the documentation:
```
Note: Explicitly passing NULL as the object is no longer allowed as of PHP 7.2.0. The parameter is still optional and calling get_class() without a parameter from inside a class will work, but passing NULL now emits an E_WARNING notice.
```

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

5777 of 7477 relevant lines covered (77.26%)

99.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
100.0
src/Admin/BaseFieldDescription.php
Jobs
ID Job ID Ran Files Coverage
1 9186.1 14 May 2018 09:19PM UTC 0
75.42
Travis Job 9186.1
2 9186.2 14 May 2018 09:19PM UTC 0
74.59
Travis Job 9186.2
3 9186.3 14 May 2018 09:19PM UTC 0
74.59
Travis Job 9186.3
4 9186.4 14 May 2018 09:22PM UTC 0
74.6
Travis Job 9186.4
7 9186.7 (COMPOSER_FLAGS="--prefer-lowest") 14 May 2018 09:29PM UTC 0
77.45
Travis Job 9186.7
8 9186.8 (SYMFONY=2.8.*) 14 May 2018 09:29PM UTC 0
76.89
Travis Job 9186.8
9 9186.9 (SYMFONY=3.3.*) 14 May 2018 09:33PM UTC 0
74.64
Travis Job 9186.9
10 9186.10 (SYMFONY=3.4.*) 14 May 2018 09:38PM UTC 0
74.6
Travis Job 9186.10
11 9186.11 (SONATA_CORE=3.*) 14 May 2018 09:39PM UTC 0
74.6
Travis Job 9186.11
12 9186.12 (SONATA_BLOCK=3.*) 14 May 2018 09:41PM UTC 0
74.6
Travis Job 9186.12
14 9186.14 (SYMFONY='dev-master as 3.4.x-dev') 14 May 2018 09:48PM UTC 0
74.6
Travis Job 9186.14
17 9186.17 (SYMFONY_DEPRECATIONS_HELPER=0) 14 May 2018 09:49PM UTC 0
74.6
Travis Job 9186.17
Source Files on build 9186
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9186
  • 3ee43cf9 on github
  • Prev Build on 3.x (#9184)
  • Next Build on 3.x (#9190)
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