Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@janedbal janedbal released this 15 May 08:33
· 1 commit to master since this release
af1a026

Breaking changes:

  • forbidAssignmentNotMatchingVarDoc: removed as there is better native replacement when bleedingEdge is enabled (#238)
  • allowNamedArgumentOnlyInAttributes: removed as it was highly opinionated and did not provide any extra strictness (#238)
  • forbidCheckedExceptionInCallable: removed config immediatelyCalledCallables (we now respect native @param-immediately-invoked-callable, see docs) (#240)
  • forbidReturnValueInYieldingMethod: option reportRegardlessOfReturnType is now true by default

Improvements

  • All rules accepting classnames in its config checks class existence

Dependencies

  • phpstan/phpstan now requires at least 1.11.0 (was 1.10.51)
    • 1.11.0 comes with error identifiers (which we support since 2.10.0)