Closed
Description
Bug report
The code below does not finish on phpstan.org
I hit this issue when trying to reproduce phpstan/phpstan-deprecation-rules#52 on phpstan.org.
https://3v4l.org/TeeAc confirms the code is valid
Code snippet that reproduces the problem
<?php declare(strict_types = 1);
trait T
{
public function x(): void
{
\PHPStan\dumpType(parent::class);
}
}
class A {}
class B extends A
{
use T;
}
new class() extends B
{
use T;
};
Expected output
analysis completes
Metadata
Metadata
Assignees
Labels
No labels