Skip to content

Commit c0a430c

Browse files
committed
Upgrading note
1 parent c8b7ea9 commit c0a430c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UPGRADING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ After changing your `composer.json`, run `composer update 'phpstan/*' -W`.
3636

3737
It's up to you whether you go through the new reported errors or if you just put them all to the [baseline](https://phpstan.org/user-guide/baseline) ;) Everyone who's on PHPStan 1.12 should be able to upgrade to PHPStan 2.0.
3838

39+
### Noteworthy changes to code analysis
40+
41+
* [**Enhancements in handling parameters passed by reference**](https://phpstan.org/blog/enhancements-in-handling-parameters-passed-by-reference)
42+
* [**Validate inline PHPDoc `@var` tag type**](https://phpstan.org/blog/phpstan-1-10-comes-with-lie-detector#validate-inline-phpdoc-%40var-tag-type)
43+
* **Always `true` conditions always reported**: previously reported only with phpstan-strict-rules, this is now always reported.
44+
3945
### Removed option `checkMissingIterableValueType`
4046

4147
It's strongly recommended to add the missing array typehints.

0 commit comments

Comments
 (0)