Issues (37)

tests/Loaders/PhanJsonTest.php (1 issue)

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