Skip to content

Commit f5b1a45

Browse files
committed
Installation instructions
1 parent 4991f75 commit f5b1a45

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,24 @@
44
[![Latest Stable Version](https://poser.pugx.org/phpstan/phpstan-deprecation-rules/v/stable)](https://packagist.org/packages/phpstan/phpstan-deprecation-rules)
55
[![License](https://poser.pugx.org/phpstan/phpstan-deprecation-rules/license)](https://packagist.org/packages/phpstan/phpstan-deprecation-rules)
66

7-
## Usage
87

9-
To use these rules, require it in [Composer](https://getcomposer.org/):
8+
## Installation
9+
10+
To use this extension, require it in [Composer](https://getcomposer.org/):
1011

1112
```
1213
composer require --dev phpstan/phpstan-deprecation-rules
1314
```
1415

15-
And include rules.neon in your project's PHPStan config:
16+
If you also install [phpstan/extension-installer](https://github.com/phpstan/extension-installer) then you're all set!
17+
18+
<details>
19+
<summary>Manual installation</summary>
20+
21+
If you don't want to use `phpstan/extension-installer`, include rules.neon in your project's PHPStan config:
1622

1723
```
1824
includes:
19-
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
25+
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
2026
```
27+
</details>

0 commit comments

Comments
 (0)