Skip to content

1.4.0

Latest
Compare
Choose a tag to compare
@mglaman mglaman released this 29 Apr 02:28
· 12 commits to main since this release
e78eff7

This forces PHPStan to run at configuration level 2.

What does this do?

  • basic checks, unknown classes, unknown functions, unknown methods called on $this, wrong number of arguments passed to those methods and functions, always undefined variables
  • possibly undefined variables, unknown magic methods and properties on classes with __call and __get
  • unknown methods checked on all expressions (not just $this), validating PHPDocs

Basically, it ensures code is calling actual methods and properties. This is important as it ensures code is correctly analyzed for finding deprecations.

What's Changed

  • Bump PHPStan to level 2 when doing deprecations by @mglaman in #267

Full Changelog: 1.3.2...1.4.0