phpantom_lsp 0.7.0

Fast PHP language server with deep type intelligence. Generics, Laravel, PHPStan annotations. Ready in an instant.
Documentation
// test: assert on property instanceof narrows property type
// feature: completion
// Adapted from phpactor function/assert.properties.test
// expect: barMethod(
---
<?php

class Bar {
    public function barMethod(): void {}
}

class Foobar {
    public $foo;

    public function test(): void {
        assert($this->foo instanceof Bar);
        $this->foo-><>
    }
}