Repository navigation
What's Changed
Features
- Report what Symfony HttpClient responses hold as input, and the URLs it requests as SSRF sinks by @danog in #14950
- feat(strings): strtolower() and strtoupper() of literal strings are literal strings by @jirkace in #14628
Fixes
- Keep the builtin flags of a namespace known when a library defines constants by a variable name by @danog in #14949
- fix(assertions): apply @psalm-assert-if-* of a remembered call compared with a bool by @jirkace in #14605
- fix(arrays): isset() on a sealed array compares a template offset with the keys through its bound by @jirkace in #14603
- fix(assertions): a compound assignment in a condition narrows the variable it assigns by @jirkace in #14532
- fix(reconciliation): a list asserted on a non-empty array is a non-empty list, not impossible by @jirkace in #14609
- fix(types): a callable-object is not an object shape or a callable-object of another signature by @MikeFTV in #14929
- [7.x] Fix: Check a constructed template against its siblings' constraints by @jarstelfox in #12443
Internal changes
- Don't put the methods of anonymous classes in the generated callmaps by @danog in #14952
- test: regression tests for four issues fixed on master by @jirkace in #14523
- [7.x] Cut linking generator sends in taint resolution ~40% (17 s to 10 s) by skipping nodes no generator flows into by @jarstelfox in #13504
- [7.x] Report taint flows after the resolution's fixed point: resolution 28.9s → 15.5s by @jarstelfox in #13539
Full Changelog: 7.20.0...7.21.0