Skip to content

Releases: mglaman/drupal-check

1.5.0

14 Aug 21:40
4011f1f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.4.0...1.5.0

1.4.0

29 Apr 02:28
e78eff7
Compare
Choose a tag to compare

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

29 Apr 01:52
Compare
Choose a tag to compare
  • Add option to set phpVersion to 80100 on PHP 7.4 #272
  • Use stderr for maintainer sponsorship messages #270

1.3.1

03 Mar 21:39
0d812c4
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.3.0...1.3.1

1.3.0

02 Feb 23:01
8eac52f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.2.1...1.3.0

1.2.1

15 Nov 15:22
Compare
Choose a tag to compare
  • Do not add includes if phpstan/extension-installer exists
  • Check if Drupal was located before calling realpath

1.2.0

01 Nov 16:02
d2e57a7
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.1.10...1.2.0

1.1.10

22 Jul 03:53
b7bcfb2
Compare
Choose a tag to compare

Properly updates composer.json for latest phpstan-drupal. Follow up to #233

1.1.9

20 Jul 04:08
7b6c618
Compare
Choose a tag to compare

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

1.1.8

17 Mar 21:37
5854972
Compare
Choose a tag to compare
  • 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: