1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
This commit is contained in:
MacFJA 2017-09-27 08:29:14 +02:00 committed by Matthew Brown
parent e6e7462362
commit 1c0bfc7e7a

View File

@ -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'));