phpantom_lsp 0.7.0

Fast PHP language server with deep type intelligence. Generics, Laravel, PHPStan annotations. Ready in an instant.
Documentation
// test: multiple @mixin tags contribute members from all mixed-in classes
// feature: completion
// Adapted from phpactor reflection/multiple_mixins.test
// expect: doA(
// expect: doC(
// expect: doB(
---
<?php

class A
{
    public function doA(): string
    {
        return 'hello';
    }
}

class C {
    public function doC(): int
    {
        return 123;
    }
}

/**
 * @mixin A
 * @mixin C
 */
class B
{
    public function doB(): void
    {
    }

    public function __call($name, $arguments)
    {
    }
}

$b = new B();
$b-><>