packagist mglaman/drupal-check 1.4.0

latest releases: dev-dependabot/composer/squizlabs/php_codesniffer-3.10.3, dev-dependabot/composer/phpstan/phpstan-deprecation-rules-1.2.1, dev-dependabot/composer/jean85/pretty-package-versions-2.0.6...
2 years ago

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

Don't miss a new drupal-check release

NewReleases is sending notifications on new releases.