Skip to content

Commit

Permalink
Merge pull request #311 from wunderio/feature/phpstan-update
Browse files Browse the repository at this point in the history
Ignore 'Unsafe usage of new static()' warning with PHPStan's analysis level
  • Loading branch information
tormi authored Aug 25, 2022
2 parents cf70ecd + 52d8f52 commit 17e103c
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 17e103c

Please sign in to comment.