PHP-Parser extensions for PHPStan
⚠️ This extension is no longer maintained.
nikic/PHP-Parser has all the correct types in its source code, so this extension is no longer needed. ⚠️
This extension provides the following feature:
- If you register
$namespacedNameproperty becomes available on nodes that already have a
$nameproperty. 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!
If you don't want to use
phpstan/extension-installer, include extension.neon in your project's PHPStan config: