Remove unneeded files
parent
4fc2a6c2e4
commit
aa6b729336
|
@ -1,24 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace LanguageServer\Protocol;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Diagnostics notification are sent from the server to the client to signal results
|
|
||||||
* of validation runs.
|
|
||||||
*/
|
|
||||||
class PublishDiagnosticsParams extends RequestParams
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* The URI for which diagnostic information is reported.
|
|
||||||
*
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
public $uri;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* An array of diagnostic information items.
|
|
||||||
*
|
|
||||||
* @var Diagnostic[]
|
|
||||||
*/
|
|
||||||
public $diagnostics;
|
|
||||||
}
|
|
|
@ -1,26 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace LanguageServer\Protocol;
|
|
||||||
|
|
||||||
use AdvancedJsonRpc\Notification;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Diagnostics notification are sent from the server to the client to signal results of validation runs.
|
|
||||||
*/
|
|
||||||
class PublishDiagnosticsNotification extends Notification
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* @var PublishDiagnosticsParams
|
|
||||||
*/
|
|
||||||
public $params;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param string $uri
|
|
||||||
* @param Diagnostic[] $diagnostics
|
|
||||||
*/
|
|
||||||
public function __construct(string $uri, array $diagnostics)
|
|
||||||
{
|
|
||||||
$this->method = 'textDocument/publishDiagnostics';
|
|
||||||
$this->params = $params;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,22 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace LanguageServer\Protocol\TextDocument;
|
|
||||||
|
|
||||||
use LanguageServer\Protocol\Params;
|
|
||||||
|
|
||||||
class PublishDiagnosticsParams extends Params
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* The URI for which diagnostic information is reported.
|
|
||||||
*
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
public $uri;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* An array of diagnostic information items.
|
|
||||||
*
|
|
||||||
* @var LanguageServer\Protocol\Diagnostic[]
|
|
||||||
*/
|
|
||||||
public $diagnostics;
|
|
||||||
}
|
|
Loading…
Reference in New Issue