feat: add Drupal LocalGov example
This commit is contained in:
commit
17c5703d29
19 changed files with 1800 additions and 0 deletions
12
phpstan.neon
Normal file
12
phpstan.neon
Normal 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
|
||||
Reference in a new issue