PHPantom version
phpantom_lsp 0.8.0-dirty
Installation method
Pre-built binary from GitHub Releases
Operating system
Linux x86_64
Editor
Neovim
Bug description
the phpstan rule for enforcing-class-inheritance-for-interfaces-and-traits and sealed-classes are missing.
missing rules:
- @phpstan-require-extends
- @phpstan-require-implements
- @phpstan-sealed
working rules: (although not highlighted like @var)
Steps to reproduce
<?php
declare(strict_types=1);
use App\ExampleClass;
/**
* @phpstan-require-extends ExampleClass
* @phpstan-require-implements ExampleClass
* @phpstan-sealed ExampleClass
*/
trait Trait {
}
Linting gives: Unused import 'App\ExampleClass' phpantom (unused_import) [5, 1]
Error output or panic trace
.phpantom.toml
Additional context
No response
PHPantom version
phpantom_lsp 0.8.0-dirty
Installation method
Pre-built binary from GitHub Releases
Operating system
Linux x86_64
Editor
Neovim
Bug description
the phpstan rule for enforcing-class-inheritance-for-interfaces-and-traits and sealed-classes are missing.
missing rules:
working rules: (although not highlighted like @var)
Steps to reproduce
Linting gives:
Unused import 'App\ExampleClass' phpantom (unused_import) [5, 1]Error output or panic trace
.phpantom.toml
Additional context
No response