You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 19, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,17 +11,23 @@ This extension provides the following feature:
11
11
12
12
* 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.
13
13
14
-
## Usage
14
+
## Installation
15
15
16
16
To use this extension, require it in [Composer](https://getcomposer.org/):
17
17
18
18
```
19
19
composer require --dev phpstan/phpstan-php-parser
20
20
```
21
21
22
-
And include extension.neon in your project's PHPStan config:
22
+
If you also install [phpstan/extension-installer](https://github.com/phpstan/extension-installer) then you're all set!
23
+
24
+
<details>
25
+
<summary>Manual installation</summary>
26
+
27
+
If you don't want to use `phpstan/extension-installer`, include extension.neon in your project's PHPStan config:
0 commit comments