You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
666B

  1. parameters:
  2. drupal:
  3. drupal_root: %currentWorkingDirectory%/docroot
  4. customRulesetUsed: true
  5. reportUnmatchedIgnoredErrors: false
  6. # Ignore phpstan-drupal extension's rules.
  7. ignoreErrors:
  8. - '#\Drupal calls should be avoided in classes, use dependency injection instead#'
  9. - '#Plugin definitions cannot be altered.#'
  10. - '#Missing cache backend declaration for performance.#'
  11. - '#Plugin manager has cache backend specified but does not declare cache tags.#'
  12. autoload_files:
  13. - docroot/modules/contrib/token/token.module
  14. includes:
  15. - ./vendor/mglaman/phpstan-drupal/extension.neon
  16. - ./vendor/phpstan/phpstan-deprecation-rules/rules.neon