What's Changed
Features
Fixes
- Fix #10552 by @danog in #10572
- Unit test improvements for php-parser 5 by @edsrzf in #10574
- Fix template replacement edge case by @klimick in #10586
- Switch condition order by @edsrzf in #10594
- Partial revert "Fix auto completion by partial property or method" by @issidorov in #10588
- [LSP] Add issue type in description by @weirdan in #10607
- Do not validate callable arguments in lenient contexts by @weirdan in #10601
readgzfile()
is impure by @weirdan in #10600- Allow properties on intersections with enum interfaces by @weirdan in #10599
key_exists()
is an alias forarray_key_exists()
by @weirdan in #10598- Fix language server running with
opcache.save_comments=0
by @weirdan in #10614 - Report
MissingConstructor
for natively typed mixed properties by @weirdan in #10615
Internal changes
- Bump actions/cache from 3 to 4 by @dependabot in #10584
- Baseline update by @jorgsowa in #10593
- Re-work CheckTrivialExprVisitor by @edsrzf in #10612
- Minor php-parser tweaks by @edsrzf in #10605
New Contributors
Full Changelog: 5.20.0...5.21.0