-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BIP-27 #16 | Move actual phpstan config to "conventions", distfiles s…
…hould "include" only.
- Loading branch information
Showing
2 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,2 @@ | ||
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 | ||
- vendor/brainsum/drupal-dev-tools/distfiles/phpstan.neon |