Skip to content

Commit 2ac04e7

Browse files
authored
Readme: comment versions vs usages (#18)
1 parent 0b60660 commit 2ac04e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ composer require --dev shipmonk/phpstan-baseline-per-identifier
3232

3333
## Usage
3434

35+
> [!IMPORTANT]
36+
> _This usage is available since version 2.0. See legacy usage below if you are still using PHPStan 1.x_
37+
3538
Setup baselines loader, other files will be placed beside that file:
3639
```neon
3740
# phpstan.neon.dist
@@ -59,6 +62,8 @@ _(optional)_ You can simplify generation with e.g. composer script:
5962
<details>
6063
<summary><h3>Legacy usage</h3></summary>
6164

65+
> _This usage is deprecated since 2.0, but it works in all versions. Downside is that it cannot utilize result cache_
66+
6267
Setup where your baseline files should be stored and include its loader:
6368
```neon
6469
# phpstan.neon.dist

0 commit comments

Comments
 (0)