phpantom_lsp 0.7.0

Fast PHP language server with deep type intelligence. Generics, Laravel, PHPStan annotations. Ready in an instant.
Documentation
// test: static:: context inside class method resolves own static members
// feature: completion
// Adapted from phpactor WorseClassMemberCompletorTest patterns
// expect: create(
// expect: MAX_RETRIES
---
<?php

class Factory
{
    const MAX_RETRIES = 3;

    public static function create(): self
    {
        return new self();
    }

    public function instanceOnly(): void {}

    public static function build(): void
    {
        static::<>
    }
}