Skip to content

Anonymous class support #663

@Taluu

Description

@Taluu

Currently, it seems that anonymous classes are not supported (or fully supported ?).

<?php
$foo = new class {
    public $bar;

    public function doFoo(): void
    {
    }
};

neither the property bar and method doFoo are recognized ? Using latest phpactor (from develop branch).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions