mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 10:07:52 +01:00
cleanup
This commit is contained in:
parent
221eecf2e3
commit
fc4c98050e
@ -3,7 +3,6 @@
|
||||
namespace Psalm\Internal\Cli;
|
||||
|
||||
use LanguageServerProtocol\MessageType;
|
||||
use Psalm\Config;
|
||||
use Psalm\Internal\CliUtils;
|
||||
use Psalm\Internal\ErrorHandler;
|
||||
use Psalm\Internal\Fork\PsalmRestarter;
|
||||
@ -379,6 +378,6 @@ final class LanguageServer
|
||||
$clientConfiguration->TCPServerAddress = $options['tcp'] ?? null;
|
||||
$clientConfiguration->TCPServerMode = isset($options['tcp-server']);
|
||||
|
||||
LanguageServerLanguageServer::run($config, $clientConfiguration, $current_dir);
|
||||
LanguageServerLanguageServer::run($config, $clientConfiguration;
|
||||
}
|
||||
}
|
||||
|
@ -240,7 +240,7 @@ class LanguageServer extends Dispatcher
|
||||
/**
|
||||
* Start the Server
|
||||
*/
|
||||
public static function run(Config $config, ClientConfiguration $clientConfiguration, string $base_dir): void
|
||||
public static function run(Config $config, ClientConfiguration $clientConfiguration): void
|
||||
{
|
||||
$progress = new Progress();
|
||||
|
||||
|
@ -8,6 +8,8 @@ use Psalm\Internal\Provider\FileReferenceCacheProvider as InternalFileReferenceC
|
||||
/**
|
||||
* Used to determine which files reference other files, necessary for using the --diff
|
||||
* option from the command line.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class FileReferenceCacheProvider extends InternalFileReferenceCacheProvider
|
||||
{
|
||||
|
@ -4,6 +4,9 @@ namespace Psalm\Internal\LanguageServer\Provider;
|
||||
|
||||
use Psalm\Internal\Provider\ProjectCacheProvider as PsalmProjectCacheProvider;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
class ProjectCacheProvider extends PsalmProjectCacheProvider
|
||||
{
|
||||
private int $last_run = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user