PHPantom version
0.9.0-86-g01cbcab
Installation method
Built from source
Operating system
Linux x86_64
Editor
Zed
Bug description
When using a Trait that includes an abstract method, PHPantom does not report any error when the method is not implemented properly.
Steps to reproduce
trait Foo
{
abstract protected function foo();
}
class Bar
{
use Foo;
// No error
}
Error output or panic trace
.phpantom.toml
Additional context
Error should be on the trait or the class name... or both. Personally I prefer both: the implementor, and the culprit.
PHPantom version
0.9.0-86-g01cbcab
Installation method
Built from source
Operating system
Linux x86_64
Editor
Zed
Bug description
When using a Trait that includes an
abstractmethod, PHPantom does not report any error when the method is not implemented properly.Steps to reproduce
Error output or panic trace
.phpantom.toml
defaultAdditional context
Error should be on the trait or the class name... or both. Personally I prefer both: the implementor, and the culprit.