PhanJsonTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
1
<?php
2
namespace exussum12\CoverageChecker\tests\Loaders;
3
4
use exussum12\CoverageChecker\Loaders\PhanJson;
5
6
class PhanJsonTest extends PhanTextTest
7
{
8
    /** @var  PhanJsonTest */
9
    protected $phan;
10
    protected function setUp()
11
    {
12
        parent::setUp();
13
        $this->phan = new PhanJson(__DIR__ . '/../fixtures/phan.json');
0 ignored issues
show
Documentation Bug introduced by
It seems like new exussum12\CoverageCh...../fixtures/phan.json') of type exussum12\CoverageChecker\Loaders\PhanJson is incompatible with the declared type exussum12\CoverageChecke...ts\Loaders\PhanJsonTest of property $phan.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
14
    }
15
}
16