PHP-Parser extensions for PHPStan

Installs: 288 166

Dependents: 10

Suggesters: 1

Security: 0

Stars: 15

Watchers: 6

Forks: 4

Open Issues: 1


0.12.2 2020-07-21 14:50 UTC

This package is auto-updated.

Last update: 2020-10-01 11:18:10 UTC


Build Status Latest Stable Version License

This extension provides the following feature:

  • If you register PhpParser\NodeVisitor\NameResolver visitor on PhpParser\NodeTraverser, new $namespacedName property becomes available on nodes that already have a $name property. This extension defines that property.


To use this extension, require it in Composer:

composer require --dev phpstan/phpstan-php-parser

If you also install phpstan/extension-installer then you're all set!

Manual installation

If you don't want to use phpstan/extension-installer, include extension.neon in your project's PHPStan config:

    - vendor/phpstan/phpstan-php-parser/extension.neon