We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 866e5e2 commit 52e155eCopy full SHA for 52e155e
bin/serve.php
@@ -77,7 +77,9 @@
77
private $log;
78
public function __construct()
79
{
80
+ /** @phpstan-ignore assign.propertyType */
81
$this->err = fopen('php://stderr', 'w');
82
83
$this->log = fopen('phpactor-lsp.log', 'w');
84
}
85
lib/Core/Server/LanguageServer.php
@@ -94,7 +94,7 @@ public function start(): Promise
94
public function run(): void
95
96
// Signals are not supported on Windows
97
- if(defined('SIGINT')) {
+ if (defined('SIGINT')) {
98
Loop::onSignal(SIGINT, function (string $watcherId) {
99
Loop::cancel($watcherId);
100
yield $this->shutdown();
0 commit comments