4.28.0
What's Changed
Features
- Make ctype_digit and ctype_lower work as assertions by @fluffycondor in #8450
- report invalidCasing when using a class that is not user defined too by @kkmuffme in #8465
- Update call maps for MongoDB extension by @alcaeus in #8432
- Add dateTimeModify return type provider by @VincentLanglet in #8462
- make superglobals more specific by @kkmuffme in #8473
- Fix invalid casts int and float by @kkmuffme in #8366
- add hideAllErrorsExceptPassedFiles config option by @kkmuffme in #8502
- Add int type aliases based on existing codes by @hamburnyog in #8530
- Add check for class const with reserved word 'class' by @gphargreaves in #8542
Fixes
- Fix ctype_digit assertion bug by @fluffycondor in #8466
- partial revert nullable type for curl_multi_getcontent by @kkmuffme in #8367
- classlike_alias incorrect casing not handled correctly by @kkmuffme in #8468
- Update phpredis.phpstub by @sergkash7 in #8136
date_get_last_errors()
,DateTime::getLastErrors()
may return false by @gsteel in #8478- Fix array_key_exists first argument false positive by @hirokinoue in #8489
- Fix array_column with object and column name null by @HypeMC in #8491
- Add null-type to several DOM-functions by @tvdijen in #8490
- Make Psalter add
@throws
annotation with properly namespaced exception by @d-claassen in #8480 - use cache for declared function when available before falling back to stubs by @kkmuffme in #8503
- fix crash in <PHP8 with ResourceBundle by @kkmuffme in #8416
- Fixed function signatures of imap_delete and imap_undelete by @ppdeblieck in #8537
Docs
- Document the object with properties syntax by @HypeMC in #8493
- Make template constraints examples in docs consistent by @HypeMC in #8492
Internal changes
- GitHub Workflows security hardening by @sashashura in #8451
- preg_replace with anchor will always only have 1 replacement by @kkmuffme in #8469
- Consistent error logging for cache by @kkmuffme in #8415
New Contributors
- @sashashura made their first contribution in #8451
- @alcaeus made their first contribution in #8432
- @sergkash7 made their first contribution in #8136
- @gsteel made their first contribution in #8478
- @HypeMC made their first contribution in #8493
- @d-claassen made their first contribution in #8480
- @hamburnyog made their first contribution in #8530
- @ppdeblieck made their first contribution in #8537
- @gphargreaves made their first contribution in #8542
Full Changelog: 4.27.0...4.28.0