Skip to content

Commit

Permalink
Choose correct type of coverage for phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
exussum12 committed Jul 25, 2017
1 parent 6d51fdf commit 33fa735
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PhpStanLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function isValidLine($file, $lineNumber)
*/
public function handleNotFoundFile()
{
return null;
return true;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/PhpStanTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ public function testInvalidLine()

public function testNotFoundFile()
{
$this->assertNull($this->stan->handleNotFoundFile());
$this->assertTrue($this->stan->handleNotFoundFile());
}
}

0 comments on commit 33fa735

Please sign in to comment.