phpstan-drupal
phpstan-drupal copied to clipboard
Extension for PHPStan to allow analysis of Drupal code.
# Feature request Test against PHP 8.3 https://www.php.net/releases/8.3/en.php
# Feature request If a site has written custom Drush commands using Drush 11 or lower, and they update to Drush 12, the drush.services.yml files are now deprecated as per...
This is a follow-up issue of https://github.com/mglaman/phpstan-drupal/issues/486. As discussed there, we should replicate the AccessDeprecatedConstant rule to track known deprecated global drush constants. See https://github.com/mglaman/phpstan-drupal/blob/main/src/Rules/Deprecations/AccessDeprecatedConstant.php for the model class.
# Feature request Torn between a bug report or a feature request, but the latter sounds more friendly... After the excellent work #592 landed in 1.1.37, we looked at dropping...
The original test fixture structure was created in April 2019. A lot has changed since then. It'd be great to move items out of `tests/fixtures/drupal/modules/phpstan_fixtures` and into respective `tests/src/**/data/**` test...
Fixes #693
Resolves #561
This helps in cases when PHPStan is called outside of the main website location.
Drupal 9 is going away. It can remain in the test run, but should be considered the edge case and no longer the default.
# Feature request Various hacks are needed if `drupal/core` is in the vendor directory. The `drupal-finder` package doesn't support this (and probably shouldn't.) But we can in the autoloader: https://github.com/mglaman/phpstan-drupal/blob/main/src/Drupal/DrupalAutoloader.php#L60-L69...