What's Changed
Features
- Add new
allowBoolToLiteralBoolComparison
config (disabled by default), used to control emission ofRedundantIdentityWithTrue
issues (previously, their emission was controlled by thestrictBinaryOperands
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
- Fix parameter name in SplObjectStorage by @kamil-tekiela in #11134
- Fix empty compact report if baseline file is used by @andrey-tech in #11111
Internal changes
- Expose Progress instance to plugins by @danog in #11297
- Change PluginEntryPointInterface to take a PluginRegistrationSocket @danog in #11298
New Contributors
- @andrey-tech made their first contribution in #11111
Full Changelog: 6.6.2...6.7.0