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

sonata-project / SonataAdminBundle / 12255
79%
3.x: 76%

Build:
Build:
LAST BUILD BRANCH: test/test/test
DEFAULT BRANCH: 3.x
Ran 17 Mar 2020 11:32AM UTC
Jobs 4
Files 162
Run time 1min
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
12255

push

travis-ci

OskarStark
Simplify code, make it more strict

Before:

```php
public function supports(Request $request): bool
{
    if ($request->getPathInfo() != '/admin/login' || $request->getMethod() != 'POST') {
        return false;
    }
    return true;
}
```

After:

```php
public function supports(Request $request): bool
{
    return $request->attributes->get('_route') === 'admin_login' && $request->isMethod('POST');
}
```

4748 of 5863 relevant lines covered (80.98%)

44.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12255.1 (PATH="$HOME/.local/bin:$PATH" SYMFONY_DEPRECATIONS_HELPER=max[self]=0 TARGET=test UPSTREAM_URL=https://github.com/sonata-project/SonataAdminBundle.git PHPUNIT_VERSION=8) 17 Mar 2020 11:32AM UTC 0
80.98
Travis Job 12255.1
2 12255.2 (PATH="$HOME/.local/bin:$PATH" SYMFONY_DEPRECATIONS_HELPER=max[self]=0 TARGET=test UPSTREAM_URL=https://github.com/sonata-project/SonataAdminBundle.git PHPUNIT_VERSION=8) 17 Mar 2020 11:31AM UTC 0
80.86
Travis Job 12255.2
3 12255.3 (PATH="$HOME/.local/bin:$PATH" SYMFONY_DEPRECATIONS_HELPER=max[self]=0 TARGET=test UPSTREAM_URL=https://github.com/sonata-project/SonataAdminBundle.git PHPUNIT_VERSION=8 COMPOSER_FLAGS="--prefer-lowest") 17 Mar 2020 11:32AM UTC 0
79.28
Travis Job 12255.3
4 12255.4 (PATH="$HOME/.local/bin:$PATH" SYMFONY_DEPRECATIONS_HELPER=max[self]=0 TARGET=test UPSTREAM_URL=https://github.com/sonata-project/SonataAdminBundle.git PHPUNIT_VERSION=8 SYMFONY=4.4.*) 17 Mar 2020 11:31AM UTC 0
80.98
Travis Job 12255.4
Source Files on build 12255
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #12255
  • 1a3e2a44 on github
  • Prev Build on master (#12236)
  • Next Build on master (#12256)
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