feat: add Drupal LocalGov example

This commit is contained in:
Oliver Davies 2023-03-03 19:36:19 +00:00
commit 17c5703d29
19 changed files with 1800 additions and 0 deletions

12
phpstan.neon Normal file
View file

@ -0,0 +1,12 @@
parameters:
customRulesetUsed: true
reportUnmatchedIgnoredErrors: false
# Ignore phpstan-drupal extension's rules.
ignoreErrors:
- '#\Drupal calls should be avoided in classes, use dependency injection instead#'
- '#Plugin definitions cannot be altered.#'
- '#Missing cache backend declaration for performance.#'
- '#Plugin manager has cache backend specified but does not declare cache tags.#'
#includes:
# - vendor/mglaman/phpstan-drupal/extension.neon
# - vendor/phpstan/phpstan-deprecation-rules/rules.neon