Skip to content

Commit

Permalink
Merge pull request #7256 from tm1000/feature/remove-is-not-in-project…
Browse files Browse the repository at this point in the history
…-warnings
  • Loading branch information
weirdan committed Jan 2, 2022
2 parents 074151e + 6e32e96 commit 047859b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Psalm/Internal/LanguageServer/Server/TextDocument.php
Expand Up @@ -80,7 +80,6 @@ public function didOpen(TextDocumentItem $textDocument): void
$file_path = LanguageServer::uriToPath($textDocument->uri);

if (!$this->codebase->config->isInProjectDirs($file_path)) {
$this->server->verboseLog($file_path . ' is not in project');
return;
}

Expand All @@ -99,7 +98,6 @@ public function didSave(TextDocumentItem $textDocument): void
$file_path = LanguageServer::uriToPath($textDocument->uri);

if (!$this->codebase->config->isInProjectDirs($file_path)) {
$this->server->verboseLog($file_path . ' is not in project');
return;
}

Expand All @@ -121,7 +119,6 @@ public function didChange(VersionedTextDocumentIdentifier $textDocument, array $
$file_path = LanguageServer::uriToPath($textDocument->uri);

if (!$this->codebase->config->isInProjectDirs($file_path)) {
$this->server->verboseLog($file_path . ' is not in project');
return;
}

Expand Down

0 comments on commit 047859b

Please sign in to comment.