packagist vimeo/psalm 4.27.0

latest releases: 5.x-dev, dev-master, dev-isTypeContainedByType_flags...
20 months ago

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

  • always use lock when writing/reading cache data to/from file by @kkmuffme in #8372

Typos

New Contributors

Full Changelog: 4.26.0...4.27.0

Don't miss a new psalm release

NewReleases is sending notifications on new releases.