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:
parent
e79dded17b
commit
5f332a5500
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user