2016-12-14 18:28:38 +01:00
|
|
|
<?php
|
|
|
|
namespace Psalm\Tests;
|
|
|
|
|
|
|
|
use Psalm\Config;
|
|
|
|
|
|
|
|
class TestConfig extends Config
|
|
|
|
{
|
2016-12-20 18:29:52 +01:00
|
|
|
/**
|
|
|
|
* @psalm-suppress InvalidPropertyAssignment because cache_directory isn't strictly nullable
|
|
|
|
*/
|
2016-12-14 18:28:38 +01:00
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
parent::__construct();
|
2016-12-19 01:00:32 +01:00
|
|
|
|
|
|
|
$this->throw_exception = true;
|
|
|
|
$this->use_docblock_types = true;
|
2016-12-19 01:17:39 +01:00
|
|
|
$this->totally_typed = true;
|
2016-12-20 18:29:52 +01:00
|
|
|
$this->cache_directory = null;
|
2017-04-03 18:36:49 +02:00
|
|
|
|
|
|
|
$this->collectPredefinedConstants();
|
|
|
|
$this->collectPredefinedFunctions();
|
2016-12-14 18:28:38 +01:00
|
|
|
}
|
|
|
|
}
|