mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Fix call
This commit is contained in:
parent
e6e7462362
commit
1c0bfc7e7a
@ -214,7 +214,7 @@ somefile.php:2:43:error - Could not verify return type \'string|null\' for psalm
|
|||||||
IssueBuffer::getOutput(ProjectChecker::TYPE_XML, false)
|
IssueBuffer::getOutput(ProjectChecker::TYPE_XML, false)
|
||||||
);
|
);
|
||||||
|
|
||||||
IssueBuffer::finish($this->project_checker, true, null, ['somefile.php']);
|
IssueBuffer::finish($this->project_checker, true, null, ['somefile.php' => true]);
|
||||||
$this->assertFileExists(__DIR__ . '/test-report.json');
|
$this->assertFileExists(__DIR__ . '/test-report.json');
|
||||||
$this->assertSame('[]
|
$this->assertSame('[]
|
||||||
', file_get_contents(__DIR__ . '/test-report.json'));
|
', file_get_contents(__DIR__ . '/test-report.json'));
|
||||||
|
Loading…
Reference in New Issue
Block a user