-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from localgovdrupal/4.x
4.0.0-beta1 release
- Loading branch information
Showing
5 changed files
with
26 additions
and
18 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
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
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
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
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,9 +1,13 @@ | ||
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.#' | ||
# we don't set a level so that we check deprecations only, and | ||
# not to highlight unknown classes which are from composer suggestions. | ||
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.#' | ||
# new static() is a best practice in Drupal, so we cannot fix that. | ||
- '#^Unsafe usage of new static#' |