Skip to content

Commit

Permalink
ci: fix phpstan
Browse files Browse the repository at this point in the history
- ignore new static()
  • Loading branch information
millnut committed Sep 26, 2023
1 parent f0e8937 commit a2b3707
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ parameters:
- '#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#'

0 comments on commit a2b3707

Please sign in to comment.