Drupal Check Versions Save

Check Drupal code for deprecations and discover bugs via static analysis

1.4.0

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

Full Changelog: https://github.com/mglaman/drupal-check/compare/1.3.2...1.4.0

1.3.2

2 years ago
  • Add option to set phpVersion to 80100 on PHP 7.4 #272
  • Use stderr for maintainer sponsorship messages #270

1.3.1

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/mglaman/drupal-check/compare/1.3.0...1.3.1

1.3.0

2 years ago

What's Changed

Full Changelog: https://github.com/mglaman/drupal-check/compare/1.2.1...1.3.0

1.2.1

2 years ago
  • Do not add includes if phpstan/extension-installer exists
  • Check if Drupal was located before calling realpath

1.2.0

2 years ago

1.1.10

2 years ago

Properly updates composer.json for latest phpstan-drupal. Follow up to https://github.com/mglaman/drupal-check/issues/233

1.1.9

2 years ago

Error: Configuration parameters excludes_analyse and excludePaths cannot be used at the same time #233

1.1.8

3 years ago
  • Updates mglaman/phpstan-drupal to support PHP 8 and Drupal 9
  • Fixes optional dependency on phpstan/phpstan-deprecation-rules, now required
  • Allow PrettyVersion 2 #203

Thank you to my sponsors that make these releases possible:

1.1.7

3 years ago

Updates mglaman/phpstan-drupal for bugfix #206