| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class PhpmndXmlDiffFilterTest extends TestCase |
||
| 8 | { |
||
| 9 | /** @var PhpMndXmlLoader */ |
||
|
|
|||
| 10 | private $mnd; |
||
| 11 | |||
| 12 | public function setUp() |
||
| 17 | } |
||
| 18 | |||
| 19 | public function testValidFiles() |
||
| 29 | } |
||
| 30 | |||
| 31 | public function testShowsErrorOnLine() |
||
| 32 | { |
||
| 33 | $this->mnd->parseLines(); |
||
| 34 | |||
| 35 | $this->assertNotEmpty( |
||
| 36 | $this->mnd->getErrorsOnLine('bin/test/test.php', 3) |
||
| 37 | ); |
||
| 38 | $this->assertEmpty( |
||
| 39 | $this->mnd->getErrorsOnLine('bin/test/test.php', 1) |
||
| 40 | ); |
||
| 41 | } |
||
| 42 | |||
| 43 | public function testFileNotFound() |
||
| 46 | } |
||
| 47 | } |
||
| 48 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths