Skip to content

Commit a09cae7

Browse files
committed
Upgrading note
1 parent 2d623e4 commit a09cae7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UPGRADING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ PHPStan now requires PHP 7.4 or newer to run.
1212
The best way do get ready for upgrade to PHPStan 2.0 is to update to the **latest PHPStan 1.12 release**
1313
and enable [**Bleeding Edge**](https://phpstan.org/blog/what-is-bleeding-edge). This will enable the new rules and behaviours that 2.0 turns on for all users.
1414

15+
Also make sure to install and enable [`phpstan/phpstan-deprecation-rules`](https://github.com/phpstan/phpstan-deprecation-rules).
16+
1517
Once you get to a green build with no deprecations showed on latest PHPStan 1.12.x with Bleeding Edge enabled, you can update all your related PHPStan dependencies to 2.0 in `composer.json`:
1618

1719
```json

0 commit comments

Comments
 (0)