Releases: mglaman/drupal-check
Releases · mglaman/drupal-check
1.4.0
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
1.3.2
- Add option to set phpVersion to 80100 on PHP 7.4 #272
- Use stderr for maintainer sponsorship messages #270
1.2.1
- Do not add includes if phpstan/extension-installer exists
- Check if Drupal was located before calling realpath
1.1.10
Properly updates composer.json
for latest phpstan-drupal. Follow up to #233
1.1.9
Error: Configuration parameters excludes_analyse and excludePaths cannot be used at the same time #233
1.1.8
- 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
Updates mglaman/phpstan-drupal
for bugfix #206