1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

additional fixes

This commit is contained in:
Andrew Nagy 2022-12-20 21:25:04 +00:00
parent f1b0c4fa6d
commit 30f8331da6
2 changed files with 6 additions and 15 deletions

View File

@ -30,28 +30,21 @@ use const DIRECTORY_SEPARATOR;
class AsyncTestCase extends BaseAsyncTestCase
{
/** @var string */
protected static $src_dir_path;
/** @var ProjectAnalyzer */
protected $project_analyzer;
/** @var FakeFileProvider */
protected $file_provider;
/** @var Config */
protected $testConfig;
protected static string $src_dir_path;
protected ProjectAnalyzer $project_analyzer;
protected FakeFileProvider $file_provider;
protected Config $testConfig;
public static function setUpBeforeClass(): void
{
ini_set('memory_limit', '-1');
if (!defined('PSALM_VERSION')) {
define('PSALM_VERSION', '4.0.0');
define('PSALM_VERSION', '5.0.0');
}
if (!defined('PHP_PARSER_VERSION')) {
define('PHP_PARSER_VERSION', '4.0.0');
define('PHP_PARSER_VERSION', '5.0.0');
}
parent::setUpBeforeClass();

View File

@ -28,8 +28,6 @@ class DiagnosticTest extends AsyncTestCase
{
protected Codebase $codebase;
private int $increment = 0;
protected ProjectAnalyzer $project_analyzer;
protected FakeFileProvider $file_provider;
public function setUp(): void
{