phpantom_lsp 0.7.0

Fast PHP language server with deep type intelligence. Generics, Laravel, PHPStan annotations. Ready in an instant.
Documentation
// test: instanceof with namespaced types resolves correctly
// feature: completion
// Adapted from phpactor if-statement/namespace.test

// expect: bazMethod(
// expect: booMethod(
---
<?php

namespace Barfoo;

class Baz {
    public function bazMethod(): void {}
}

class Boo {
    public function booMethod(): void {}
}

function test($foo): void {
    if ($foo instanceof Baz || $foo instanceof Boo) {
        $foo-><>
    }
}