Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels