diff --git a/phpstan.neon b/phpstan.neon index a703088a..553af63b 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -9,6 +9,7 @@ parameters: - '#Plugin definitions cannot be altered.#' - '#Missing cache backend declaration for performance.#' - '#Plugin manager has cache backend specified but does not declare cache tags.#' + - '#Unsafe usage of new static\(\)#' includes: - %currentWorkingDirectory%/vendor/mglaman/phpstan-drupal/extension.neon - %currentWorkingDirectory%/vendor/phpstan/phpstan-deprecation-rules/rules.neon