Skip to content

autocomplete: classes shows up when implementing interfaces #105

@pnx

Description

@pnx

PHPantom version

18aff5b

Installation method

Built from source

Operating system

Linux x86_64

Editor

Neovim

Bug description

When implementing a interface for a class. autocomplete has other classes in the results. expected to only have interfaces in this context.

Image

Steps to reproduce

  1. Create a file:
<?php

namespace App\Support;

class Test implements <cursor>
{

}
  1. trigger autocomplete at cursor.

Error output or panic trace


.phpantom.toml

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions