Extension for PHPStan to allow analysis of Drupal code.
MIT License
Bot releases are visible (Hide)
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.2.9...1.2.10
Published by mglaman 7 months ago
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.2.8...1.2.9
Published by mglaman 7 months ago
Enable these rules by turning them on in your phpstan.neon
:
parameters:
drupal:
dependencySerializationTraitPropertyRule: true
accessResultConditionRule: true
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.2.7...1.2.8
Published by mglaman 8 months ago
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.2.6...1.2.7
Published by mglaman 9 months ago
PHPStan requirement has been bumped to 1.10.56 for accessing the function stack with parameters from the analyzer scope, enabling a DeprecationHelper deprecated scope resolver.
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.2.5...1.2.6
Published by mglaman 9 months ago
The phpstan-drupal playground code has been moved to https://github.com/mglaman/phpstan-drupal-playground/
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.2.4...1.2.5
Published by mglaman 11 months ago
The deprecated hook implementation rule (https://github.com/mglaman/phpstan-drupal/pull/634) is now behind a bleeding edge flag, resolving errors users experienced with the last release.
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.2.3...1.2.4
Published by mglaman 11 months ago
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.2.2...1.2.3
Published by mglaman 12 months ago
This patch release fixes some issues caused by service decoration support (https://github.com/mglaman/phpstan-drupal/pull/615)
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.2.1...1.2.2
Published by mglaman 12 months ago
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.2.0...1.2.1
Published by mglaman about 1 year ago
Adds phpstan/phpstan-deprecation-rules
as a direct dependency and minimum version of 1.1.4. This allows ignoring deprecation warnings inside PHPUnit tests using @group legacy
for the Symfony PHPUnit Bridge.
@group legacy
deprecated scope resolver by @mglaman in https://github.com/mglaman/phpstan-drupal/pull/595
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.1.37...1.2.0
Published by mglaman about 1 year ago
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.1.36...1.1.37
Published by mglaman over 1 year ago
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.1.35...1.1.36
Published by mglaman over 1 year ago
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.1.34...1.1.35
Published by mglaman over 1 year ago
This release fixes EntityFieldReflection
from causing stub files with @property
annotations on entity type classes from being ignored!
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.1.33...1.1.34
Published by mglaman over 1 year ago
set-output
commands by @Boegie in https://github.com/mglaman/phpstan-drupal/pull/567
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.1.32...1.1.33
Published by mglaman over 1 year ago
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.1.31...1.1.32
Published by mglaman over 1 year ago
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.1.30...1.1.31
Published by mglaman over 1 year ago
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.1.29...1.1.30
Published by mglaman over 1 year ago
Full Changelog: https://github.com/mglaman/phpstan-drupal/compare/1.1.28...1.1.29