4.27.0
What's Changed
Features
- added truthy-string alias for non-falsy-string by @staabm in #8400
- added SensitiveParameter, AllowDynamicProperties php 8.2 attributes by @staabm in #8427
- Allow *bin2hex and *bin2base64 functions to keep non-empty-string type by @LeSuisse in #8431
- Allow any attribute for complex types in schema by @den-kuz in #8428
- trim(), ltrim(), rtrim() now keep lowercase string attribute by @SCIF in #8444
Fixes
- Added better stubs for
DateTimeImmutable
, highlighting how the constructor is NOT immutable by @Ocramius in #8350 - Use classlike_storage_provider only if it has the required data by @Daeroni in #8376
- Fix
imageinterlace
function signature by @paulfedorow in #8403 - Clarification of
Reflection::getModifierNames()
result type by @vjik in #8405 - Ensure we recognize inherited static methods for the first-class callables by @someniatko in #8370
- Add support for callable in array_reduce by @VincentLanglet in #8435
- Configure a correct attribute target in stubs/CoreGenericClasses.phpstub by @TimWolla in #8436
Internal changes
Typos
- add ", but" for InvalidArgument error message where a type is provided by @kkmuffme in #8364
- Fix doc typos by @krsriq in #8424
New Contributors
Full Changelog: 4.26.0...4.27.0