Install psalm as dev, sync scripts updates

This commit is contained in:
Clemens Schwaighofer
2023-03-09 16:27:10 +09:00
parent 6bec59e387
commit feba79a2e8
2099 changed files with 283333 additions and 32 deletions

View File

@@ -0,0 +1,39 @@
<?php
namespace LanguageServerProtocol;
/**
* A notification to log the trace of the servers execution.
* The amount and content of these notifications depends on the
* current trace configuration. If trace is 'off', the server
* should not send any logTrace notification. If trace is
* 'messages', the server should not add the 'verbose' field in
* the LogTraceParams.
*
* $/logTrace should be used for systematic trace reporting.
* For single debugging messages, the server should send
* window/logMessage notifications.
*/
class LogTrace
{
/**
* The message to be logged.
*
* @var string
*/
public $message;
/**
* Additional information that can be computed if the `trace` configuration
* is set to `'verbose'`
*
* @var string|null
*/
public $verbose;
public function __construct(string $message, string $verbose = null)
{
$this->message = $message;
$this->verbose = $verbose;
}
}