Extension for PHPStan to allow analysis of Drupal code.
MIT License
Bot releases are hidden (Show)
Published by mglaman over 3 years ago
Use PHPUnit\Framework\Test interface instead of TestCase class [#160]
Published by mglaman almost 4 years ago
Releases PHPStan ^0.12.64, which includes a fix in PHP-Parser for optional attributes in traits.
See https://github.com/mglaman/phpstan-drupal/issues/152 for details.
Published by mglaman about 4 years ago
Published by mglaman about 4 years ago
#128 Adds a rule that fixes loading modules via \Drupal\Core\Extension\ModuleHandlerInterface::loadInclude
, which are normally skipped (as PHPStan only handles require
, etc.)
Published by mglaman over 4 years ago
Fix #129 for phpstan 0.12.26.
Fix #125, #112
Published by mglaman over 4 years ago
Fix for "Move deprecation of REQUEST_TIME to Drupal 10", https://www.drupal.org/node/3113284
Published by mglaman over 4 years ago
#106: Fix default drupal.drupal_root
parameter value
#107: PHPUnit tests run at PHPStan config level 4
#110: Fix type union for app.root
#111: Fix autoloading theme-settings.php files
Published by mglaman almost 5 years ago
Use the %currentWorkingDirectory%
container parameter to default the location detection of Drupal for the drupal.drupal_root
parameter, fixing #104
Published by mglaman almost 5 years ago
phpstan:^0.12.0 support
Published by mglaman almost 5 years ago
Published by mglaman almost 5 years ago
Published by mglaman almost 5 years ago
Drupal 8.8 build test analysis support
Published by mglaman almost 5 years ago
Drupal 8.8 support
Published by mglaman over 5 years ago
Support phpstan/extension-installer, thanks @drupol!
Published by mglaman over 5 years ago
Published by mglaman over 5 years ago
Published by mglaman over 5 years ago
Gracefully handle ContainerNotInitializedException errors or other errors when loading the following files for an extension:
.theme
, .module
, .profile
.install
.post_update.php
*.inc
Published by mglaman over 5 years ago
Published by mglaman over 5 years ago
Fix autoloading of test base classes (#60)
Published by mglaman over 5 years ago
drupal_root
parameter support