What's Changed
Features
- [6.x] Support the PHP 8.5
#[\NoDiscard]attribute by @alies-dev in #11892
Fixes
- Fix the MongoDB\Driver\Manager stub binding Cursor with two type parameters by @danog in #11970
- Fix closure param type inference by @danog in #11972
- Don't mint a type variable for a purely-mixed construction inference by @danog in #11973
- Add the PHP 8.5
tracekey toerror_get_last()by @janedbal in #11975 - Fix/type variable union return equality by @danog in #11980
Internal changes
Other changes
- [6.x] Substitute
selfin@propertytype tokens at scan time by @alies-dev in #11846 - Resolve leaked type variables at property-fetch receivers by @danog in #11976
- Resolve nested type variables to a fixpoint by @danog in #11977
- Resolve leaked type variables when casting to string by @danog in #11978
New Contributors
Full Changelog: 7.0.0-beta21...7.0.0-beta22