mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Merge pull request #6030 from weirdan/drop-FakeFileProvider-from-tests-folder
Drop FakeFileProvider from tests folder
This commit is contained in:
commit
dfe31c626b
@ -5,6 +5,7 @@ use Psalm\Config;
|
||||
use Psalm\Context;
|
||||
use Psalm\Exception\ConfigException;
|
||||
use Psalm\Internal\Analyzer\FileAnalyzer;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Internal\Scanner\FileScanner;
|
||||
use Psalm\Tests\Config\Plugin\FileTypeSelfRegisteringPlugin;
|
||||
@ -53,7 +54,7 @@ class ConfigTest extends \Psalm\Tests\TestCase
|
||||
public function setUp() : void
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
}
|
||||
|
||||
private function getProjectAnalyzerWithConfig(Config $config): \Psalm\Internal\Analyzer\ProjectAnalyzer
|
||||
|
@ -9,6 +9,7 @@ use Psalm\Config;
|
||||
use Psalm\Context;
|
||||
use Psalm\FileSource;
|
||||
use Psalm\Internal\IncludeCollector;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Plugin\EventHandler\AfterCodebasePopulatedInterface;
|
||||
use Psalm\Plugin\EventHandler\AfterEveryFunctionCallAnalysisInterface;
|
||||
@ -56,7 +57,7 @@ class PluginTest extends \Psalm\Tests\TestCase
|
||||
public function setUp() : void
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
}
|
||||
|
||||
private function getProjectAnalyzerWithConfig(Config $config): \Psalm\Internal\Analyzer\ProjectAnalyzer
|
||||
|
@ -9,6 +9,7 @@ use PHPUnit\Framework\Constraint\Constraint;
|
||||
use Psalm\Config;
|
||||
use Psalm\Context;
|
||||
use Psalm\DocComment;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
|
||||
@ -125,7 +126,7 @@ class DocumentationTest extends TestCase
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$this->project_analyzer = new \Psalm\Internal\Analyzer\ProjectAnalyzer(
|
||||
new TestConfig(),
|
||||
|
@ -2,6 +2,7 @@
|
||||
namespace Psalm\Tests\FileManipulation;
|
||||
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -17,7 +18,7 @@ class ClassConstantMoveTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2,6 +2,7 @@
|
||||
namespace Psalm\Tests\FileManipulation;
|
||||
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -17,7 +18,7 @@ class ClassMoveTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2,6 +2,7 @@
|
||||
namespace Psalm\Tests\FileManipulation;
|
||||
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -17,7 +18,7 @@ abstract class FileManipulationTestCase extends \Psalm\Tests\TestCase
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2,6 +2,7 @@
|
||||
namespace Psalm\Tests\FileManipulation;
|
||||
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -17,7 +18,7 @@ class MethodMoveTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2,6 +2,7 @@
|
||||
namespace Psalm\Tests\FileManipulation;
|
||||
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -17,7 +18,7 @@ class NamespaceMoveTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2,6 +2,7 @@
|
||||
namespace Psalm\Tests\FileManipulation;
|
||||
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -17,7 +18,7 @@ class PropertyMoveTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2,6 +2,7 @@
|
||||
namespace Psalm\Tests;
|
||||
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
|
||||
@ -17,7 +18,7 @@ class FileReferenceTest extends TestCase
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$this->project_analyzer = new \Psalm\Internal\Analyzer\ProjectAnalyzer(
|
||||
new TestConfig(),
|
||||
|
@ -2,6 +2,7 @@
|
||||
namespace Psalm\Tests\FileUpdates;
|
||||
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\Provider\Providers;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -18,7 +19,7 @@ class AnalyzedMethodTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->file_provider = new \Psalm\Tests\Internal\Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$config = new TestConfig();
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
namespace Psalm\Tests\FileUpdates;
|
||||
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\Provider\Providers;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -18,7 +19,7 @@ class CachedStorageTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->file_provider = new \Psalm\Tests\Internal\Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$config = new TestConfig();
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
namespace Psalm\Tests\FileUpdates;
|
||||
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\Provider\Providers;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -19,7 +20,7 @@ class ErrorAfterUpdateTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->file_provider = new \Psalm\Tests\Internal\Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$config = new TestConfig();
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
namespace Psalm\Tests\FileUpdates;
|
||||
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\Provider\Providers;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -18,7 +19,7 @@ class ErrorFixTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->file_provider = new \Psalm\Tests\Internal\Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$config = new TestConfig();
|
||||
$config->throw_exception = false;
|
||||
|
@ -2,6 +2,7 @@
|
||||
namespace Psalm\Tests\FileUpdates;
|
||||
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\Provider\Providers;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -20,7 +21,7 @@ class TemporaryUpdateTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->file_provider = new \Psalm\Tests\Internal\Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$config = new TestConfig();
|
||||
$config->throw_exception = false;
|
||||
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Psalm\Tests\Internal\Provider;
|
||||
|
||||
class FakeFileProvider extends \Psalm\Internal\Provider\FakeFileProvider
|
||||
{
|
||||
}
|
@ -3,6 +3,7 @@ namespace Psalm\Tests;
|
||||
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\IssueBuffer;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
@ -16,7 +17,7 @@ class JsonOutputTest extends TestCase
|
||||
// `TestCase::setUp()` creates its own ProjectAnalyzer and Config instance, but we don't want to do that in this
|
||||
// case, so don't run a `parent::setUp()` call here.
|
||||
RuntimeCaches::clearAll();
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$config = new TestConfig();
|
||||
$config->throw_exception = false;
|
||||
|
@ -4,6 +4,7 @@ namespace Psalm\Tests\LanguageServer;
|
||||
use LanguageServerProtocol\Position;
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\Provider\Providers;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -17,7 +18,7 @@ class CompletionTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->file_provider = new \Psalm\Tests\Internal\Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$config = new TestConfig();
|
||||
|
||||
|
@ -3,6 +3,7 @@ namespace Psalm\Tests\LanguageServer;
|
||||
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\Provider\Providers;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -13,7 +14,7 @@ class FileMapTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->file_provider = new \Psalm\Tests\Internal\Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$config = new TestConfig();
|
||||
|
||||
|
@ -5,6 +5,7 @@ use LanguageServerProtocol\Position;
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Analyzer\FileAnalyzer;
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\Provider\Providers;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
use Psalm\Tests\TestConfig;
|
||||
@ -15,7 +16,7 @@ class SymbolLookupTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->file_provider = new \Psalm\Tests\Internal\Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$config = new TestConfig();
|
||||
|
||||
|
@ -3,6 +3,7 @@ namespace Psalm\Tests;
|
||||
|
||||
use Psalm\Config;
|
||||
use Psalm\Internal\IncludeCollector;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Plugin\EventHandler\AfterCodebasePopulatedInterface;
|
||||
use Psalm\Plugin\EventHandler\Event\AfterCodebasePopulatedEvent;
|
||||
@ -45,7 +46,7 @@ class ProjectCheckerTest extends TestCase
|
||||
public function setUp() : void
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
}
|
||||
|
||||
private function getProjectAnalyzerWithConfig(Config $config): \Psalm\Internal\Analyzer\ProjectAnalyzer
|
||||
|
@ -5,6 +5,7 @@ namespace Psalm\Tests;
|
||||
use DOMDocument;
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\IssueBuffer;
|
||||
use Psalm\Report;
|
||||
@ -26,7 +27,7 @@ class ReportOutputTest extends TestCase
|
||||
// `TestCase::setUp()` creates its own ProjectAnalyzer and Config instance, but we don't want to do that in this
|
||||
// case, so don't run a `parent::setUp()` call here.
|
||||
RuntimeCaches::clearAll();
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$config = new TestConfig();
|
||||
$config->throw_exception = false;
|
||||
|
@ -4,6 +4,7 @@ namespace Psalm\Tests;
|
||||
use Psalm\Config;
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\IncludeCollector;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
|
||||
@ -37,7 +38,7 @@ class StubTest extends TestCase
|
||||
public function setUp() : void
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
}
|
||||
|
||||
private function getProjectAnalyzerWithConfig(Config $config): \Psalm\Internal\Analyzer\ProjectAnalyzer
|
||||
|
@ -5,6 +5,7 @@ use PHPUnit\Framework\TestCase as BaseTestCase;
|
||||
use Psalm\Config;
|
||||
use Psalm\Internal\Analyzer\FileAnalyzer;
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\Provider\Providers;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
@ -26,7 +27,7 @@ class TestCase extends BaseTestCase
|
||||
/** @var ProjectAnalyzer */
|
||||
protected $project_analyzer;
|
||||
|
||||
/** @var Provider\FakeFileProvider */
|
||||
/** @var FakeFileProvider */
|
||||
protected $file_provider;
|
||||
|
||||
/** @var Config */
|
||||
@ -59,7 +60,7 @@ class TestCase extends BaseTestCase
|
||||
|
||||
RuntimeCaches::clearAll();
|
||||
|
||||
$this->file_provider = new \Psalm\Tests\Internal\Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$this->testConfig = $this->makeConfig();
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
namespace Psalm\Tests;
|
||||
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
|
||||
class TypeComparatorTest extends TestCase
|
||||
@ -8,7 +9,7 @@ class TypeComparatorTest extends TestCase
|
||||
public function setUp() : void
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
$this->file_provider = new \Psalm\Tests\Internal\Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$config = new TestConfig();
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
namespace Psalm\Tests;
|
||||
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Type;
|
||||
|
||||
@ -14,7 +15,7 @@ class TypeParseTest extends TestCase
|
||||
public function setUp() : void
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
$this->file_provider = new \Psalm\Tests\Internal\Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$config = new TestConfig();
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
namespace Psalm\Tests\TypeReconciliation;
|
||||
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
|
||||
class ValueTest extends \Psalm\Tests\TestCase
|
||||
@ -12,7 +13,7 @@ class ValueTest extends \Psalm\Tests\TestCase
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
|
||||
$this->file_provider = new \Psalm\Tests\Internal\Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$this->project_analyzer = new \Psalm\Internal\Analyzer\ProjectAnalyzer(
|
||||
new \Psalm\Tests\TestConfig(),
|
||||
|
@ -3,6 +3,7 @@ namespace Psalm\Tests;
|
||||
|
||||
use Psalm\Config;
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
|
||||
@ -15,7 +16,7 @@ class UnusedCodeTest extends TestCase
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$this->project_analyzer = new \Psalm\Internal\Analyzer\ProjectAnalyzer(
|
||||
new TestConfig(),
|
||||
|
@ -3,6 +3,7 @@ namespace Psalm\Tests;
|
||||
|
||||
use Psalm\Config;
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\Provider\FakeFileProvider;
|
||||
use Psalm\Internal\RuntimeCaches;
|
||||
use Psalm\Tests\Internal\Provider;
|
||||
|
||||
@ -20,7 +21,7 @@ class UnusedVariableTest extends TestCase
|
||||
{
|
||||
RuntimeCaches::clearAll();
|
||||
|
||||
$this->file_provider = new Provider\FakeFileProvider();
|
||||
$this->file_provider = new FakeFileProvider();
|
||||
|
||||
$this->project_analyzer = new \Psalm\Internal\Analyzer\ProjectAnalyzer(
|
||||
new TestConfig(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user