Skip to content

Commit

Permalink
Ignore 'Unsafe usage of new static()' warning with PHPStan's analysis…
Browse files Browse the repository at this point in the history
… level
  • Loading branch information
mitrpaka committed Aug 25, 2022
1 parent cf70ecd commit 52d8f52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 52d8f52

Please sign in to comment.