-
Notifications
You must be signed in to change notification settings - Fork 696
Closed
Labels
Description
Hi!
It seems that this switch statement
psalm/src/Psalm/Internal/LanguageServer/LanguageServer.php
Lines 376 to 384 in bfce3a4
| switch ($severity) { | |
| case Config::REPORT_INFO: | |
| $diagnostic_severity = DiagnosticSeverity::WARNING; | |
| break; | |
| case Config::REPORT_ERROR: | |
| default: | |
| $diagnostic_severity = DiagnosticSeverity::ERROR; | |
| break; | |
| } |
is causing a confusion when using baseline. IDE will show "infos" as errors.
Here the originally created issue in repo of vscode plugin psalm/psalm-vscode-plugin#221.
In comments of this issue there are screenshots and link to minimal sample repo that I used to visualize the problem.
Reactions are currently unavailable