mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
24 lines
524 B
PHP
24 lines
524 B
PHP
<?php
|
|
namespace Psalm\Tests;
|
|
|
|
use Psalm\Config;
|
|
|
|
class TestConfig extends Config
|
|
{
|
|
/**
|
|
* @psalm-suppress InvalidPropertyAssignment because cache_directory isn't strictly nullable
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
|
|
$this->throw_exception = true;
|
|
$this->use_docblock_types = true;
|
|
$this->totally_typed = true;
|
|
$this->cache_directory = null;
|
|
|
|
$this->collectPredefinedConstants();
|
|
$this->collectPredefinedFunctions();
|
|
}
|
|
}
|