What's Changed
Deprecations
Features
- Resolve DIR / FILE when const/variable is used for include by @tomasz-kusy in #7585
- add ReflectionIntersectionType stub by @orklah in #7621
- Allow config to define thread count (4.x) by @M1ke in #7633
- add phpredis stubs by @kkmuffme in #7614
- Add configuration option to disable @var parsing everywhere except for properties. by @danog in #7434
Fixes
- Strip colours from success message by @weirdan in #7620
- Honour global function suppressions for UndefinedFunction by @weirdan in #7657
- Update return type for mysqli::connect_error by @morozov in #7660
- Correct name of ErrorException::__construct $line param by @chloekek in #7659
- Fix false positive for unused variable in try (fixes #7613). by @AndrolGenhald in #7664
- Throw exception if file_put_contents failed by @dmitryuk in #7690
New Contributors
- @tomasz-kusy made their first contribution in #7585
- @kkmuffme made their first contribution in #7614
- @chloekek made their first contribution in #7659
- @dmitryuk made their first contribution in #7690
Full Changelog: 4.20.0...4.21.0