Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

phpstan/phpstan-php-parser

This branch is 1 commit ahead of, 9 commits behind 1.2.x.

Folders and files

NameName
Last commit message
Last commit date
Mar 13, 2023
May 30, 2022
Dec 6, 2021
Dec 6, 2021
Dec 6, 2021
May 14, 2021
Nov 11, 2017
May 14, 2021
Feb 8, 2022
May 14, 2021
Dec 12, 2020
Mar 15, 2023
Dec 6, 2021
Feb 8, 2022
Dec 6, 2021
Jan 30, 2022

Repository files navigation

PHP-Parser extension for PHPStan

Build 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