2017 © Pedro Peláez
 

library phpstan-php-parser

PHP-Parser extensions for PHPStan

image

phpstan/phpstan-php-parser

PHP-Parser extensions for PHPStan

  • Tuesday, May 22, 2018
  • by ondrejmirtes
  • Repository
  • 6 Watchers
  • 7 Stars
  • 13,825 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 46 % Grown

The README.md

⚠️ 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. ⚠️, (*1)

PHP-Parser extension for PHPStan

Build Latest Stable Version License, (*2)

This extension provides the following feature:, (*3)

  • 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:, (*4)

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

If you also install phpstan/extension-installer then you're all set!, (*5)

Manual installation
, (*6)

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

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

, (*8)

The Versions