phpstan-drupal

Extension for PHPStan to allow analysis of Drupal code.

MIT License

Downloads
17.5M
Stars
181
Committers
56

Bot releases are visible (Hide)

phpstan-drupal - 0.12.8

Published by mglaman over 3 years ago

Use PHPUnit\Framework\Test interface instead of TestCase class [#160]

phpstan-drupal - 0.12.7

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.

phpstan-drupal - 0.12.6

Published by mglaman about 4 years ago

  • Update list of deprecated Drupal constants
  • Allow \Drupal calls in traits and tests
  • Fix autoloading of PhpunitCompatibilityTrait (#145)
phpstan-drupal - 0.12.5

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.)

phpstan-drupal - 0.12.4

Published by mglaman over 4 years ago

Fix #129 for phpstan 0.12.26.
Fix #125, #112

phpstan-drupal - 0.12.3

Published by mglaman over 4 years ago

Fix for "Move deprecation of REQUEST_TIME to Drupal 10", https://www.drupal.org/node/3113284

phpstan-drupal - 0.12.2

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

phpstan-drupal - 0.12.1

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

phpstan-drupal - 0.12.0

Published by mglaman almost 5 years ago

phpstan:^0.12.0 support

phpstan-drupal - 0.11.14

Published by mglaman almost 5 years ago

  • @goba added all deprecated constants for detection!
phpstan-drupal - 0.11.13

Published by mglaman almost 5 years ago

phpstan-drupal - 0.11.12

Published by mglaman almost 5 years ago

Drupal 8.8 build test analysis support

phpstan-drupal - 0.11.11

Published by mglaman almost 5 years ago

Drupal 8.8 support

phpstan-drupal - 0.11.10

Published by mglaman over 5 years ago

Support phpstan/extension-installer, thanks @drupol!

phpstan-drupal - 0.11.9

Published by mglaman over 5 years ago

  • Fix double loading of files which broke upgrade_status
phpstan-drupal - 0.11.8

Published by mglaman over 5 years ago

  • Add compatibility for Drush 8.x version
  • Remove conflicts against nette/di ^3.0 (#73)
phpstan-drupal - 0.11.7

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
phpstan-drupal - 0.11.6

Published by mglaman over 5 years ago

  • Entities: Allow FieldItemList access through magic __get/__set methods (#27)
  • Drush functions autoloading (#65)
  • Fix config level and fix DRUPAL_TEST_IN_CHILD_SITE constant
phpstan-drupal - 0.11.5

Published by mglaman over 5 years ago

Fix autoloading of test base classes (#60)

phpstan-drupal - 0.11.4

Published by mglaman over 5 years ago

  • Add drupal_root parameter support
  • Load .install files
  • Stabilize the extension