GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 5305c0...e83c46 )
by Edi
13s
created

FieldEmptyExceptionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testExceptionThrow() 0 4 1
1
<?php
2
3
namespace Netgen\Bundle\OpenGraphBundle\Tests\Exception;
4
5
use Netgen\Bundle\OpenGraphBundle\Exception\FieldEmptyException;
6
use PHPUnit\Framework\TestCase;
7
8
class FieldEmptyExceptionTest extends TestCase
9
{
10
    /**
11
     * @expectedException \Netgen\Bundle\OpenGraphBundle\Exception\FieldEmptyException
12
     * @expectedExceptionMessage Field with identifier 'test' has empty value.
13
     */
14
    public function testExceptionThrow()
15
    {
16
        throw new FieldEmptyException('test');
17
    }
18
}
19