1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Suppress test issue

This commit is contained in:
Matthew Brown 2016-12-20 17:29:52 +00:00
parent e79dded17b
commit 5f332a5500
2 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,6 @@ class JsonOutputTest extends PHPUnit_Framework_TestCase
$config = new TestConfig();
$config->throw_exception = false;
$config->cache_directory = null;
$config->stop_on_first_error = false;
}

View File

@ -5,6 +5,9 @@ use Psalm\Config;
class TestConfig extends Config
{
/**
* @psalm-suppress InvalidPropertyAssignment because cache_directory isn't strictly nullable
*/
public function __construct()
{
parent::__construct();
@ -12,5 +15,6 @@ class TestConfig extends Config
$this->throw_exception = true;
$this->use_docblock_types = true;
$this->totally_typed = true;
$this->cache_directory = null;
}
}