1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

document some BC breaks introduced in #7409

This commit is contained in:
orklah 2022-01-26 19:37:10 +01:00
parent bf22dcf7ed
commit efe9c2bc6d

View File

@ -148,6 +148,10 @@
- `Psalm\Plugin\EventHandler\Event\PropertyTypeProviderEvent`
- `Psalm\Plugin\EventHandler\Event\PropertyVisibilityProviderEvent`
- `Psalm\Plugin\EventHandler\Event\StringInterpreterEvent`
- [BC] Atomic::__toString() used to return a string representation of the type that was using double quotes (") to quote literals. This is now using simple quotes (') to be more aligned with the rest of the codebase.
- [BC] Atomic::__toString() is now final
- [BC] Atomic::__toString() now returns a more detailed version of the type (it calls getId() under the hood)
- [BC] Atomic::getId() has now a first param $exact. Calling the method with false will return a less detailed version of the type in some cases (similarly to what __toString used to return)
## Removed
- [BC] Property `Psalm\Codebase::$php_major_version` was removed, use