The Wayback Machine - https://web.archive.org/web/20200612052332/https://github.com/phpstan/phpstan-php-parser
Skip to content
PHP-Parser extension for PHPStan
PHP
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Reflection/PHPParser Fixed compatibility with PHPStan 0.12 Nov 23, 2019
tests Fixed build Nov 23, 2019
.editorconfig First working version Nov 11, 2017
.gitattributes First working version Nov 11, 2017
.gitignore First working version Nov 11, 2017
.travis.yml Remove ComposerRequireChecker Nov 23, 2019
README.md Update README.md Apr 16, 2020
build.xml Enhancement: Run ergebnis/composer-normalize in check target Dec 20, 2019
composer.json Package does not depend on nikic/php-parser Jan 1, 2020
extension.neon First working version Nov 11, 2017
phpcs.xml Updated coding standard Apr 3, 2018
phpstan.neon Test with bleeding edge May 12, 2019

README.md

PHP-Parser extension for PHPStan

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.

Installation

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:

includes:
    - vendor/phpstan/phpstan-php-parser/extension.neon
You can’t perform that action at this time.