phpstan/phpstan-nette

PHP 7.2 support

xificurk opened this issue · 1 comments

Running phpstan-nette on php 7.2 fails with the following error:

Fatal error: Cannot use Nette\Object as Object because 'Object' is a special class name in /home/travis/build/nepada/security-annotations/vendor/phpstan/phpstan-nette/src/Reflection/Nette/NetteObjectClassReflectionExtension.php on line 5

I think the workaround is to use either FQN, or alias.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.