What's Changed
Features
- Analyse property hook bodies by @orklah in #13911
- Add markAllNonInternalCodeAsApi for libraries, and make the code a project doesn't ship internal by @danog in #13939
Fixes
- Don't add literals computed from what a loop changes by @orklah in #13902
- Keep the narrowing of a boolean flag after a condition on the same array offset by @orklah in #13905
- Fix false PossiblyUndefinedArrayOffset after a loop that breaks on isset() by @orklah in #13903
- Run the taint handlers psalm registers in the invalid taint cases too by @danog in #13653
- Don't report what die, exit and unpacked arguments of printf() and the like print from CLI code by @danog in #13652
- Add the implicit null to the inferred type of closures falling off their end by @orklah in #13910
- Fix false PossiblyUndefinedVariable after a loop for a variable assigned before every continue by @orklah in #13906
Full Changelog: 7.7.0...7.8.0