What's Changed
Features
- Add missing ZipArchive methods to CallMap (PHP 8.2) by @lptn in #8869
- Add libxml_get_external_entity_loader to CallMap (PHP 8.2) by @lptn in #8871
- Allow
true
in native types by @weirdan in #8875 - Add some missing sodium functions to CallMap by @lptn in #8870
- Forbid most magic methods on enums by @weirdan in #8890
Fixes
- Fix crash when using phantom methods as first-class callable by @weirdan in #8814
- Don't crash when accessing immutable static property by @weirdan in #8816
- Prevent crashes on conditional traits by @weirdan in #8817
- Update dictionaries: use more specific boolean types by @lptn in #8823
- Fix return types for date functions in callmap by @othercorey in #8825
- Improve source autodiscovery failure message by @weirdan in #8827
- fix missing break handling in loop by @orklah in #8828
- capitalize properties by @orklah in #8831
- mysqli_execute_query accepts any type of param by @kamil-tekiela in #8832
- Fix parsing of class string of unions by @danog in #8834
- Extend impure_functions list by socket functions by @lptn in #8835
- Allowed taints to pass through urlencode() by @mmcev106 in #8848
- Precise count range by @VincentLanglet in #8861
- Fixed dynamic property on LanguageServer by @weirdan in #8876
- remove file_get_contents that was incorrectly put in v5 by @kkmuffme in #8854
- Prevent duplicate (Possibly)UnusedMethod/(Possibly)UnusedProperty by @weirdan in #8883
Internal changes
- Bump fkirc/skip-duplicate-actions from 4.0.0 to 5.3.0 by @dependabot in #8837
- Integrate FidryCpuCoreCounter by @theofidry in #8833
- Upgrade CpuCoreCounter by @theofidry in #8882
Typos
New Contributors
Full Changelog: 5.1.0...5.2.0