Skip to content

6.7.0

Choose a tag to compare

@bwg bwg released this 17 Feb 21:10
· 0 commits to 5.x since this release

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 vimeo#11283
  • Enable missing #[Override] attribute detection (automatic Psalter fixer available) by @danog in vimeo#11283
  • Enable strict binary operand comparison checks (useful for strict_types migration) by @danog in vimeo#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 vimeo#11283
  • Disable dangerous @psalm-suppress all annotation (may be re-enabled manually with the disableSuppressAll config) by @danog in vimeo#11283
  • Types in lazy objects by @BenMorel in vimeo#11296

Fixes

Internal changes

New Contributors

Full Changelog: vimeo/psalm@6.6.2...6.7.0