Skip to content

Commit

Permalink
Cosmetic changes for VSCode
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Jul 26, 2023
1 parent 420394f commit 9f90633
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Psalm/Internal/LanguageServer/LanguageServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ function () use ($workDoneToken) {
$progress = $this->client->makeProgress($workDoneToken ?? uniqid('tkn'));

$this->logInfo("Initializing...");
$progress->begin('Initialization', 'Starting');
$progress->begin('Psalm', 'initializing');

// Eventually, this might block on something. Leave it as a generator.
/** @psalm-suppress TypeDoesNotContainType */
Expand All @@ -430,14 +430,14 @@ function () use ($workDoneToken) {
$this->project_analyzer->serverMode($this);

$this->logInfo("Initializing: Getting code base...");
$progress->update('Getting code base');
$progress->update('getting code base');

$this->logInfo("Initializing: Scanning files ({$this->project_analyzer->threads} Threads)...");
$progress->update('Scanning files');
$progress->update('scanning files');
$this->codebase->scanFiles($this->project_analyzer->threads);

$this->logInfo("Initializing: Registering stub files...");
$progress->update('Registering stub files');
$progress->update('registering stub files');
$this->codebase->config->visitStubFiles($this->codebase, $this->project_analyzer->progress);

if ($this->textDocument === null) {
Expand Down Expand Up @@ -577,7 +577,7 @@ function () use ($workDoneToken) {
}

$this->logInfo("Initializing: Complete.");
$progress->end('Initialized');
$progress->end('initialized');

/**
* Information about the server.
Expand Down

0 comments on commit 9f90633

Please sign in to comment.