github vimeo/psalm 6.7.0

latest releases: 6.8.6, 6.8.5, 6.8.4...
5 days ago

What's Changed

Features

  • Add new allowBoolToLiteralBoolComparison config (disabled by default), used to control emission of RedundantIdentityWithTrue issues (previously, their emission was controlled by the strictBinaryOperands config) by @danog in #11283
  • Enable missing #[Override] attribute detection (automatic Psalter fixer available) by @danog in #11283
  • Enable strict binary operand comparison checks (useful for strict_types migration) by @danog in #11283
  • Seal all class properties and methods: this enforces exact description of all class magic (__get/__call...) methods and properties with @method or @property, see here for more info by @danog in #11283
  • Disable dangerous @psalm-suppress all annotation (may be re-enabled manually with the disableSuppressAll config) by @danog in #11283
  • Types in lazy objects by @BenMorel in #11296

Fixes

Internal changes

  • Expose Progress instance to plugins by @danog in #11297
  • Change PluginEntryPointInterface to take a PluginRegistrationSocket @danog in #11298

New Contributors

Full Changelog: 6.6.2...6.7.0

Don't miss a new psalm release

NewReleases is sending notifications on new releases.