Skip to content

phpstan.org is crashing #6442

Closed
phpstan/phpstan-src
#946
@mvorisek

Description

@mvorisek

Bug report

The code below does not finish on phpstan.org

image

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions